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