[cig-commits] [commit] rajesh-petsc-schur: Eliminated the 5th argument of get_elt_c, which was set to the caps_per_proc loop variable (119849c)

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


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

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

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

commit 119849c3615898d756f36b124a5056f3e6ca859a
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date:   Thu Sep 18 10:34:07 2014 -0700

    Eliminated the 5th argument of get_elt_c, which was set to the caps_per_proc loop variable


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

119849c3615898d756f36b124a5056f3e6ca859a
 lib/Construct_arrays.c     | 2 +-
 lib/Element_calculations.c | 3 +--
 lib/prototypes.h           | 2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/lib/Construct_arrays.c b/lib/Construct_arrays.c
index 0dc81e2..43f63e4 100644
--- a/lib/Construct_arrays.c
+++ b/lib/Construct_arrays.c
@@ -669,7 +669,7 @@ void construct_elt_cs(struct All_variables *E)
 
     for(lev=E->mesh.gridmin;lev<=E->mesh.gridmax;lev++)
             for(el=1;el<=E->lmesh.NEL[lev];el++) {
-                get_elt_c(E,el,E->elt_c[lev][CPPR][el].c,lev,CPPR);
+                get_elt_c(E,el,E->elt_c[lev][CPPR][el].c,lev);
             }
 }
 
diff --git a/lib/Element_calculations.c b/lib/Element_calculations.c
index d78e267..94bf264 100644
--- a/lib/Element_calculations.c
+++ b/lib/Element_calculations.c
@@ -795,8 +795,7 @@ double assemble_dAhatp_entry(struct All_variables *E, int e, int level)
   Function to supply the element c matrix for a given element e.
   ==============================================================  */
 
-void get_elt_c(struct All_variables *E, int el,
-               higher_precision elt_c[24][1], int lev, int m)
+void get_elt_c(struct All_variables *E, int el, higher_precision elt_c[24][1], int lev)
 {
 
     int p, a, i, j, nz;
diff --git a/lib/prototypes.h b/lib/prototypes.h
index 42018eb..c5d8ea7 100644
--- a/lib/prototypes.h
+++ b/lib/prototypes.h
@@ -119,7 +119,7 @@ void assemble_div_rho_u(struct All_variables *, double **, double **, int);
 void assemble_div_u(struct All_variables *, double **, double **, int);
 void assemble_grad_p(struct All_variables *, double **, double **, int);
 double assemble_dAhatp_entry(struct All_variables *, int, int);
-void get_elt_c(struct All_variables *, int, higher_precision [24][1], int, int);
+void get_elt_c(struct All_variables *, int, higher_precision [24][1], int);
 void get_elt_g(struct All_variables *, int, higher_precision [24][1], int, int);
 void get_elt_f(struct All_variables *, int, double [24], int, int);
 void get_aug_k(struct All_variables *, int, double [24*24], int);



More information about the CIG-COMMITS mailing list