[cig-commits] [commit] master: Update comment. (d7b36a8)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Tue Jan 13 11:46:50 PST 2015


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

On branch  : master
Link       : https://github.com/geodynamics/aspect/compare/a35a0826b0a629eb322adf3dd4f68bc70344e042...36e4420c87fda8026b8a3d1f639e798f6c59f3d0

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

commit d7b36a879cd9396be621fdf072e9cea77f7de295
Author: Rene Gassmoeller <R.Gassmoeller at mailbox.org>
Date:   Tue Jan 13 20:45:28 2015 +0100

    Update comment.


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

d7b36a879cd9396be621fdf072e9cea77f7de295
 source/initial_conditions/adiabatic.cc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/source/initial_conditions/adiabatic.cc b/source/initial_conditions/adiabatic.cc
index dfc2ce4..58f03a4 100644
--- a/source/initial_conditions/adiabatic.cc
+++ b/source/initial_conditions/adiabatic.cc
@@ -53,7 +53,10 @@ namespace aspect
                                                   adiabatic_surface_temperature;
 
       // then, get the temperature at the top and bottom boundary of the model
-      // if no boundary temperature is prescribed simply use the adiabatic
+      // if no boundary temperature is prescribed simply use the adiabatic.
+      // This implementation assumes that the top and bottom boundaries have
+      // prescribed temperatures and minimal_temperature() returns the value
+      // at the surface and maximal_temperature() the value at the bottom.
       const double T_surface = (&this->get_boundary_temperature() != 0)
                                ?
                                    this->get_boundary_temperature().minimal_temperature(



More information about the CIG-COMMITS mailing list