KinematicState class
Kinematic state for finite-strain continuum mechanics.
Stores the displacement gradient and computes all standard kinematic quantities needed for hyperelastic formulations:
| Quantity | Symbol | Definition |
|---|---|---|
| Deformation gradient | ||
| Right Cauchy-Green | ||
| Left Cauchy-Green | ||
| Jacobian |
Usage
KinematicState state(d); state.setDisplacementGradient(gradU); auto F = state.getDeformationGradient(); Real J = state.getJacobian();
Constructors, destructors, conversion operators
- KinematicState(size_t d)
- Constructs a kinematic state for the given spatial dimension.
- KinematicState(const KinematicState& other) defaulted
- Copy constructor.
- KinematicState(KinematicState&& other) defaulted
- Move constructor.
Public functions
- auto operator=(const KinematicState& other) -> KinematicState& defaulted
- Copy assignment operator.
- auto operator=(KinematicState&& other) -> KinematicState& defaulted
- Move assignment operator.
-
auto setDisplacementGradient(const Math::
SpatialMatrix<Real>& H) -> KinematicState& - Sets the displacement gradient .
- auto getDimension() const -> size_t
- Gets the spatial dimension.
-
auto getDisplacementGradient() const -> const Math::
SpatialMatrix<Real>& - Gets the displacement gradient .
-
auto getDeformationGradient() const -> const Math::
SpatialMatrix<Real>& - Gets the deformation gradient .
-
auto getDeformationGradientInverse() const -> const Math::
SpatialMatrix<Real>& - Gets .
-
auto getDeformationGradientInverseTranspose() const -> const Math::
SpatialMatrix<Real>& - Gets .
-
auto getRightCauchyGreenTensor() const -> const Math::
SpatialMatrix<Real>& - Gets the right Cauchy-Green tensor .
-
auto getLeftCauchyGreenTensor() const -> const Math::
SpatialMatrix<Real>& - Gets the left Cauchy-Green tensor .
- auto getJacobian() const -> Real
- Gets the Jacobian .
- auto getLogJacobian() const -> Real
- Gets .
Function documentation
Rodin:: Solid:: KinematicState:: KinematicState(size_t d)
Constructs a kinematic state for the given spatial dimension.
| Parameters | |
|---|---|
| d | Spatial dimension (2 or 3) |
Rodin:: Solid:: KinematicState:: KinematicState(const KinematicState& other) defaulted
Copy constructor.
| Parameters | |
|---|---|
| other | Object to copy from. |
Rodin:: Solid:: KinematicState:: KinematicState(KinematicState&& other) defaulted
Move constructor.
| Parameters | |
|---|---|
| other | Object to move from. |
KinematicState& Rodin:: Solid:: KinematicState:: operator=(const KinematicState& other) defaulted
Copy assignment operator.
| Parameters | |
|---|---|
| other | Object to copy from. |
| Returns | Reference to this object after the operation. |
KinematicState& Rodin:: Solid:: KinematicState:: operator=(KinematicState&& other) defaulted
Move assignment operator.
| Parameters | |
|---|---|
| other | Object to move from. |
| Returns | Reference to this object after the operation. |
KinematicState& Rodin:: Solid:: KinematicState:: setDisplacementGradient(const Math:: SpatialMatrix<Real>& H)
Sets the displacement gradient .
| Parameters | |
|---|---|
| H | Displacement gradient matrix |
| Returns | Reference to this for chaining |
size_t Rodin:: Solid:: KinematicState:: getDimension() const
Gets the spatial dimension.
| Returns | The spatial dimension. |
|---|
const Math:: SpatialMatrix<Real>& Rodin:: Solid:: KinematicState:: getDisplacementGradient() const
Gets the displacement gradient .
| Returns | The displacement gradient . |
|---|
const Math:: SpatialMatrix<Real>& Rodin:: Solid:: KinematicState:: getDeformationGradient() const
Gets the deformation gradient .
| Returns | The deformation gradient . |
|---|
const Math:: SpatialMatrix<Real>& Rodin:: Solid:: KinematicState:: getDeformationGradientInverse() const
Gets .
| Returns | . |
|---|
const Math:: SpatialMatrix<Real>& Rodin:: Solid:: KinematicState:: getDeformationGradientInverseTranspose() const
Gets .
| Returns | . |
|---|
const Math:: SpatialMatrix<Real>& Rodin:: Solid:: KinematicState:: getRightCauchyGreenTensor() const
Gets the right Cauchy-Green tensor .
| Returns | The right Cauchy-Green tensor . |
|---|
const Math:: SpatialMatrix<Real>& Rodin:: Solid:: KinematicState:: getLeftCauchyGreenTensor() const
Gets the left Cauchy-Green tensor .
| Returns | The left Cauchy-Green tensor . |
|---|
Real Rodin:: Solid:: KinematicState:: getJacobian() const
Gets the Jacobian .
| Returns | Derivative evaluated at the supplied point. |
|---|