Skip to content

Commit

Permalink
Merge branch 'minor_correction' into 'master'
Browse files Browse the repository at this point in the history
[HM] Minor correction

See merge request ogs/ogs!4933
  • Loading branch information
chleh committed Feb 29, 2024
2 parents d67dca7 + a6b714e commit 9da4d22
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
A optional tag to input the parameter of initial stress in porous media. It is
An optional tag to input the parameter of initial stress in porous media. It is
used in processes `LIE`, `HydroMechanics`, `ThermoHydroMechanics`,
`RichardsMechanics`, `ThermoRichardsMechanics`, and `TH2M`.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
A optional tag to input the parameter of initial stress in porous media. It is
An optional tag to input the parameter of initial stress in porous media. It is
used in processes `LIE`, `HydroMechanics`, `ThermoHydroMechanics`,
`RichardsMechanics`, `ThermoRichardsMechanics`, and `TH2M`.
4 changes: 2 additions & 2 deletions ProcessLib/HydroMechanics/HydroMechanicsFEM-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -884,8 +884,8 @@ void HydroMechanicsLocalAssembler<ShapeFunctionDisplacement,
.template value<double>(vars, x_position, t, dt);

auto& sigma_eff = _ip_data[ip].sigma_eff;
sigma_eff += alpha_b * N_p.dot(p) * identity2;
_ip_data[ip].sigma_eff_prev = sigma_eff;
sigma_eff.noalias() += alpha_b * N_p.dot(p) * identity2;
_ip_data[ip].sigma_eff_prev.noalias() = sigma_eff;
}
}
}
Expand Down

0 comments on commit 9da4d22

Please sign in to comment.