[cig-commits] [commit] master: Style fixes. (bc31071)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Thu May 15 08:58:14 PDT 2014
Repository : https://github.com/geodynamics/aspect
On branch : master
Link : https://github.com/geodynamics/aspect/compare/2f27335d4a52efc6ce31351c2a47422171411114...47f27df84eb33170e6ea9a3937e3adc652a9f3f0
>---------------------------------------------------------------
commit bc31071902872d5ea42271e341a1a4cd29a9788d
Author: Wolfgang Bangerth <bangerth at math.tamu.edu>
Date: Thu May 15 10:17:38 2014 -0500
Style fixes.
>---------------------------------------------------------------
bc31071902872d5ea42271e341a1a4cd29a9788d
include/aspect/material_model/interface.h | 3 ++-
source/material_model/interface.cc | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/aspect/material_model/interface.h b/include/aspect/material_model/interface.h
index 59ebf49..0eaa901 100644
--- a/include/aspect/material_model/interface.h
+++ b/include/aspect/material_model/interface.h
@@ -530,7 +530,8 @@ namespace aspect
*/
struct MaterialModelOutputs
{
- MaterialModelOutputs(unsigned int n_points, unsigned int n_comp);
+ MaterialModelOutputs (const unsigned int n_points,
+ const unsigned int n_comp);
/**
* Viscosity $\eta$ values at the given positions.
diff --git a/source/material_model/interface.cc b/source/material_model/interface.cc
index c60b301..69e0af3 100644
--- a/source/material_model/interface.cc
+++ b/source/material_model/interface.cc
@@ -305,7 +305,8 @@ namespace aspect
}
template <int dim>
- Interface<dim>::MaterialModelOutputs::MaterialModelOutputs(unsigned int n_points, unsigned int n_comp)
+ Interface<dim>::MaterialModelOutputs::MaterialModelOutputs(const unsigned int n_points,
+ const unsigned int n_comp)
{
viscosities.resize(n_points);
densities.resize(n_points);
More information about the CIG-COMMITS
mailing list