OGS
IntegrationPointDataFracture.h
Go to the documentation of this file.
1
11
#pragma once
12
13
#include <Eigen/Core>
14
15
#include "
MaterialLib/FractureModels/FractureModelBase.h
"
16
17
namespace
ProcessLib
18
{
19
namespace
LIE
20
{
21
namespace
SmallDeformation
22
{
23
template
<
typename
HMatricesType,
int
DisplacementDim>
24
struct
IntegrationPointDataFracture
final
25
{
26
explicit
IntegrationPointDataFracture
(
27
MaterialLib::Fracture::FractureModelBase<DisplacementDim>
&
28
fracture_material_)
29
:
fracture_material
(fracture_material_),
30
material_state_variables
(
31
fracture_material
.createMaterialStateVariables())
32
{
33
}
34
35
typename
HMatricesType::HMatrixType
h_matrices
;
36
typename
HMatricesType::ForceVectorType
sigma
,
sigma_prev
;
37
typename
HMatricesType::ForceVectorType
w
,
w_prev
;
38
double
aperture
= 0.0;
39
double
aperture_prev
= 0.0;
40
double
aperture0
= 0.0;
41
42
MaterialLib::Fracture::FractureModelBase<DisplacementDim>
&
43
fracture_material
;
44
std::unique_ptr<
typename
MaterialLib::Fracture::FractureModelBase
<
45
DisplacementDim>::MaterialStateVariables>
46
material_state_variables
;
47
48
Eigen::MatrixXd
C
;
49
double
integration_weight
;
50
51
void
pushBackState
()
52
{
53
w_prev
=
w
;
54
sigma_prev
=
sigma
;
55
aperture_prev
=
aperture
;
56
material_state_variables
->pushBackState();
57
}
58
59
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
;
60
};
61
62
}
// namespace SmallDeformation
63
}
// namespace LIE
64
}
// namespace ProcessLib
FractureModelBase.h
MaterialLib::Fracture::FractureModelBase
Definition
FractureModelBase.h:27
ProcessLib
Definition
ProjectData.h:51
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture
Definition
IntegrationPointDataFracture.h:25
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::material_state_variables
std::unique_ptr< typename MaterialLib::Fracture::FractureModelBase< DisplacementDim >::MaterialStateVariables > material_state_variables
Definition
IntegrationPointDataFracture.h:46
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::fracture_material
MaterialLib::Fracture::FractureModelBase< DisplacementDim > & fracture_material
Definition
IntegrationPointDataFracture.h:43
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::w_prev
HMatricesType::ForceVectorType w_prev
Definition
IntegrationPointDataFracture.h:37
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::C
Eigen::MatrixXd C
Definition
IntegrationPointDataFracture.h:48
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::sigma_prev
HMatricesType::ForceVectorType sigma_prev
Definition
IntegrationPointDataFracture.h:36
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::IntegrationPointDataFracture
IntegrationPointDataFracture(MaterialLib::Fracture::FractureModelBase< DisplacementDim > &fracture_material_)
Definition
IntegrationPointDataFracture.h:26
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::sigma
HMatricesType::ForceVectorType sigma
Definition
IntegrationPointDataFracture.h:36
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::aperture
double aperture
Definition
IntegrationPointDataFracture.h:38
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::integration_weight
double integration_weight
Definition
IntegrationPointDataFracture.h:49
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::pushBackState
void pushBackState()
Definition
IntegrationPointDataFracture.h:51
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::w
HMatricesType::ForceVectorType w
Definition
IntegrationPointDataFracture.h:37
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::aperture_prev
double aperture_prev
Definition
IntegrationPointDataFracture.h:39
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::aperture0
double aperture0
Definition
IntegrationPointDataFracture.h:40
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::EIGEN_MAKE_ALIGNED_OPERATOR_NEW
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
Definition
IntegrationPointDataFracture.h:59
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::h_matrices
HMatricesType::HMatrixType h_matrices
Definition
IntegrationPointDataFracture.h:35
ProcessLib
LIE
SmallDeformation
LocalAssembler
IntegrationPointDataFracture.h
Generated by
1.12.0