We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa2b5c7 commit 1a16ed2Copy full SHA for 1a16ed2
source/material_model/rheology/composite_visco_plastic.cc
@@ -657,7 +657,7 @@ namespace aspect
657
// arranged in parallel with the viscoplastic elements.
658
// The total stress is equal to the sum of the viscoplastic stress and
659
// damper stress.
660
- const double damper_stress = 2. * damper_viscosity * (edot_ii - partial_strain_rates[4]);
+ const double damper_stress = 2. * damper_viscosity * (edot_ii - partial_strain_rates[isostrain_damper_strain_rate_index]);
661
const double total_stress = viscoplastic_stress + damper_stress;
662
663
// 6) Return the effective creep viscosity using the total stress
0 commit comments