aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/MultiParticleContainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/MultiParticleContainer.cpp')
-rw-r--r--Source/Particles/MultiParticleContainer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Particles/MultiParticleContainer.cpp b/Source/Particles/MultiParticleContainer.cpp
index 213cdc782..c1b462168 100644
--- a/Source/Particles/MultiParticleContainer.cpp
+++ b/Source/Particles/MultiParticleContainer.cpp
@@ -184,11 +184,11 @@ MultiParticleContainer::ReadParameters ()
str_Bz_ext_particle_function);
// Parser for B_external on the particle
- m_Bx_particle_parser = std::make_unique<ParserWrapper<4>>(
+ m_Bx_particle_parser = std::make_unique<amrex::Parser>(
makeParser(str_Bx_ext_particle_function,{"x","y","z","t"}));
- m_By_particle_parser = std::make_unique<ParserWrapper<4>>(
+ m_By_particle_parser = std::make_unique<amrex::Parser>(
makeParser(str_By_ext_particle_function,{"x","y","z","t"}));
- m_Bz_particle_parser = std::make_unique<ParserWrapper<4>>(
+ m_Bz_particle_parser = std::make_unique<amrex::Parser>(
makeParser(str_Bz_ext_particle_function,{"x","y","z","t"}));
}
@@ -209,11 +209,11 @@ MultiParticleContainer::ReadParameters ()
Store_parserString(pp_particles, "Ez_external_particle_function(x,y,z,t)",
str_Ez_ext_particle_function);
// Parser for E_external on the particle
- m_Ex_particle_parser = std::make_unique<ParserWrapper<4>>(
+ m_Ex_particle_parser = std::make_unique<amrex::Parser>(
makeParser(str_Ex_ext_particle_function,{"x","y","z","t"}));
- m_Ey_particle_parser = std::make_unique<ParserWrapper<4>>(
+ m_Ey_particle_parser = std::make_unique<amrex::Parser>(
makeParser(str_Ey_ext_particle_function,{"x","y","z","t"}));
- m_Ez_particle_parser = std::make_unique<ParserWrapper<4>>(
+ m_Ez_particle_parser = std::make_unique<amrex::Parser>(
makeParser(str_Ez_ext_particle_function,{"x","y","z","t"}));
}