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
9
10namespace ProcessLib
11{
12namespace LIE
13{
14namespace SmallDeformation
15{
16template <typename HMatricesType, int DisplacementDim>
18{
21 fracture_material_)
22 : fracture_material(fracture_material_),
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
37 std::unique_ptr<typename MaterialLib::Fracture::FractureModelBase<
38 DisplacementDim>::MaterialStateVariables>
40
41 Eigen::MatrixXd C;
43
45 {
46 w_prev = w;
49 material_state_variables->pushBackState();
50 }
51
53};
54
55} // namespace SmallDeformation
56} // namespace LIE
57} // namespace ProcessLib
std::unique_ptr< typename MaterialLib::Fracture::FractureModelBase< DisplacementDim >::MaterialStateVariables > material_state_variables
IntegrationPointDataFracture(MaterialLib::Fracture::FractureModelBase< DisplacementDim > &fracture_material_)