From 5f9b4aa7d04ab3b945b180ba079b6482db2e9c24 Mon Sep 17 00:00:00 2001 From: RevathiJambunathan Date: Mon, 13 Jan 2020 11:14:17 -0800 Subject: moving E/B parser variables to MultiParticleContainer class. changing input files appropriately. --- Source/Particles/WarpXParticleContainer.cpp | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'Source/Particles/WarpXParticleContainer.cpp') diff --git a/Source/Particles/WarpXParticleContainer.cpp b/Source/Particles/WarpXParticleContainer.cpp index 465539d1a..9fe331f13 100644 --- a/Source/Particles/WarpXParticleContainer.cpp +++ b/Source/Particles/WarpXParticleContainer.cpp @@ -115,24 +115,6 @@ WarpXParticleContainer::WarpXParticleContainer (AmrCore* amr_core, int ispecies) m_yp.resize(num_threads); m_zp.resize(num_threads); - if (WarpX::B_ext_particle_s == "parse_b_ext_particle_function") { - Bx_particle_parser.reset(new ParserWrapper( - makeParser(WarpX::str_Bx_ext_particle_function))); - By_particle_parser.reset(new ParserWrapper( - makeParser(WarpX::str_By_ext_particle_function))); - Bz_particle_parser.reset(new ParserWrapper( - makeParser(WarpX::str_Bz_ext_particle_function))); - } - - if (WarpX::E_ext_particle_s == "parse_e_ext_particle_function") { - Ex_particle_parser.reset(new ParserWrapper( - makeParser(WarpX::str_Ex_ext_particle_function))); - Ey_particle_parser.reset(new ParserWrapper( - makeParser(WarpX::str_Ey_ext_particle_function))); - Ez_particle_parser.reset(new ParserWrapper( - makeParser(WarpX::str_Ez_ext_particle_function))); - } - } void -- cgit v1.2.3