[cig-commits] [commit] master: Add units (32961e0)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Mon May 19 15:13:50 PDT 2014
Repository : https://github.com/geodynamics/aspect
On branch : master
Link : https://github.com/geodynamics/aspect/compare/ed4caebc0ab942d8c7bc1a6a3ba70e37f93accde...dbe66e1b6d25d5ff21653c48f14f343e10ae69f4
>---------------------------------------------------------------
commit 32961e0c3b11b38e896112b7ab73529cc1e4d452
Author: ian-r-rose <ian.r.rose at gmail.com>
Date: Mon May 19 16:06:20 2014 -0500
Add units
>---------------------------------------------------------------
32961e0c3b11b38e896112b7ab73529cc1e4d452
source/material_model/multicomponent.cc | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/source/material_model/multicomponent.cc b/source/material_model/multicomponent.cc
index 50c2a2f..32041c9 100644
--- a/source/material_model/multicomponent.cc
+++ b/source/material_model/multicomponent.cc
@@ -333,33 +333,33 @@ namespace aspect
Patterns::List(Patterns::Double(0)),
"List of densities for background mantle and compositional fields,"
"for a total of N+1 values, where N is the number of compositional fields."
- "If one value is given, then all use the same value");
+ "If only one value is given, then all use the same value. Units: $kg / m^3$");
prm.declare_entry ("Viscosities", "1.e21",
Patterns::List(Patterns::Double(0)),
"List of viscosities for background mantle and compositional fields,"
"for a total of N+1 values, where N is the number of compositional fields."
- "If one value is given, then all use the same value");
+ "If only one value is given, then all use the same value. Units: $Pa s$");
prm.declare_entry ("Thermal expansivities", "4.e-5",
Patterns::List(Patterns::Double(0)),
"List of thermal expansivities for background mantle and compositional fields,"
"for a total of N+1 values, where N is the number of compositional fields."
- "If one value is given, then all use the same value");
+ "If only one value is given, then all use the same value. Units: $1/K$");
prm.declare_entry ("Specific heats", "1250.",
Patterns::List(Patterns::Double(0)),
"List of specific heats for background mantle and compositional fields,"
"for a total of N+1 values, where N is the number of compositional fields."
- "If one value is given, then all use the same value");
+ "If only one value is given, then all use the same value. Units: $J /kg /K$");
prm.declare_entry ("Thermal conductivities", "4.7",
Patterns::List(Patterns::Double(0)),
"List of thermal conductivities for background mantle and compositional fields,"
"for a total of N+1 values, where N is the number of compositional fields."
- "If one value is given, then all use the same value");
+ "If only one value is given, then all use the same value. Units: $W/m/K$ ");
prm.declare_entry("Viscosity averaging scheme", "Harmonic",
Patterns::Selection("Arithmetic|Harmonic|Geometric|Maximum composition"),
"When more than one compositional field is present at a point "
"with different viscosities, we need to come up with an average "
"viscosity at that point. Select a weighted harmonic, arithmetic, "
- "geometric, or maximum composition");
+ "geometric, or maximum composition.");
}
prm.leave_subsection();
}
More information about the CIG-COMMITS
mailing list