Class BoundaryModel_Bender2019

Inheritance Relationships

Base Type

Class Documentation

class BoundaryModel_Bender2019 : public SPH::BoundaryModel

The boundary model stores the information required for boundary handling using the approach of Bender et al. 2019 [BKWK19].

References:

  • [BKWK19] Jan Bender, Tassilo Kugelstadt, Marcel Weiler, and Dan Koschier. Volume maps: an implicit boundary representation for SPH. In Proceedings of ACM SIGGRAPH Conference on Motion, Interaction and Games, MIG ‘19. ACM, 2019. URL: https://dl.acm.org/doi/10.1145/3359566.3360077

Public Functions

BoundaryModel_Bender2019()
virtual ~BoundaryModel_Bender2019()
void initModel(RigidBodyObject *rbo)
virtual void reset()
inline Discregrid::DiscreteGrid *getMap()
inline void setMap(Discregrid::DiscreteGrid *map)
inline Real getMaxDist() const
inline void setMaxDist(Real val)
inline Real getMaxVel() const
inline void setMaxVel(Real val)
inline FORCE_INLINE const Real & getBoundaryVolume (const unsigned int fluidIndex, const unsigned int i) const
inline FORCE_INLINE Real & getBoundaryVolume (const unsigned int fluidIndex, const unsigned int i)
inline FORCE_INLINE void setBoundaryVolume (const unsigned int fluidIndex, const unsigned int i, const Real &val)
inline FORCE_INLINE Vector3r & getBoundaryXj (const unsigned int fluidIndex, const unsigned int i)
inline FORCE_INLINE const Vector3r & getBoundaryXj (const unsigned int fluidIndex, const unsigned int i) const
inline FORCE_INLINE void setBoundaryXj (const unsigned int fluidIndex, const unsigned int i, const Vector3r &val)

Protected Attributes

Discregrid::DiscreteGrid *m_map
std::vector<std::vector<Real>> m_boundaryVolume
std::vector<std::vector<Vector3r>> m_boundaryXj
Real m_maxDist
Real m_maxVel