|
| v0.14.0
|
Go to the documentation of this file.
10 template <
typename T,
int Dim>
16 template <
typename T,
int Dim>
33 template <
typename T,
typename S,
int Dim>
55 return getMatImpl<double, 3>(t_val, t_vec,
f);
61 return getMatImpl<FTensor::PackPtr<double *, 1>, 3>(t_val, t_vec,
f);
67 return getDiffMatImpl<double, 3>(t_val, t_vec,
f,
d_f, nb);
74 return getDiffMatImpl<FTensor::PackPtr<double *, 1>, 3>(t_val, t_vec,
f,
d_f,
83 return getDiffDiffMatImpl<double, FTensor::Tensor2<double, 3, 3>, 3>(
84 t_val, t_vec,
f,
d_f,
dd_f, t_S, nb);
92 return getDiffDiffMatImpl<FTensor::PackPtr<double *, 1>,
94 t_val, t_vec,
f,
d_f,
dd_f, t_S, nb);
101 return getDiffDiffMatImpl<double, FTensor::Tensor2_symmetric<double, 3>, 3>(
102 t_val, t_vec,
f,
d_f,
dd_f, t_S, nb);
110 return getDiffDiffMatImpl<FTensor::PackPtr<double *, 1>,
112 t_val, t_vec,
f,
d_f,
dd_f, t_S, nb);
118 return getMatImpl<double, 2>(t_val, t_vec,
f);
124 return getDiffMatImpl<double, 2>(t_val, t_vec,
f,
d_f, nb);
132 return getDiffDiffMatImpl<double, FTensor::Tensor2<double, 2, 2>, 2>(
133 t_val, t_vec,
f,
d_f,
dd_f, t_S, nb);
140 return getDiffDiffMatImpl<double, FTensor::Tensor2_symmetric<double, 2>, 2>(
141 t_val, t_vec,
f,
d_f,
dd_f, t_S, nb);
FTensor::Tensor2_symmetric< double, 3 > getMat(Val< double, 3 > &t_val, Vec< double, 3 > &t_vec, Fun< double > f)
Get the Mat object.
auto getMat(Fun f)
Get matrix.
FTensor::Ddg< double, Dim, Dim > getDiffMatImpl(Val< T, Dim > &t_val, Vec< T, Dim > &t_vec, Fun< double > f, Fun< double > d_f, const int nb)
#define THROW_MESSAGE(msg)
Throw MoFEM exception.
FTensor::Ddg< double, Dim, Dim > getDiffDiffMatImpl(Val< T, Dim > &t_val, Vec< T, Dim > &t_vec, Fun< double > f, Fun< double > d_f, Fun< double > dd_f, S &t_S, const int nb)
auto getDiffMat(Fun f, Fun d_f)
Get derivative of matrix.
FTensor::Tensor2_symmetric< double, Dim > getMatImpl(Val< T, Dim > &t_val, Vec< T, Dim > &t_vec, Fun< double > f)
auto getDiffDiffMat(Fun f, Fun d_f, Fun dd_f, T &t_S)
Get second directive of matrix.
FTensor::Ddg< double, 3, 3 > getDiffDiffMat(Val< double, 3 > &t_val, Vec< double, 3 > &t_vec, Fun< double > f, Fun< double > d_f, Fun< double > dd_f, FTensor::Tensor2< double, 3, 3 > &t_S, const int nb)
boost::function< T(const T)> Fun
Tensors class implemented by Walter Landry.
FTensor::Ddg< double, 3, 3 > getDiffMat(Val< double, 3 > &t_val, Vec< double, 3 > &t_vec, Fun< double > f, Fun< double > d_f, const int nb)
Get the Diff Mat object.