[cig-commits] [commit] rajesh-petsc-schur: Eliminated the 3rd argument of get_bcs_id_for_residual, which was set to the caps_per_proc loop variable (dcfcc15)

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


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

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

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

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

    Eliminated the 3rd argument of get_bcs_id_for_residual, which was set to the caps_per_proc loop variable


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

dcfcc15c48b91537430f0c71e955f596335aa61c
 lib/Construct_arrays.c | 6 +++---
 lib/prototypes.h       | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/Construct_arrays.c b/lib/Construct_arrays.c
index 972dfd5..0dc81e2 100644
--- a/lib/Construct_arrays.c
+++ b/lib/Construct_arrays.c
@@ -168,7 +168,7 @@ void construct_id(E)
       MPI_Allreduce(&neq, &gneq, 1, MPI_INT, MPI_SUM, E->parallel.world);
       E->mesh.NEQ[lev] = gneq;
 
-      get_bcs_id_for_residual(E,lev,CPPR);
+      get_bcs_id_for_residual(E,lev);
 
     }      /* end for lev */
 
@@ -185,9 +185,9 @@ void construct_id(E)
 }
 
 
-void get_bcs_id_for_residual(E,level,m)
+void get_bcs_id_for_residual(E,level)
     struct All_variables *E;
-    int level,m;
+    int level;
   {
 
     int i,j;
diff --git a/lib/prototypes.h b/lib/prototypes.h
index 8356720..42018eb 100644
--- a/lib/prototypes.h
+++ b/lib/prototypes.h
@@ -68,7 +68,7 @@ void get_bulk_composition(struct All_variables *);
 void construct_ien(struct All_variables *);
 void construct_surface(struct All_variables *);
 void construct_id(struct All_variables *);
-void get_bcs_id_for_residual(struct All_variables *, int, int);
+void get_bcs_id_for_residual(struct All_variables *, int);
 void construct_lm(struct All_variables *);
 void construct_node_maps(struct All_variables *);
 void construct_node_ks(struct All_variables *);



More information about the CIG-COMMITS mailing list