OGS
IntegrationPointDataFracture.h
Go to the documentation of this file.
1
11#pragma once
12
13#include <Eigen/Core>
14
16
17namespace ProcessLib
18{
19namespace LIE
20{
21namespace HydroMechanics
22{
23template <typename HMatricesType,
24 typename ShapeMatrixTypeDisplacement,
25 typename ShapeMatrixTypePressure,
26 int DisplacementDim>
28{
31 fracture_material_)
32 : fracture_material(fracture_material_),
34 fracture_material.createMaterialStateVariables()),
36 {
37 }
38
39 using GlobalDimVectorType = Eigen::Matrix<double, DisplacementDim, 1>;
40
41 typename HMatricesType::HMatrixType H_u;
42 typename HMatricesType::ForceVectorType sigma_eff, sigma_eff_prev;
43 typename HMatricesType::ForceVectorType w, w_prev;
44
45 typename ShapeMatrixTypePressure::NodalRowVectorType N_p;
46 typename ShapeMatrixTypePressure::GlobalDimNodalMatrixType dNdx_p;
47
48 double aperture = 0.0;
49 double aperture0 = 0.0;
50 double permeability = 0.0;
51
54 std::unique_ptr<typename MaterialLib::Fracture::FractureModelBase<
55 DisplacementDim>::MaterialStateVariables>
57
58 Eigen::MatrixXd C;
60
62
64 {
65 w_prev = w;
67 material_state_variables->pushBackState();
68 }
69
71};
72
73} // namespace HydroMechanics
74} // namespace LIE
75} // namespace ProcessLib
MaterialLib::Fracture::FractureModelBase< DisplacementDim > & fracture_material
IntegrationPointDataFracture(MaterialLib::Fracture::FractureModelBase< DisplacementDim > &fracture_material_)
std::unique_ptr< typename MaterialLib::Fracture::FractureModelBase< DisplacementDim >::MaterialStateVariables > material_state_variables