Class BoundaryModel

Inheritance Relationships

Derived Types

Class Documentation

class BoundaryModel

The boundary model stores the information required for boundary handling.

Subclassed by SPH::BoundaryModel_Akinci2012, SPH::BoundaryModel_Bender2019, SPH::BoundaryModel_Koschier2017

Public Functions

BoundaryModel()
virtual ~BoundaryModel()
virtual void reset()
inline virtual void performNeighborhoodSearchSort()
inline virtual void saveState(BinaryFileWriter &binWriter)
inline virtual void loadState(BinaryFileReader &binReader)
inline RigidBodyObject *getRigidBodyObject()
inline FORCE_INLINE void addForce (const Vector3r &pos, const Vector3r &f)
inline FORCE_INLINE void getPointVelocity (const Vector3r &x, Vector3r &res)
void getForceAndTorque(Vector3r &force, Vector3r &torque)
void clearForceAndTorque()

Protected Attributes

RigidBodyObject *m_rigidBody
std::vector<Vector3r> m_forcePerThread
std::vector<Vector3r> m_torquePerThread