[cig-commits] [commit] rajesh-petsc-schur: Eliminated the 5th argument of get_elt_tr and get_elt_tr_pseudo_surf, which was set to the caps_per_proc loop variable (ef57b3f)

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


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

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

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

commit ef57b3f6cb297d838b11284c5420cbb0b51d88cb
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date:   Thu Sep 18 10:50:20 2014 -0700

    Eliminated the 5th argument of get_elt_tr and get_elt_tr_pseudo_surf, which was set to the caps_per_proc loop variable


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

ef57b3f6cb297d838b11284c5420cbb0b51d88cb
 lib/Element_calculations.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/Element_calculations.c b/lib/Element_calculations.c
index 1f4b97b..37e4038 100644
--- a/lib/Element_calculations.c
+++ b/lib/Element_calculations.c
@@ -43,8 +43,8 @@ void construct_c3x3matrix_el (struct All_variables *,int ,struct CC *,
 			      struct CCX *,int ,int );
 void assemble_div_u(struct All_variables *,
                     double **, double **, int );
-static void get_elt_tr(struct All_variables *, int , int , double [24], int );
-static void get_elt_tr_pseudo_surf(struct All_variables *, int , int , double [24], int );
+static void get_elt_tr(struct All_variables *, int , int , double [24]);
+static void get_elt_tr_pseudo_surf(struct All_variables *, int , int , double [24]);
 
 #ifdef CITCOM_ALLOW_ANISOTROPIC_VISC
 #include "anisotropic_viscosity.h"
@@ -109,9 +109,9 @@ void assemble_forces(E,penalty)
       for(a=0;a<24;a++) elt_f[a] = 0.0;
       for(a=SIDE_BEGIN; a<=SIDE_END; a++) {
           if(E->control.pseudo_free_surf)
-              get_elt_tr_pseudo_surf(E, i, a, elt_f, CPPR);
+              get_elt_tr_pseudo_surf(E, i, a, elt_f);
           else
-              get_elt_tr(E, i, a, elt_f, CPPR);
+              get_elt_tr(E, i, a, elt_f);
       }
       add_force(E, e, elt_f);
     }
@@ -1041,7 +1041,7 @@ void get_elt_f(E,el,elt_f,bcs)
   Function to create the element force vector due to stress b.c.
   ================================================================= */
 
-static void get_elt_tr(struct All_variables *E, int bel, int side, double elt_tr[24], int m)
+static void get_elt_tr(struct All_variables *E, int bel, int side, double elt_tr[24])
 {
 
 	const int dims=E->mesh.nsd;
@@ -1123,7 +1123,7 @@ static void get_elt_tr(struct All_variables *E, int bel, int side, double elt_tr
 	}
 }
 
-static void get_elt_tr_pseudo_surf(struct All_variables *E, int bel, int side, double elt_tr[24], int m)
+static void get_elt_tr_pseudo_surf(struct All_variables *E, int bel, int side, double elt_tr[24])
 {
 
 	const int dims=E->mesh.nsd;



More information about the CIG-COMMITS mailing list