OGS
FractureIdentity2.cpp
Go to the documentation of this file.
1
10#include "FractureIdentity2.h"
11
12namespace MaterialLib
13{
14namespace Fracture
15{
16namespace
17{
18template <typename VectorType, int DisplacementDim>
19VectorType initIdentity2()
20{
21 VectorType ivec = VectorType::Zero(DisplacementDim);
22 ivec[DisplacementDim - 1] = 1;
23 return ivec;
24}
25} // anonymous namespace
26
27template <int DisplacementDim>
30 initIdentity2<typename FractureIdentity2<DisplacementDim>::VectorType,
31 DisplacementDim>();
32
33// template instantiation
34template struct FractureIdentity2<2>;
35template struct FractureIdentity2<3>;
36
37} // namespace Fracture
38} // namespace MaterialLib
static MATERIALLIB_FRACTUREMODELS_EXPORT VectorType const value
Eigen::Matrix< double, DisplacementDim, 1 > VectorType