[cig-commits] r11901 - cs/avm/trunk

tan2 at geodynamics.org tan2 at geodynamics.org
Fri May 2 15:37:43 PDT 2008


Author: tan2
Date: 2008-05-02 15:37:42 -0700 (Fri, 02 May 2008)
New Revision: 11901

Modified:
   cs/avm/trunk/Makefile
   cs/avm/trunk/elastic-models.c
Log:
update comments

Modified: cs/avm/trunk/Makefile
===================================================================
--- cs/avm/trunk/Makefile	2008-05-02 22:36:59 UTC (rev 11900)
+++ cs/avm/trunk/Makefile	2008-05-02 22:37:42 UTC (rev 11901)
@@ -22,11 +22,15 @@
 ##
 
 
+##############################################################################
+# Modify this section for your build environment
+##############################################################################
+
 ## C compiler
 CC = gcc
 
 ## Fortran 90 compiler
-## (must be the same compiler for SpecFEM3D Globe)
+## (must be the same compiler for building SpecFEM3D Globe!!!)
 F90 = mpif90
 
 ## Directory of SpecFEM3D Globe
@@ -38,9 +42,11 @@
 FFLAGS = $(CFLAGS)
 PFLAGS = -I$(SPECFEM_HOME)
 
+
 ##############################################################################
+# Modify this section only when you know what you are doing
+##############################################################################
 
-
 all: avm-partition avm write_CitcomS_tracers
 
 

Modified: cs/avm/trunk/elastic-models.c
===================================================================
--- cs/avm/trunk/elastic-models.c	2008-05-02 22:36:59 UTC (rev 11900)
+++ cs/avm/trunk/elastic-models.c	2008-05-02 22:37:42 UTC (rev 11901)
@@ -33,7 +33,7 @@
 /****************************************************************************/
 
 /*
- * These functions takes a vector fileds, whis is num_columns in length and
+ * These functions takes a vector fileds, whis has num_columns entries and
  * the last num_compositions entries are compositions, and returns the
  * density, bulk and shear moduli. All quantities are in SI units.
  */
@@ -63,6 +63,7 @@
      *
      * model_type 1-9 are based on PREM.
      * model_type 100 and later are reserved for user modification.
+     * model_type 0 is not allowed.
      * other model_type are not defined yet.
      */
     switch (model_type) {



More information about the cig-commits mailing list