From 24946d2c636fc265d1fc517dfc5665b0e166b64d Mon Sep 17 00:00:00 2001 From: NeilZaim <49716072+NeilZaim@users.noreply.github.com> Date: Fri, 22 Jan 2021 22:45:47 +0100 Subject: Remove unused lines about particle filters (#1646) --- Source/Particles/PhysicalParticleContainer.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'Source/Particles/PhysicalParticleContainer.cpp') 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>( - makeParser(function_string,{"t","x","y","z","ux","uy","uz"})); - } - } PhysicalParticleContainer::PhysicalParticleContainer (AmrCore* amr_core) -- cgit v1.2.3