Class Elasticity_Peer2018¶
Defined in File Elasticity_Peer2018.h
Inheritance Relationships¶
Base Type¶
public SPH::ElasticityBase(Class ElasticityBase)
Class Documentation¶
-
class
SPH::Elasticity_Peer2018: public SPH::ElasticityBase¶ This class implements the implicit SPH formulation for incompressible linearly elastic solids introduced by Peer et al. [PGBT17].
References:
[PGBT17] Andreas Peer, Christoph Gissler, Stefan Band, and Matthias Teschner. An implicit SPH formulation for incompressible linearly elastic solids. Computer Graphics Forum, 2017. URL: http://dx.doi.org/10.1111/cgf.13317
Public Functions
-
Elasticity_Peer2018(FluidModel *model)¶
-
virtual
~Elasticity_Peer2018(void)¶
-
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 int
ITERATIONS= -1¶
-
static int
MAX_ITERATIONS= -1¶
-
static int
MAX_ERROR= -1¶
-
static int
ALPHA= -1¶
Protected Types
-
typedef Eigen::ConjugateGradient<MatrixReplacement, Eigen::Lower | Eigen::Upper, Eigen::IdentityPreconditioner>
Solver¶
Protected Functions
-
void
initValues()¶
-
void
computeMatrixL()¶
-
void
computeRotations()¶
-
void
computeRHS(VectorXr &rhs)¶
-
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)