|
WarpX
|
Functor that returns 1 if the particle is inside a given axis-aligned region defined by amrex::RealBox, 0 otherwise. More...
#include <FilterFunctors.H>
Public Member Functions | |
| GeometryFilter (bool a_is_active, amrex::RealBox a_domain) | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool | operator() (const SuperParticleType &p, const amrex::RandomEngine &) const noexcept |
| return 1 if the particle is within the region described by the RealBox | |
Private Attributes | |
| bool | m_is_active |
| amrex::RealBox | m_domain |
Functor that returns 1 if the particle is inside a given axis-aligned region defined by amrex::RealBox, 0 otherwise.
|
inline |
|
inlinenoexcept |
return 1 if the particle is within the region described by the RealBox
| p | one particle |
|
private |
Physical extent of the axis-aligned region used for particle check
|
private |
Whether this diagnostics is activated. Select all particles if false