Skip to content

Commit cf5d0bc

Browse files
committed
psc_shock: fix gamma of injected prts
1 parent 160e546 commit cf5d0bc

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/psc_shock.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -734,14 +734,15 @@ static void run(int argc, char** argv)
734734
ParticleGeneratorMaxwellian(
735735
KIND_ION, grid.kinds[KIND_ION],
736736
{v_upstream_x, v_upstream_y, v_upstream_z},
737-
{ion_temperature, ion_temperature, ion_temperature}),
737+
{ion_temperature, ion_temperature, ion_temperature}, true),
738738
grid);
739739
auto electron_injector =
740740
BoundaryInjector<ParticleGeneratorMaxwellian, PscConfig::PushParticles>(
741741
ParticleGeneratorMaxwellian(
742742
KIND_ELECTRON, grid.kinds[KIND_ELECTRON],
743743
{v_upstream_x, v_upstream_y, v_upstream_z},
744-
{electron_temperature, electron_temperature, electron_temperature}),
744+
{electron_temperature, electron_temperature, electron_temperature},
745+
true),
745746
grid);
746747

747748
// ----------------------------------------------------------------------

0 commit comments

Comments
 (0)