21 #ifndef RFFGEN_LINEAR_ALGEBRA_STRAIN_TENSOR_HH
22 #define RFFGEN_LINEAR_ALGEBRA_STRAIN_TENSOR_HH
24 #include "transpose.hh"
25 #include "../MathematicalOperations/sum.hh"
26 #include "../Util/base.hh"
27 #include "../Util/chainer.hh"
28 #include "../Util/addTransposedMatrix.hh"
35 namespace Concepts {
template <
class>
struct SymmetricMatrixConceptCheck; }
40 namespace LinearAlgebra
49 template <
class Matrix,
class = Concepts::SymmetricMatrixConceptCheck<Matrix> >
52 public Chainer< LeftCauchyGreenStrainTensor<Matrix , Concepts::SymmetricMatrixConceptCheck<Matrix> > >
70 Matrix
const&
d0() const noexcept
77 Matrix
d1(Matrix
const& dF1)
const
79 Matrix FTdF1 = FT * dF1;
85 Matrix
d2(Matrix
const& dF1, Matrix
const& dF2)
const
102 template <
class Matrix,
class = Concepts::SymmetricMatrixConceptCheck<Matrix> >
105 public Chainer< LinearizedStrainTensor< Matrix , Concepts::SymmetricMatrixConceptCheck<Matrix> > >
122 Matrix
const&
d0()
const
129 Matrix
d1(
const Matrix& dF)
const
135 Matrix d0Result = Matrix{0.};
152 template <
class Matrix>
155 public Chainer< StrainTensor<Matrix> >
168 #endif // RFFGEN_LINEAR_ALGEBRA_STRAIN_TENSOR_HH
Matrix const & d0() const
Function value .
Definition: strainTensor.hh:122
Matrix const & d0() const noexcept
Function value .
Definition: strainTensor.hh:70
void update(Matrix const &F)
Reset point of evaluation.
Definition: strainTensor.hh:115
Strain tensor .
Definition: strainTensor.hh:153
LeftCauchyGreenStrainTensor(Matrix const &F)
Constructor.
Definition: strainTensor.hh:60
TransposedMatrix transpose(Matrix A)
Compute transpose of square matrix.
Definition: transpose.hh:43
Matrix d1(Matrix const &dF1) const
First directional derivative .
Definition: strainTensor.hh:77
Base class for functions satisfying FunctionConcept. Required for enabling the operators in generate...
Definition: base.hh:27
Matrix addTransposed(Matrix &A)
Overwrites with .
Definition: addTransposedMatrix.hh:37
Matrix d2(Matrix const &dF1, Matrix const &dF2) const
Second directional derivative .
Definition: strainTensor.hh:85
Matrix d1(const Matrix &dF) const
First directional derivative .
Definition: strainTensor.hh:129
Left Cauchy-Green strain tensor for a symmetric matrix .
Definition: strainTensor.hh:50
StrainTensor(const Matrix &F)
Constructor.
Definition: strainTensor.hh:163
Sum of functions of type F and G (F and G must satisfy the requirements of Concepts::FunctionConcept)...
Definition: sum.hh:60
LinearizedStrainTensor(const Matrix &F)
Constructor.
Definition: strainTensor.hh:112
Linearized strain tensor .
Definition: strainTensor.hh:103
void update(Matrix const &F)
Reset point of evaluation.
Definition: strainTensor.hh:63