[cig-commits] [commit] rajesh-petsc-schur: Eliminated the 2nd argument of put_away_later, which was set to the caps_per_proc loop variable (a9f02a0)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Sep 18 13:18:17 PDT 2014


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

On branch  : rajesh-petsc-schur
Link       : https://github.com/geodynamics/citcoms/compare/b8ceede151860da20e44adbb561266c5d0878b18...0aff4ed493594ce0d58153a5e0b72afdba61d6fd

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

commit a9f02a07c797c33f87c0a48cd013c36f3e973b77
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date:   Thu Sep 18 12:28:51 2014 -0700

    Eliminated the 2nd argument of put_away_later, which was set to the caps_per_proc loop variable


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

a9f02a07c797c33f87c0a48cd013c36f3e973b77
 lib/Tracer_setup.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/Tracer_setup.c b/lib/Tracer_setup.c
index 039b5f2..3efc69d 100644
--- a/lib/Tracer_setup.c
+++ b/lib/Tracer_setup.c
@@ -78,7 +78,7 @@ static void check_sum(struct All_variables *E);
 static int isum_tracers(struct All_variables *E);
 static void init_tracer_flavors(struct All_variables *E);
 static void reduce_tracer_arrays(struct All_variables *E);
-static void put_away_later(struct All_variables *E, int j, int it);
+static void put_away_later(struct All_variables *E, int it);
 static void eject_tracer(struct All_variables *E, int it);
 int read_double_vector(FILE *, int , double *);
 void cart_to_sphere(struct All_variables *,
@@ -595,7 +595,7 @@ static void find_tracers(struct All_variables *E)
 
             if (iel == -99) {
                 /* tracer is inside other processors */
-                put_away_later(E,CPPR,it);
+                put_away_later(E,it);
                 eject_tracer(E,it);
                 it--;
             } else if (iel == -1) {
@@ -1514,7 +1514,7 @@ static void reduce_tracer_arrays(struct All_variables *E)
 /* ilatersize is the physical memory and       */
 /* ilater is the number of tracers             */
 
-static void put_away_later(struct All_variables *E, int j, int it)
+static void put_away_later(struct All_variables *E, int it)
 {
     int kk;
     void expand_later_array();



More information about the CIG-COMMITS mailing list