Skip to content

Commit

Permalink
Indent
Browse files Browse the repository at this point in the history
  • Loading branch information
anne-glerum committed Jun 2, 2024
1 parent ed1b284 commit 8352252
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/aspect/material_model/visco_plastic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion include/aspect/material_model/viscoelastic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion source/material_model/rheology/elasticity.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<dim>(&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<dim>(&in.composition[i][stress_start_index+n_independent_components],
&in.composition[i][stress_start_index+n_independent_components]+n_independent_components));

Expand Down

0 comments on commit 8352252

Please sign in to comment.