[cig-commits] [commit] pluggable: Allow users to define their own crustal model. (c9c28b9)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Apr 9 08:54:42 PDT 2014


Repository : ssh://geoshell/specfem3d_globe

On branch  : pluggable
Link       : https://github.com/geodynamics/specfem3d_globe/compare/64e1b38f0c5ebb4056cce0b15d41c0b9f94ab6e5...099a4d330d5b173b21e51ad441f9f429e5d37842

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

commit c9c28b997ffc47103419406a4445ca020497d92a
Author: Leif Strand <leif at geodynamics.org>
Date:   Thu Nov 20 01:45:01 2008 +0000

    Allow users to define their own crustal model.


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

c9c28b997ffc47103419406a4445ca020497d92a
 Makefile.in   | 10 ++++------
 meshfem3D.f90 |  2 +-
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index b1c6df7..bef1666 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -179,14 +179,9 @@ bak: backup
 #### includes
 ####
 
-include $S/MODELS/crustal/crust2.0/build.mk
-
 # This file is generated by 'specfem3D.py'.
 include model.mk
 
-model_OBJECTS += $(crustal_model_OBJECTS)
-
-
 #include $S/MODELS/3D/s20rts/build.mk
 #include $S/MODELS/3D/s362ani/build.mk
 #include $S/MODELS/3D/s29ea/build.mk
@@ -197,7 +192,10 @@ model_OBJECTS += $(crustal_model_OBJECTS)
 #include $S/MODELS/3D/Montagner/build.mk
 #include $S/MODELS/3D/none/build.mk
 
-# This is determined by the 3D mantle model.
+# This is determined by the 3D model.
+#include $S/MODELS/crustal/crust2.0/build.mk
+
+# This is determined by the 3D model.
 #include $S/MODELS/1D_ref/prem/build.mk
 #include $S/MODELS/1D_ref/iasp91/build.mk
 #include $S/MODELS/1D_ref/1066a/build.mk
diff --git a/meshfem3D.f90 b/meshfem3D.f90
index 75c5656..473916d 100644
--- a/meshfem3D.f90
+++ b/meshfem3D.f90
@@ -860,7 +860,7 @@
   call read_3d_mantle_model(myrank)
 
   if(CRUSTAL) then
-    call read_crust_2_0(myrank)
+    call read_crust(myrank)
   endif
 
   if(ANISOTROPIC_INNER_CORE) then



More information about the CIG-COMMITS mailing list