[cig-commits] r11815 - cs/benchmark/cigma/trunk/src/okada

luis at geodynamics.org luis at geodynamics.org
Tue Apr 15 08:10:02 PDT 2008


Author: luis
Date: 2008-04-15 08:10:02 -0700 (Tue, 15 Apr 2008)
New Revision: 11815

Modified:
   cs/benchmark/cigma/trunk/src/okada/cervelli.cpp
   cs/benchmark/cigma/trunk/src/okada/cervelli.h
Log:
Expose getM() in cervelli.h (no longer a private function)


Modified: cs/benchmark/cigma/trunk/src/okada/cervelli.cpp
===================================================================
--- cs/benchmark/cigma/trunk/src/okada/cervelli.cpp	2008-04-15 15:10:01 UTC (rev 11814)
+++ cs/benchmark/cigma/trunk/src/okada/cervelli.cpp	2008-04-15 15:10:02 UTC (rev 11815)
@@ -113,8 +113,7 @@
  *                      (see below for what is on the rows)
  *                      (one row per fault patch)
  */
-static void
-getM(double *fi, int nmod, double mu, double *M)
+void getM(double *fi, int nmod, double mu, double *M)
 {
     int j;
     double *fault;

Modified: cs/benchmark/cigma/trunk/src/okada/cervelli.h
===================================================================
--- cs/benchmark/cigma/trunk/src/okada/cervelli.h	2008-04-15 15:10:01 UTC (rev 11814)
+++ cs/benchmark/cigma/trunk/src/okada/cervelli.h	2008-04-15 15:10:02 UTC (rev 11815)
@@ -5,6 +5,8 @@
 extern "C" {
 #endif
 
+void getM(double *fi, int nmod, double mu, double *M);
+
 void calc_disp_cervelli(double mu, double nu,
                         double *models, double *fault_info, int nfaults,
                         double *stations, int nstations,



More information about the cig-commits mailing list