File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1411,12 +1411,12 @@ namespace aspect
14111411 /* *
14121412 * Compute the deviator of a symmetric tensor. Unlike the function with the same name in
14131413 * deal.II, this function is consistent with the plane strain assumption when dim = 2.
1414- * Specifically, the deviator of the stress tensor $\mathbf\tau$ in 2D is given by
1414+ * Specifically, the deviator of the stress tensor $\mathbf\tau$ in 2D is given by
14151415 * $\text{dev}(\mathbf\tau) = \mathbf\tau - \frac{1}{3}\text{trace}(\mathbf\tau)\mathbf 1$
14161416 * under the plane strain assumption.
14171417 */
14181418 template <int dim>
1419- SymmetricTensor<2 ,dim>
1419+ SymmetricTensor<2 ,dim>
14201420 deviator (const SymmetricTensor<2 ,dim> &input);
14211421
14221422 /* *
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ namespace aspect
6464 // In later iterations and timesteps we calculate the second moment
6565 // invariant of the deviatoric strain rate tensor.
6666 // This is equal to the negative of the second principle
67- // invariant of the deviatoric strain rate, as shown in Appendix A of
67+ // invariant of the deviatoric strain rate, as shown in Appendix A of
6868 // Zienkiewicz and Taylor (Solid Mechanics, 2000).
6969 //
7070 // The negative of the second principle invariant is equal to 0.5 e_dot_dev_ij e_dot_dev_ji,
Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ namespace aspect
306306 ExcMessage (" Invalid strain_rate in the MaterialModelInputs. This is likely because it was "
307307 " not filled by the caller." ));
308308
309- const SymmetricTensor<2 , dim> effective_strain_rate =
309+ const SymmetricTensor<2 , dim> effective_strain_rate =
310310 elastic_rheology.calculate_viscoelastic_strain_rate (Utilities::Tensors::deviator (in.strain_rate [i]),
311311 stress_0_advected,
312312 stress_old,
You can’t perform that action at this time.
0 commit comments