diff options
author | 2020-01-09 21:27:29 -0800 | |
---|---|---|
committer | 2020-01-09 21:27:29 -0800 | |
commit | d4406ac0dfd0e650bc85cbd8b3255f906d5452dd (patch) | |
tree | 0b59359c5cb9ca65c48d1deffaec78f869e17994 /Source/WarpX.cpp | |
parent | cff3694f78d67ec174718a851796d604917f2895 (diff) | |
download | WarpX-d4406ac0dfd0e650bc85cbd8b3255f906d5452dd.tar.gz WarpX-d4406ac0dfd0e650bc85cbd8b3255f906d5452dd.tar.zst WarpX-d4406ac0dfd0e650bc85cbd8b3255f906d5452dd.zip |
parser for particles in PhysicalParticleContainer
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r-- | Source/WarpX.cpp | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp index 9be46154c..bc0edf979 100644 --- a/Source/WarpX.cpp +++ b/Source/WarpX.cpp @@ -55,7 +55,6 @@ std::string WarpX::str_Ex_ext_particle_function; std::string WarpX::str_Ey_ext_particle_function; std::string WarpX::str_Ez_ext_particle_function; - int WarpX::do_moving_window = 0; int WarpX::moving_window_dir = -1; Real WarpX::moving_window_v = std::numeric_limits<amrex::Real>::max(); @@ -367,12 +366,12 @@ WarpX::ReadParameters () Store_parserString(pp, "Bz_external_particle_function(x,y,z)", str_Bz_ext_particle_function); - Bx_particle_parser.reset(new ParserWrapper( - makeParser(str_Bx_ext_particle_function))); - By_particle_parser.reset(new ParserWrapper( - makeParser(str_By_ext_particle_function))); - Bz_particle_parser.reset(new ParserWrapper( - makeParser(str_Bz_ext_particle_function))); + //Bx_particle_parser.reset(new ParserWrapper( + // makeParser(str_Bx_ext_particle_function))); + //By_particle_parser.reset(new ParserWrapper( + // makeParser(str_By_ext_particle_function))); + //Bz_particle_parser.reset(new ParserWrapper( + // makeParser(str_Bz_ext_particle_function))); } if (E_ext_particle_s == "parse_e_ext_particle_function") { @@ -384,12 +383,12 @@ WarpX::ReadParameters () Store_parserString(pp, "Ez_external_particle_function(x,y,z)", str_Ez_ext_particle_function); - Ex_particle_parser.reset(new ParserWrapper( - makeParser(str_Ex_ext_particle_function))); - Ey_particle_parser.reset(new ParserWrapper( - makeParser(str_Ey_ext_particle_function))); - Ez_particle_parser.reset(new ParserWrapper( - makeParser(str_Ez_ext_particle_function))); + //Ex_particle_parser.reset(new ParserWrapper( + // makeParser(str_Ex_ext_particle_function))); + //Ey_particle_parser.reset(new ParserWrapper( + // makeParser(str_Ey_ext_particle_function))); + //Ez_particle_parser.reset(new ParserWrapper( + // makeParser(str_Ez_ext_particle_function))); } pp.query("do_moving_window", do_moving_window); |