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

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Nov 5 19:10:11 PST 2014


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

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

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

commit d0722d454397295e6103737967898a154c11b930
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date:   Thu Sep 18 13:09:58 2014 -0700

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


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

d0722d454397295e6103737967898a154c11b930
 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 fbca1df..990ca58 100644
--- a/lib/Full_tracer_advection.c
+++ b/lib/Full_tracer_advection.c
@@ -38,7 +38,7 @@ static void get_2dshape(struct All_variables *E,
                         double u, double v,
                         int iwedge, double * shape2d);
 static void get_radial_shape(struct All_variables *E,
-                             int j, int nelem,
+                             int nelem,
                              double rad, double *shaperad);
 static void spherical_to_uv(struct All_variables *E,
                             double theta, double phi,
@@ -964,7 +964,7 @@ void full_get_shape_functions(struct All_variables *E,
     /* Determine radial shape functions */
     /* There are 2 shape functions radially */
 
-    get_radial_shape(E,CPPR,nelem,rad,shaperad);
+    get_radial_shape(E,nelem,rad,shaperad);
 
     /* There are 6 nodes to the solid wedge.             */
     /* The 6 shape functions assocated with the 6 nodes  */
@@ -1150,7 +1150,7 @@ static void get_2dshape(struct All_variables *E,
 /* This function determines radial shape functions at rad      */
 
 static void get_radial_shape(struct All_variables *E,
-                             int j, int nelem,
+                             int nelem,
                              double rad, double *shaperad)
 {
 



More information about the CIG-COMMITS mailing list