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

[PL/TH2M] Readability. Add T_prev in local context

parent 87431751
No related branches found
No related tags found
No related merge requests found
......@@ -266,8 +266,8 @@ TH2MLocalAssembler<ShapeFunctionDisplacement, ShapeFunctionPressure,
auto const rhoSR = rho_ref_SR;
#endif // NON_CONSTANT_SOLID_PHASE_VOLUME_FRACTION
ip_cv.C = ip_data.updateConstitutiveRelation(vars, t, pos, dt,
T - T_dot * dt);
auto const T_prev = T - T_dot * dt;
ip_cv.C = ip_data.updateConstitutiveRelation(vars, t, pos, dt, T_prev);
// constitutive model object as specified in process creation
auto& ptm = *_process_data.phase_transition_model_;
......
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