[cig-commits] [commit] master: Document being able to use $ASPECT_SOURCE_DIR. (b5d343b)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Tue May 20 13:51:03 PDT 2014


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

On branch  : master
Link       : https://github.com/geodynamics/aspect/compare/0586ab6f9cf6ec525c331a8c0113ca155a3f1f87...d148500eae3d92d6094ffdbb7fa3f87712d1deac

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

commit b5d343be0a7ad02f3a1fda186a06724ef381f406
Author: Wolfgang Bangerth <bangerth at math.tamu.edu>
Date:   Tue May 20 15:44:11 2014 -0500

    Document being able to use $ASPECT_SOURCE_DIR.


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

b5d343be0a7ad02f3a1fda186a06724ef381f406
 source/initial_conditions/solidus.cc | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/source/initial_conditions/solidus.cc b/source/initial_conditions/solidus.cc
index 83146b7..f82d8d3 100644
--- a/source/initial_conditions/solidus.cc
+++ b/source/initial_conditions/solidus.cc
@@ -236,7 +236,14 @@ namespace aspect
                                "Line 2:  Unit of temperature (C/K)        "
                                "Unit of pressure (GPa/kbar) or radius (km/m) \n"
                                "Line 3~: Column of solidus temperature    Column of radius/pressure \n"
-                               "See data/initial_temperature/solidus.Mars as an example.");
+                               "See data/initial_temperature/solidus.Mars as an example."
+                               "\n\n"
+                               "In order to facilitate placing input files in locations relative "
+                               "to the ASPECT source directory, the file name may also include the special "
+                               "text '$ASPECT_SOURCE_DIR' which will be interpreted as the path "
+                               "in which the ASPECT source files were located when ASPECT was "
+                               "compiled. This interpretation allows, for example, to reference "
+                               "files located in the 'data/' subdirectory of ASPECT.");
           }
           prm.leave_subsection();
         }



More information about the CIG-COMMITS mailing list