SPH
|
Helper structure storing search radii for particles as hash map. More...
#include <AsymmetricSolver.h>
Public Member Functions | |
void | build (ArrayView< const Vector > r, const Float kernelRadius) |
Computes the search radii at each cell in space. More... | |
Float | getRadius (const Vector &r) const |
Returns the required search radius for particle at given position. More... | |
Helper structure storing search radii for particles as hash map.
Definition at line 22 of file AsymmetricSolver.h.
NAMESPACE_SPH_BEGIN void RadiiHashMap::build | ( | ArrayView< const Vector > | r, |
const Float | kernelRadius | ||
) |
Computes the search radii at each cell in space.
r | Positions and smoothing lenghts of particles. |
kernelRadius | Dimensionless support radius of the kernel. |
Definition at line 14 of file AsymmetricSolver.cpp.
Returns the required search radius for particle at given position.
Definition at line 48 of file AsymmetricSolver.cpp.