[cig-commits] [commit] rajesh-petsc-schur: Eliminated the 8th argument of pg_shape_fn, which was set to the caps_per_proc loop variable (185942d)

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


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

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

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

commit 185942d85c43f08201f44ead10e18a67a088d1b6
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date:   Thu Sep 18 12:26:38 2014 -0700

    Eliminated the 8th argument of pg_shape_fn, which was set to the caps_per_proc loop variable


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

185942d85c43f08201f44ead10e18a67a088d1b6
 lib/Advection_diffusion.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/lib/Advection_diffusion.c b/lib/Advection_diffusion.c
index 4b673ec..9f447fa 100644
--- a/lib/Advection_diffusion.c
+++ b/lib/Advection_diffusion.c
@@ -50,7 +50,7 @@ static void pg_shape_fn(struct All_variables *E, int el,
                         struct Shape_function *PG,
                         struct Shape_function_dx *GNx,
                         float VV[4][9], double rtf[4][9],
-                        double diffusion, int m);
+                        double diffusion);
 static void element_residual(struct All_variables *E, int el,
                              struct Shape_function *PG,
                              struct Shape_function_dx *GNx,
@@ -380,8 +380,7 @@ static void pg_solver(struct All_variables *E,
       get_rtf_at_vpts(E, CPPR, lev, el, rtf);
 
       /* XXX: replace diff with refstate.thermal_conductivity */
-      pg_shape_fn(E, el, &PG, &(E->gNX[CPPR][el]), VV,
-                  rtf, diff, CPPR);
+      pg_shape_fn(E, el, &PG, &(E->gNX[CPPR][el]), VV, rtf, diff);
       element_residual(E, el, &PG, &(E->gNX[CPPR][el]), &(E->gDA[CPPR][el]),
                        VV, T, Tdot,
                        Q0, Eres, rtf, diff, E->sphere.cap[CPPR].TB,
@@ -415,7 +414,7 @@ static void pg_shape_fn(struct All_variables *E, int el,
                         struct Shape_function *PG,
                         struct Shape_function_dx *GNx,
                         float VV[4][9], double rtf[4][9],
-                        double diffusion, int m)
+                        double diffusion)
 {
     int i,j;
     int *ienm;



More information about the CIG-COMMITS mailing list