-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from PlasmaFAIR/fix-arrays-without-grids
Fix reading arrays without grids
- Loading branch information
Showing
6 changed files
with
159 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Test files | ||
|
||
These files were generated using EPOCH commit aafed39 and the | ||
`input.deck` here, which is modified from a run by Joel Adams. It is | ||
not intended to be physical. Run with: | ||
|
||
echo "." | mpirun -np 2 $EPOCH1D | ||
|
||
where `$EPOCH1D` is the path to the `epoch1d` executable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
begin:constant | ||
nel = 1e+23 | ||
intens = 2e+22 | ||
omega = 2.0 * pi * c / (1.0e-6) | ||
den_crit = critical(omega) | ||
scale = 1e-06 | ||
den_max = 5.0 * den_crit | ||
den_maxpoint = 4e-05 | ||
den_contrast = 1.0 | ||
amax = 1.0 | ||
end:constant | ||
|
||
begin:control | ||
nx = 8 | ||
nparticles = nx * 2 | ||
nsteps = 1 | ||
t_end = 2e-15 | ||
x_min = -1e-05 | ||
x_max = 1e-05 | ||
dt_multiplier = 0.8 | ||
end:control | ||
|
||
begin:qed | ||
use_qed = F | ||
qed_start_time = 0 | ||
produce_photons = F | ||
photon_energy_min = 50 * kev | ||
produce_pairs = F | ||
photon_dynamics = F | ||
end:qed | ||
|
||
begin:collisions | ||
use_collisions = T | ||
coulomb_log = auto | ||
collide = all | ||
end:collisions | ||
|
||
begin:boundaries | ||
bc_x_min = simple_laser | ||
bc_x_max = simple_laser | ||
end:boundaries | ||
|
||
begin:species | ||
name = Electron | ||
fraction = 0.5 | ||
dump = F | ||
temperature = 0 | ||
number_density = if (x gt 0e-6, nel * 1.0e6, 0) | ||
number_density_min = 1 | ||
identify:electron | ||
end:species | ||
|
||
begin:species | ||
name = Ion | ||
fraction = 0.5 | ||
dump = F | ||
number_density = number_density(Electron) | ||
temperature = temperature_x(Electron) | ||
number_density_min = 1 | ||
identify:proton | ||
end:species | ||
|
||
begin:species | ||
name = Photon | ||
nparticles = 0 | ||
dump = F | ||
identify:photon | ||
end:species | ||
|
||
begin:output_global | ||
force_final_to_be_restartable = T | ||
end:output_global | ||
|
||
begin:output | ||
name = normal | ||
use_offset_grid = F | ||
dt_snapshot = 5e-15 | ||
particles = never | ||
px = never | ||
py = never | ||
pz = never | ||
vx = never | ||
vy = never | ||
vz = never | ||
charge = never | ||
mass = never | ||
particle_weight = never | ||
species_id = never | ||
grid = always | ||
ex = never | ||
ey = never | ||
ez = never | ||
bx = never | ||
by = never | ||
bz = never | ||
jx = never | ||
jy = never | ||
jz = never | ||
average_particle_energy = always + species | ||
mass_density = never + species | ||
charge_density = never | ||
number_density = never + species | ||
temperature = never + species | ||
distribution_functions = always | ||
particle_probes = never | ||
absorption = always | ||
total_energy_sum = always + species | ||
end:output | ||
|
||
begin:laser | ||
boundary = x_min | ||
intensity = intens * 1.0e4 | ||
omega = omega | ||
polarisation = 0.0 | ||
phase = 0.0 | ||
t_profile = gauss(time, 40.0e-15, 30.0e-15) | ||
t_start = 0.0 | ||
t_end = end | ||
end:laser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters