OGS
SmallDeformation/LocalAssembler/IntegrationPointDataFracture.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2
// SPDX-License-Identifier: BSD-3-Clause
3
4
#pragma once
5
6
#include <Eigen/Core>
7
8
#include "
MaterialLib/FractureModels/FractureModelBase.h
"
9
10
namespace
ProcessLib
11
{
12
namespace
LIE
13
{
14
namespace
SmallDeformation
15
{
16
template
<
typename
HMatricesType,
int
DisplacementDim>
17
struct
IntegrationPointDataFracture
final
18
{
19
explicit
IntegrationPointDataFracture
(
20
MaterialLib::Fracture::FractureModelBase<DisplacementDim>
&
21
fracture_material_)
22
:
fracture_material
(fracture_material_),
23
material_state_variables
(
24
fracture_material
.createMaterialStateVariables())
25
{
26
}
27
28
typename
HMatricesType::HMatrixType
h_matrices
;
29
typename
HMatricesType::ForceVectorType
sigma
,
sigma_prev
;
30
typename
HMatricesType::ForceVectorType
w
,
w_prev
;
31
double
aperture
= 0.0;
32
double
aperture_prev
= 0.0;
33
double
aperture0
= 0.0;
34
35
MaterialLib::Fracture::FractureModelBase<DisplacementDim>
&
36
fracture_material
;
37
std::unique_ptr<
typename
MaterialLib::Fracture::FractureModelBase
<
38
DisplacementDim>::MaterialStateVariables>
39
material_state_variables
;
40
41
Eigen::MatrixXd
C
;
42
double
integration_weight
;
43
44
void
pushBackState
()
45
{
46
w_prev
=
w
;
47
sigma_prev
=
sigma
;
48
aperture_prev
=
aperture
;
49
material_state_variables
->pushBackState();
50
}
51
52
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
;
53
};
54
55
}
// namespace SmallDeformation
56
}
// namespace LIE
57
}
// namespace ProcessLib
FractureModelBase.h
MaterialLib::Fracture::FractureModelBase
Definition
FractureModelBase.h:21
ProcessLib::LIE::SmallDeformation
Definition
LIE/SmallDeformation/CreateSmallDeformationProcess.cpp:22
ProcessLib::LIE
Definition
BranchProperty.h:13
ProcessLib
Definition
ProjectData.h:40
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::material_state_variables
std::unique_ptr< typename MaterialLib::Fracture::FractureModelBase< DisplacementDim >::MaterialStateVariables > material_state_variables
Definition
SmallDeformation/LocalAssembler/IntegrationPointDataFracture.h:39
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::fracture_material
MaterialLib::Fracture::FractureModelBase< DisplacementDim > & fracture_material
Definition
SmallDeformation/LocalAssembler/IntegrationPointDataFracture.h:36
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::w_prev
HMatricesType::ForceVectorType w_prev
Definition
SmallDeformation/LocalAssembler/IntegrationPointDataFracture.h:30
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::C
Eigen::MatrixXd C
Definition
SmallDeformation/LocalAssembler/IntegrationPointDataFracture.h:41
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::sigma_prev
HMatricesType::ForceVectorType sigma_prev
Definition
SmallDeformation/LocalAssembler/IntegrationPointDataFracture.h:29
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::IntegrationPointDataFracture
IntegrationPointDataFracture(MaterialLib::Fracture::FractureModelBase< DisplacementDim > &fracture_material_)
Definition
SmallDeformation/LocalAssembler/IntegrationPointDataFracture.h:19
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::sigma
HMatricesType::ForceVectorType sigma
Definition
SmallDeformation/LocalAssembler/IntegrationPointDataFracture.h:29
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::aperture
double aperture
Definition
SmallDeformation/LocalAssembler/IntegrationPointDataFracture.h:31
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::integration_weight
double integration_weight
Definition
SmallDeformation/LocalAssembler/IntegrationPointDataFracture.h:42
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::pushBackState
void pushBackState()
Definition
SmallDeformation/LocalAssembler/IntegrationPointDataFracture.h:44
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::w
HMatricesType::ForceVectorType w
Definition
SmallDeformation/LocalAssembler/IntegrationPointDataFracture.h:30
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::aperture_prev
double aperture_prev
Definition
SmallDeformation/LocalAssembler/IntegrationPointDataFracture.h:32
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::aperture0
double aperture0
Definition
SmallDeformation/LocalAssembler/IntegrationPointDataFracture.h:33
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::EIGEN_MAKE_ALIGNED_OPERATOR_NEW
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
Definition
SmallDeformation/LocalAssembler/IntegrationPointDataFracture.h:52
ProcessLib::LIE::SmallDeformation::IntegrationPointDataFracture::h_matrices
HMatricesType::HMatrixType h_matrices
Definition
SmallDeformation/LocalAssembler/IntegrationPointDataFracture.h:28
ProcessLib
LIE
SmallDeformation
LocalAssembler
IntegrationPointDataFracture.h
Generated by
1.14.0