Skip to content
Snippets Groups Projects
Commit d8fecff7 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[PL/RM] Add porosity to integration points.

And the corresponding push-back.
parent 768c432a
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,8 @@ struct IntegrationPointData final
typename ShapeMatricesTypePressure::GlobalDimNodalMatrixType dNdx_p;
double saturation;
double porosity = std::numeric_limits<double>::quiet_NaN();
double porosity_prev = std::numeric_limits<double>::quiet_NaN();
MaterialLib::Solids::MechanicsBase<DisplacementDim> const& solid_material;
std::unique_ptr<typename MaterialLib::Solids::MechanicsBase<
......@@ -67,6 +69,7 @@ struct IntegrationPointData final
{
eps_prev = eps;
sigma_eff_prev = sigma_eff;
porosity_prev = porosity;
material_state_variables->pushBackState();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment