Class Elasticity_Becker2009
Defined in File Elasticity_Becker2009.h
Inheritance Relationships
Base Type
public SPH::NonPressureForceBase(Class NonPressureForceBase)
Class Documentation
-
class Elasticity_Becker2009 : public SPH::NonPressureForceBase
This class implements the corotated SPH method for deformable solids introduced by Becker et al. [BIT09].
References:
[BIT09] Markus Becker, Markus Ihmsen, and Matthias Teschner. Corotated SPH for deformable solids. In Proceedings of Eurographics Conference on Natural Phenomena, 27-34. 2009. URL: http://dx.doi.org/10.2312EG/DL/conf/EG2009/nph/027-034
Public Functions
-
Elasticity_Becker2009(FluidModel *model)
-
virtual ~Elasticity_Becker2009(void)
-
inline virtual std::string getMethodName()
returns the name of the method
-
virtual void step()
-
virtual void reset()
-
virtual void performNeighborhoodSearchSort()
-
virtual void saveState(BinaryFileWriter &binWriter)
-
virtual void loadState(BinaryFileReader &binReader)
Public Static Functions
-
static inline NonPressureForceBase *creator(FluidModel *model)
Public Static Attributes
-
static std::string METHOD_NAME = "Becker et al. 2009"
-
static int YOUNGS_MODULUS = -1
-
static int POISSON_RATIO = -1
-
static int FIXED_BOX_MIN = -1
-
static int FIXED_BOX_MAX = -1
-
static int ALPHA = -1
Protected Functions
-
void determineFixedParticles()
Mark all particles in the bounding box as fixed.
-
void initValues()
-
void computeRotations()
-
void computeStress()
-
void computeForces()
-
virtual void initParameters()
-
virtual void deferredInit()
This function is called after the simulation scene is loaded and all parameters are initialized. While reading a scene file several parameters can change. The deferred init function should initialize all values which depend on these parameters.
- inline FORCE_INLINE void symMatTimesVec (const Vector6r &M, const Vector3r &v, Vector3r &res)