waLBerla 7.2
|
Class which computes the minimum wall distance between a fluid cell and a mesh object using the Möller-Trumbore Fast Minimum Storage Ray/Triangle Intersection Algorithm.
The operator acts as a callback function which can be bound to Code-Generated boundary conditions requiring the wall distance, i.e. Quadratic Bounce Back.
#include <MeshBodyWallDistanceCallback.h>
Public Member Functions | |
MeshBodyWallDistance (const std::shared_ptr< mesh::DistanceOctree< MeshType > > &distanceOctree) | |
real_t | operator() (const Cell &fluid, const Cell &boundary, const shared_ptr< StructuredBlockForest > &SbF, IBlock &block) const |
Private Attributes | |
const std::shared_ptr< mesh::DistanceOctree< MeshType > > & | distanceOctree_ |
|
inline |
|
inline |
|
private |