Skip to content

Commit 60124a1

Browse files
committed
fix bugs
1 parent 93642fa commit 60124a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/material_model/grain_size.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ namespace aspect
198198
}
199199

200200
const double strain_rate_dependence = (1.0 - dislocation_creep_exponent[phase_index]) / dislocation_creep_exponent[phase_index];
201-
const SymmetricTensor<2,dim> shear_strain_rate = Utilities::Tensors::deviator(shear_strain_rate);
201+
const SymmetricTensor<2,dim> shear_strain_rate = Utilities::Tensors::deviator(strain_rate);
202202
const double second_strain_rate_invariant = std::sqrt(std::max(-Utilities::Tensors::deviatoric_tensor_inv2(shear_strain_rate), 0.));
203203

204204
// If the strain rate is zero, the dislocation viscosity is infinity.

0 commit comments

Comments
 (0)