From ffb3bb8e0ac21c2489906c1cf51d3f4dae235542 Mon Sep 17 00:00:00 2001 From: Weiqun Zhang Date: Tue, 13 Jul 2021 23:04:31 -0700 Subject: amrex::Parser (#2063) * amrex::Parser Replace WarpXParser with amrex::Parser. Roundoff errors are expected because of additional optimization in amrex::Parser. * Reset the Langmuir_multi_psatd_single_precision benchmark due to change in single precision parser * enable Intel oneAPI CI again * Update Source/EmbeddedBoundary/WarpXInitEB.cpp * Replace hard-coded number in ParticleDiag with a constexpr --- Source/Particles/MultiParticleContainer.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Source/Particles/MultiParticleContainer.cpp') 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>( + m_Bx_particle_parser = std::make_unique( makeParser(str_Bx_ext_particle_function,{"x","y","z","t"})); - m_By_particle_parser = std::make_unique>( + m_By_particle_parser = std::make_unique( makeParser(str_By_ext_particle_function,{"x","y","z","t"})); - m_Bz_particle_parser = std::make_unique>( + m_Bz_particle_parser = std::make_unique( 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>( + m_Ex_particle_parser = std::make_unique( makeParser(str_Ex_ext_particle_function,{"x","y","z","t"})); - m_Ey_particle_parser = std::make_unique>( + m_Ey_particle_parser = std::make_unique( makeParser(str_Ey_ext_particle_function,{"x","y","z","t"})); - m_Ez_particle_parser = std::make_unique>( + m_Ez_particle_parser = std::make_unique( makeParser(str_Ez_ext_particle_function,{"x","y","z","t"})); } -- cgit v1.2.3