From 8352252d0de21e3c65556b23ed92e1e598dedcc2 Mon Sep 17 00:00:00 2001 From: anne-glerum Date: Mon, 3 Jun 2024 00:16:33 +0200 Subject: [PATCH] Indent --- include/aspect/material_model/visco_plastic.h | 2 +- include/aspect/material_model/viscoelastic.h | 2 +- source/material_model/rheology/elasticity.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/aspect/material_model/visco_plastic.h b/include/aspect/material_model/visco_plastic.h index 874e9d6dec9..9ddb3a78d52 100644 --- a/include/aspect/material_model/visco_plastic.h +++ b/include/aspect/material_model/visco_plastic.h @@ -78,7 +78,7 @@ namespace aspect * format, which is designed to minimize mislabeling stress tensor components * as distinct 'compositional rock types' (or vice versa). For 2D models, * 3+3 consecutive compositional fields must be labeled ve_stress_xx, ve_stress_yy - * ve_stress_xy, ve_stress_xx_old, ve_stress_yy_old, ve_stress_xy_old. + * ve_stress_xy, ve_stress_xx_old, ve_stress_yy_old, ve_stress_xy_old. * In 3D, six consecutive compositional fields must be labeled * ve_stress_xx, ve_stress_yy, ve_stress_zz, ve_stress_xy, ve_stress_xz, ve_stress_yz, * ve_stress_xx_old, ve_stress_yy_old, ve_stress_zz_old, ve_stress_xy_old, diff --git a/include/aspect/material_model/viscoelastic.h b/include/aspect/material_model/viscoelastic.h index 1a37530d0a0..6ababe9c5d5 100644 --- a/include/aspect/material_model/viscoelastic.h +++ b/include/aspect/material_model/viscoelastic.h @@ -46,7 +46,7 @@ namespace aspect * format, which is designed to minimize mislabeling stress tensor components * as distinct 'compositional rock types' (or vice versa). For 2D models, * 3+3 consecutive compositional fields must be labeled ve_stress_xx, ve_stress_yy, - * ve_stress_xy, ve_stress_xx_old, ve_stress_yy_old, ve_stress_xy_old. + * ve_stress_xy, ve_stress_xx_old, ve_stress_yy_old, ve_stress_xy_old. * In 3D, 6+6 consecutive compositional fields must be labeled * ve_stress_xx, ve_stress_yy, ve_stress_zz, ve_stress_xy, ve_stress_xz, ve_stress_yz, * ve_stress_xx_old, ve_stress_yy_old, ve_stress_zz_old, ve_stress_xy_old, diff --git a/source/material_model/rheology/elasticity.cc b/source/material_model/rheology/elasticity.cc index 96fc80c63ae..0af2e23b9d3 100644 --- a/source/material_model/rheology/elasticity.cc +++ b/source/material_model/rheology/elasticity.cc @@ -496,7 +496,7 @@ namespace aspect const double eta = out.viscosities[i]; const SymmetricTensor<2, dim> deviatoric_strain_rate = deviator(in.strain_rate[i]); const SymmetricTensor<2,dim> stress_0_advected (Utilities::Tensors::to_symmetric_tensor(&in.composition[i][stress_start_index], - &in.composition[i][stress_start_index]+n_independent_components)); + &in.composition[i][stress_start_index]+n_independent_components)); const SymmetricTensor<2,dim> stress_old (Utilities::Tensors::to_symmetric_tensor(&in.composition[i][stress_start_index+n_independent_components], &in.composition[i][stress_start_index+n_independent_components]+n_independent_components));