Class Elasticity_Becker2009

Inheritance Relationships

Base Type

Class Documentation

class SPH::Elasticity_Becker2009 : public SPH::ElasticityBase

This class implements the corotated SPH method for deformable solids introduced by Becker et al. [BIT09].

References:

Public Functions

Elasticity_Becker2009(FluidModel *model)
~Elasticity_Becker2009(void)
void step()
void reset()
void performNeighborhoodSearchSort()
void saveState(BinaryFileWriter &binWriter)
void loadState(BinaryFileReader &binReader)

Public Static Attributes

int ALPHA = -1

Protected Functions

void initValues()
void computeRotations()
void computeStress()
void computeForces()
void initParameters()
FORCE_INLINE void symMatTimesVec (const Vector6r &M, const Vector3r &v, Vector3r &res)

Protected Attributes

std::vector<unsigned int> m_current_to_initial_index
std::vector<unsigned int> m_initial_to_current_index
std::vector<std::vector<unsigned int>> m_initialNeighbors
std::vector<Real> m_restVolumes
std::vector<Matrix3r> m_rotations
std::vector<Vector6r> m_stress
std::vector<Matrix3r> m_F
Real m_alpha