diff options
author | 2021-01-22 22:45:47 +0100 | |
---|---|---|
committer | 2021-01-22 13:45:47 -0800 | |
commit | 24946d2c636fc265d1fc517dfc5665b0e166b64d (patch) | |
tree | 8baef8dd7553b0bd1a35ed39f9bddabce201bfcb /Source/Particles/PhysicalParticleContainer.cpp | |
parent | f494f2376666c1ffb2f624b62fe22e03a991a46c (diff) | |
download | WarpX-24946d2c636fc265d1fc517dfc5665b0e166b64d.tar.gz WarpX-24946d2c636fc265d1fc517dfc5665b0e166b64d.tar.zst WarpX-24946d2c636fc265d1fc517dfc5665b0e166b64d.zip |
Remove unused lines about particle filters (#1646)
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhysicalParticleContainer.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 4f484d064..a4e6317e1 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -171,19 +171,6 @@ PhysicalParticleContainer::PhysicalParticleContainer (AmrCore* amr_core, int isp // Scale the velocity by the speed of light for (int i=0; i<3; i++) m_v_galilean[i] *= PhysConst::c; - // build filter functors - m_do_random_filter = queryWithParser(pp, "random_fraction", m_random_fraction); - m_do_uniform_filter = pp.query("uniform_stride", m_uniform_stride); - std::string buf; - m_do_parser_filter = pp.query("plot_filter_function(t,x,y,z,ux,uy,uz)", buf); - if (m_do_parser_filter) { - std::string function_string = ""; - Store_parserString(pp,"plot_filter_function(t,x,y,z,ux,uy,uz)", - function_string); - m_particle_filter_parser = std::make_unique<ParserWrapper<7>>( - makeParser(function_string,{"t","x","y","z","ux","uy","uz"})); - } - } PhysicalParticleContainer::PhysicalParticleContainer (AmrCore* amr_core) |