Skip to content

Commit 3ef7b3f

Browse files
committed
Fix inproper variable names
1 parent 6a5ed77 commit 3ef7b3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/material_model/rheology/elasticity.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -858,10 +858,10 @@ namespace aspect
858858
const double timestep_ratio = calculate_timestep_ratio();
859859

860860
const SymmetricTensor<2, dim>
861-
edot_deviator = strain_rate + 0.5 * stress_0_advected / elastic_viscosity
862-
+ 0.5 * (1. - timestep_ratio) * (1. - creep_viscosity/elastic_viscosity) * stress_old / creep_viscosity;
861+
edot = strain_rate + 0.5 * stress_0_advected / elastic_viscosity
862+
+ 0.5 * (1. - timestep_ratio) * (1. - creep_viscosity/elastic_viscosity) * stress_old / creep_viscosity;
863863

864-
return edot_deviator;
864+
return edot;
865865
}
866866

867867

0 commit comments

Comments
 (0)