[cig-commits] [commit] rajesh-petsc-schur: Eliminated the 2nd argument of spherical_to_uv, which was set to the caps_per_proc loop variable (c22b0e1)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Nov 5 19:09:21 PST 2014


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

On branch  : rajesh-petsc-schur
Link       : https://github.com/geodynamics/citcoms/compare/464e1b32299b15819f93efd98d969cddb84dfe51...f97ae655a50bdbd6dac1923a3471ee4dae178fbd

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

commit c22b0e1a5dde5ff18ac318df1ea5e6f4e0adfa40
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date:   Thu Sep 18 11:05:21 2014 -0700

    Eliminated the 2nd argument of spherical_to_uv, which was set to the caps_per_proc loop variable


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

c22b0e1a5dde5ff18ac318df1ea5e6f4e0adfa40
 lib/Full_tracer_advection.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/Full_tracer_advection.c b/lib/Full_tracer_advection.c
index bc9b9df..b9d21ca 100644
--- a/lib/Full_tracer_advection.c
+++ b/lib/Full_tracer_advection.c
@@ -40,7 +40,7 @@ static void get_2dshape(struct All_variables *E,
 static void get_radial_shape(struct All_variables *E,
                              int j, int nelem,
                              double rad, double *shaperad);
-static void spherical_to_uv(struct All_variables *E, int j,
+static void spherical_to_uv(struct All_variables *E,
                             double theta, double phi,
                             double *u, double *v);
 static void make_regular_grid(struct All_variables *E);
@@ -897,7 +897,7 @@ void full_get_shape_functions(struct All_variables *E,
 
     /* find u and v using spherical coordinates */
 
-    spherical_to_uv(E,CPPR,theta,phi,&u,&v);
+    spherical_to_uv(E,theta,phi,&u,&v);
 
     inum=0;
     itry=1;
@@ -1203,7 +1203,7 @@ static void get_radial_shape(struct All_variables *E,
 /* This function transforms theta and phi to new coords       */
 /* u and v using gnomonic projection.                          */
 
-static void spherical_to_uv(struct All_variables *E, int j,
+static void spherical_to_uv(struct All_variables *E,
                             double theta, double phi,
                             double *u, double *v)
 {



More information about the CIG-COMMITS mailing list