waLBerla 7.2
Loading...
Searching...
No Matches
BodyOverlapFunctions.impl.h File Reference

Detailed Description

Namespaces

namespace  walberla
 Storage for detected contacts which can be used to perform actions for all contacts, e.g.
 
namespace  walberla::geometry
 

Functions

template<typename Body >
FastOverlapResult walberla::geometry::fastOverlapCheck (const Body &body, const AABB &block)
 Determines in a fast way ( for example using a bounding box) if a body and a block overlap when no fast computation is possible return DONT_KNOW.
 
template<typename Body >
FastOverlapResult walberla::geometry::fastOverlapCheck (const Body &body, const Vector3< real_t > &cellMidpoint, const Vector3< real_t > &dx)
 Determines in a fast way (bounding box etc) if a body and a block overlap when no fast computation is possible return DONT_KNOW.
 
template<typename Body >
real_t walberla::geometry::cellSupersampling (const Vector3< real_t > &cellMidpoint, const Vector3< real_t > &dx, const Body &body, uint_t maxDepth=4, uint_t depth=uint_t(0u))
 
template<typename Body >
real_t walberla::geometry::overlapFraction (const Body &body, const Vector3< real_t > &cellMidpoint, real_t dx, uint_t maxDepth=4)
 Returns the overlap fraction between a body and a cell.
 
template<typename Body >
real_t walberla::geometry::overlapFraction (const Body &body, const Vector3< real_t > &cellMidpoint, real_t dx, int maxDepth)
 
template<typename Body >
real_t walberla::geometry::overlapFraction (const Body &body, const Vector3< real_t > &cellMidpoint, const Vector3< real_t > &dx, uint_t maxDepth=4)