Skip to content

Commit

Permalink
👀
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipDeegan committed Sep 4, 2024
1 parent 648c401 commit e9bc35a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/amr/data/particles/initializer/test_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ using ParticleArrayT = ParticleArray<1>;
TEST(AParticleIinitializerFactory, takesAPHAREDictToCreateAParticleVectorInitializer)
{
PHARE::initializer::PHAREDict dict;
dict["name"] = std::string{"MaxwellianParticleInitializer"};
dict["name"] = std::string{"maxwellian"};
dict["fn_type"] = std::string{"vector"};
dict["density"] = static_cast<PHARE::initializer::InitFunction<1>>(density);
dict["bulk_velocity_x"] = static_cast<PHARE::initializer::InitFunction<1>>(vx);
Expand All @@ -40,9 +40,9 @@ TEST(AParticleIinitializerFactory, takesAPHAREDictToCreateAParticleVectorInitial
dict["thermal_velocity_y"] = static_cast<PHARE::initializer::InitFunction<1>>(vthy);
dict["thermal_velocity_z"] = static_cast<PHARE::initializer::InitFunction<1>>(vthz);

dict["charge"] = 1.;
dict["nbrPartPerCell"] = int{100};
dict["basis"] = std::string{"Cartesian"};
dict["charge"] = 1.;
dict["nbr_part_per_cell"] = int{100};
dict["basis"] = std::string{"cartesian"};

auto initializer
= PHARE::amr::ParticleInitializerFactory<ParticleArrayT, GridLayoutT>::create(dict);
Expand Down

0 comments on commit e9bc35a

Please sign in to comment.