blob: d7c66477c640367ea87b16eb12d7257e21536b3b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# Maximum number of time steps
max_step = 200
# number of grid points
amr.n_cell = 32 32
# The lo and hi ends of grids are multipliers of blocking factor
amr.blocking_factor = 16
# Maximum allowable size of each subdomain in the problem domain;
# this is used to decompose the domain for parallel calculations.
amr.max_grid_size = 64
# Maximum level in hierarchy (for now must be 0, i.e., one level in total)
amr.max_level = 0
warpx.fine_tag_lo = -0.8 -0.8
warpx.fine_tag_hi = 0.8 0.8
amr.plot_int = 1 # How often to write plotfiles. "<= 0" means no plotfiles.
warpx.plot_raw_fields = 1
warpx.plot_finepatch = 1
warpx.plot_crsepatch = 1
warpx.fields_to_plot = Ex Ey Ez Bx By Bz jx jy jz part_per_cell divE divB
# Geometry
geometry.coord_sys = 0 # 0: Cartesian
geometry.is_periodic = 0 0 0 # Is periodic?
geometry.prob_lo = -2.0 -2.0 # physical domain
geometry.prob_hi = 2.0 2.0
# PML
warpx.do_pml = 1
warpx.pml_ncell = 10
warpx.B_external_particle = 0.0 0.00078110417851950768 0.0
# Verbosity
warpx.verbose = 1
# Algorithms
# CFL
warpx.cfl = 1.0
# particles
particles.nspecies = 2
particles.species_names = electron positron
particles.nspecies = 1
particles.species_names = electron
electron.charge = -q_e
electron.mass = m_e
electron.injection_style = "SingleParticle"
electron.single_particle_pos = 0.0 0.0 -1.25
electron.single_particle_vel = -0.45825756949558416 0.0 0.0 # gamma*beta
positron.charge = q_e
positron.mass = m_e
positron.injection_style = "SingleParticle"
positron.single_particle_pos = 0.0 0.0 -1.25
positron.single_particle_vel = 0.45825756949558416 0.0 0.0 # gamma*beta
electron.single_particle_weight = 1.0e12
positron.single_particle_weight = 1.0e12
# interpolation
interpolation.nox = 3
interpolation.noy = 3
interpolation.noz = 3
# Moving window
warpx.do_moving_window = 0
warpx.do_dive_cleaning = 1
|