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

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Nov 5 19:08:59 PST 2014


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

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

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

commit ac50f307f492cf25b31bafdccf593a36ec22e36b
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date:   Thu Sep 18 10:14:21 2014 -0700

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


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

ac50f307f492cf25b31bafdccf593a36ec22e36b
 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 7c5172f..446e02a 100644
--- a/lib/Full_tracer_advection.c
+++ b/lib/Full_tracer_advection.c
@@ -34,7 +34,7 @@
 #include "composition_related.h"
 
 static void get_2dshape(struct All_variables *E,
-                        int j, int nelem,
+                        int nelem,
                         double u, double v,
                         int iwedge, double * shape2d);
 static void get_radial_shape(struct All_variables *E,
@@ -913,7 +913,7 @@ void full_get_shape_functions(struct All_variables *E,
     /* determine shape functions of wedge */
     /* There are 3 shape functions for the triangular wedge */
 
-    get_2dshape(E,CPPR,nelem,u,v,iwedge,shape2d);
+    get_2dshape(E,nelem,u,v,iwedge,shape2d);
 
     /* if any shape functions are negative, goto next wedge */
 
@@ -1111,7 +1111,7 @@ void full_get_velocity(struct All_variables *E,
 /* van Steenhoven, 1986).                                      */
 
 static void get_2dshape(struct All_variables *E,
-                        int j, int nelem,
+                        int nelem,
                         double u, double v,
                         int iwedge, double * shape2d)
 {



More information about the CIG-COMMITS mailing list