#include <MassInBoxInterface.hpp>
MassInBoxInterface is a pure interface implemented by medium components that are capable of efficiently and accurately calculating the medium mass in a given axis-aligned bounding box (without random sampling).
◆ MassInBoxInterface()
| MassInBoxInterface::MassInBoxInterface |
( |
| ) |
|
|
inlineprotected |
The empty constructor for the interface.
◆ ~MassInBoxInterface()
| virtual MassInBoxInterface::~MassInBoxInterface |
( |
| ) |
|
|
inlinevirtual |
The empty destructor for the interface.
◆ massInBox()
| virtual double MassInBoxInterface::massInBox |
( |
const Box & | box | ) |
const |
|
pure virtual |
This function returns the mass for the medium component in the specified axis-aligned bounding box.
Implemented in ParticleMedium.
◆ numberInBox()
| virtual double MassInBoxInterface::numberInBox |
( |
const Box & | box | ) |
const |
|
pure virtual |
This function returns the volume-integrated number density for the medium component in the specified axis-aligned bounding box.
Implemented in ParticleMedium.
The documentation for this class was generated from the following file: