[cig-commits] [commit] rajesh-petsc-schur: Eliminated the 4th argument of assemble_dAhatp_entry, which was set to the caps_per_proc loop variable (474d88d)

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


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

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

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

commit 474d88dcafe0e274389c682b460b036d168873f1
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date:   Wed Sep 17 15:15:58 2014 -0700

    Eliminated the 4th argument of assemble_dAhatp_entry, which was set to the caps_per_proc loop variable


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

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

diff --git a/lib/Element_calculations.c b/lib/Element_calculations.c
index 388d7df..63d7710 100644
--- a/lib/Element_calculations.c
+++ b/lib/Element_calculations.c
@@ -609,7 +609,7 @@ void build_diagonal_of_Ahat(struct All_variables *E)
         return;
 
       for(e=0;e<npno;e++) {
-        BU=assemble_dAhatp_entry(E,e,level,CPPR);
+        BU=assemble_dAhatp_entry(E,e,level);
         if(BU != 0.0)
 	        E->BPI[level][CPPR][e+1] = 1.0/BU;
         else
@@ -742,7 +742,7 @@ void assemble_grad_p(E,P,gradP,lev)
 }
 
 
-double assemble_dAhatp_entry(struct All_variables *E, int e, int level, int m)
+double assemble_dAhatp_entry(struct All_variables *E, int e, int level)
 {
     int i,j,p,a,b,node,npno;
     void strip_bcs_from_residual();
diff --git a/lib/prototypes.h b/lib/prototypes.h
index 87664e5..aac4567 100644
--- a/lib/prototypes.h
+++ b/lib/prototypes.h
@@ -118,7 +118,7 @@ void assemble_c_u(struct All_variables *, double **, double **, int);
 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, 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_g(struct All_variables *, int, higher_precision [24][1], int, int);
 void get_elt_f(struct All_variables *, int, double [24], int, int);



More information about the CIG-COMMITS mailing list