Functor that returns 1 if the particle is inside a given axis-aligned region defined by amrex::RealBox, 0 otherwise.
More...
#include <FilterFunctors.H>
Functor that returns 1 if the particle is inside a given axis-aligned region defined by amrex::RealBox, 0 otherwise.
◆ GeometryFilter()
GeometryFilter::GeometryFilter |
( |
bool |
a_is_active, |
|
|
amrex::RealBox |
a_domain |
|
) |
| |
|
inline |
◆ operator()()
return 1 if the particle is within the region described by the RealBox
- Parameters
-
- Returns
- whether or not the particle is inside the region defined by m_domain
◆ m_domain
Physical extent of the axis-aligned region used for particle check
◆ m_is_active
const bool GeometryFilter::m_is_active |
|
private |
Whether this diagnostics is activated. Select all particles if false
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/latest/Source/Particles/Filter/FilterFunctors.H