Skip to content

Commit 8f38002

Browse files
committed
adjust the format
1 parent 67a4ee3 commit 8f38002

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

include/aspect/utilities.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
/**

source/material_model/drucker_prager.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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,

source/material_model/rheology/visco_plastic.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)