[cig-commits] [commit] master: Augment a TODO. (ea6f71f)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed May 21 12:33:34 PDT 2014
Repository : https://github.com/geodynamics/aspect
On branch : master
Link : https://github.com/geodynamics/aspect/compare/a35e4f5e47a47903957f7c84c785299a49101c46...2df080f4905a6be43fd1729ea0d6a7a956cce070
>---------------------------------------------------------------
commit ea6f71f512fbba26bd1db7cf5c0bc803afba7150
Author: Wolfgang Bangerth <bangerth at math.tamu.edu>
Date: Wed May 21 14:00:17 2014 -0500
Augment a TODO.
>---------------------------------------------------------------
ea6f71f512fbba26bd1db7cf5c0bc803afba7150
source/simulator/initial_conditions.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/source/simulator/initial_conditions.cc b/source/simulator/initial_conditions.cc
index 2b7a4ba..5c9d4c3 100644
--- a/source/simulator/initial_conditions.cc
+++ b/source/simulator/initial_conditions.cc
@@ -68,7 +68,8 @@ namespace aspect
//TODO: The code here is confusing. We should be using something
// like the AdevctionField class instead of just a single
-// integer 'n'
+// integer 'n', and iterate over its components. in any case, we
+// should probably ask AdvectionField how many fields there actually are
for (unsigned int n=0; n<1+parameters.n_compositional_fields; ++n)
{
AdvectionField torc = (n==0) ? AdvectionField::temperature()
More information about the CIG-COMMITS
mailing list