iMSTK
Interactive Medical Simulation Toolkit
Public Member Functions | Protected Attributes | List of all members
imstk::IsotropicHyperelasticFeForceModel Class Reference

Force model for the isotropic hyperelastic material. More...

#include <imstkIsotropicHyperelasticFeForceModel.h>

Inheritance diagram for imstk::IsotropicHyperelasticFeForceModel:
Inheritance graph
[legend]
Collaboration diagram for imstk::IsotropicHyperelasticFeForceModel:
Collaboration graph
[legend]

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.
 

Protected Attributes

std::shared_ptr< vega::IsotropicHyperelasticFEM > m_isotropicHyperelasticFem
 
std::shared_ptr< vega::IsotropicMaterial > m_isotropicMaterial
 
std::shared_ptr< vega::SparseMatrix > m_vegaTangentStiffnessMatrix
 

Additional Inherited Members

- Static Public Member Functions inherited from imstk::InternalForceModel
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...
 

Detailed Description

Force model for the isotropic hyperelastic material.

Definition at line 27 of file imstkIsotropicHyperelasticFeForceModel.h.


The documentation for this class was generated from the following files: