iMSTK
Interactive Medical Simulation Toolkit
|
Force model for the isotropic hyperelastic material. More...
#include <imstkIsotropicHyperelasticFeForceModel.h>
Public Member Functions | |
IsotropicHyperelasticFeForceModel (const HyperElasticMaterialType materialType, std::shared_ptr< vega::VolumetricMesh > mesh, const double inversionThreshold, const bool withGravity=true, const double gravity=10.0) | |
void | getInternalForce (const Vectord &u, Vectord &internalForce) override |
Get the internal force. | |
void | getTangentStiffnessMatrix (const Vectord &u, SparseMatrixd &tangentStiffnessMatrix) override |
Get the tangent stiffness matrix. | |
void | getTangentStiffnessMatrixTopology (vega::SparseMatrix **tangentStiffnessMatrix) override |
Get the tangent stiffness matrix topology. | |
void | getForceAndMatrix (const Vectord &u, Vectord &internalForce, SparseMatrixd &tangentStiffnessMatrix) override |
Get the tangent stiffness matrix and internal force. | |
void | setTangentStiffness (std::shared_ptr< vega::SparseMatrix > K) override |
Set the tangent stiffness matrix. | |
Additional Inherited Members | |
![]() | |
static void | updateValuesFromMatrix (std::shared_ptr< vega::SparseMatrix > vegaMatrix, double *values) |
Update the values of the Eigen sparse matrix given the linearized array of data from the Vega matrix. More... | |
Force model for the isotropic hyperelastic material.
Definition at line 27 of file imstkIsotropicHyperelasticFeForceModel.h.