[cig-commits] [commit] master: Adjust a couple of comments. (216fd49)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed May 21 14:30:06 PDT 2014


Repository : https://github.com/geodynamics/aspect

On branch  : master
Link       : https://github.com/geodynamics/aspect/compare/58a3ca45d49c7d331fa02d1fce0b2a74705241eb...7c9b74ed7f6e149b86519d3abf0c555383cba169

>---------------------------------------------------------------

commit 216fd49563a9d5cb2d36755708586fdd9bfd3d49
Author: Wolfgang Bangerth <bangerth at math.tamu.edu>
Date:   Wed May 21 16:23:25 2014 -0500

    Adjust a couple of comments.


>---------------------------------------------------------------

216fd49563a9d5cb2d36755708586fdd9bfd3d49
 source/simulator/core.cc | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/source/simulator/core.cc b/source/simulator/core.cc
index 9288c2c..d16cae2 100644
--- a/source/simulator/core.cc
+++ b/source/simulator/core.cc
@@ -504,8 +504,8 @@ namespace aspect
           parameters.n_compositional_fields
           * introspection.system_dofs_per_block[introspection.block_indices.compositional_fields[0]]);
 
-    // then interpolate the current boundary velocities. this adds to
-    // the 'constraints' object we already have
+    // then interpolate the current boundary velocities. copy constraints
+    // into current_constraints and then add to current_constraints
     current_constraints.clear ();
     current_constraints.reinit (introspection.index_sets.system_relevant_set);
     current_constraints.merge (constraints);
@@ -555,7 +555,8 @@ namespace aspect
         }
     }
 
-    // now do the same for the temperature variable
+    // do the same for the temperature variable: evaluate the current boundary temperature
+    // and add these constraints as well
     {
       // obtain the boundary indicators that belong to Dirichlet-type
       // temperature boundary conditions and interpolate the temperature



More information about the CIG-COMMITS mailing list