SPH
Classes | Public Member Functions | List of all members
RadiiHashMap Class Reference

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...
 

Detailed Description

Helper structure storing search radii for particles as hash map.

Definition at line 22 of file AsymmetricSolver.h.

Member Function Documentation

◆ build()

NAMESPACE_SPH_BEGIN void RadiiHashMap::build ( ArrayView< const Vector r,
const Float  kernelRadius 
)

Computes the search radii at each cell in space.

Parameters
rPositions and smoothing lenghts of particles.
kernelRadiusDimensionless support radius of the kernel.

Definition at line 14 of file AsymmetricSolver.cpp.

◆ getRadius()

Float RadiiHashMap::getRadius ( const Vector r) const

Returns the required search radius for particle at given position.

Definition at line 48 of file AsymmetricSolver.cpp.


The documentation for this class was generated from the following files: