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

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


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

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

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

commit 83d38ff8971ce726e53f7bb9e6f2e62dcaaae496
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date:   Thu Sep 18 12:33:35 2014 -0700

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


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

83d38ff8971ce726e53f7bb9e6f2e62dcaaae496
 lib/Regional_tracer_advection.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/Regional_tracer_advection.c b/lib/Regional_tracer_advection.c
index 4156cf9..98eea3e 100644
--- a/lib/Regional_tracer_advection.c
+++ b/lib/Regional_tracer_advection.c
@@ -49,7 +49,7 @@ static void write_trace_instructions(struct All_variables *E);
 static void make_mesh_ijk(struct All_variables *E);
 static void put_lost_tracers(struct All_variables *E,
                              int *send_size, double *send,
-                             int kk, int j);
+                             int kk);
 static void put_found_tracers(struct All_variables *E,
                               int recv_size, double *recv);
 int isearch_neighbors(double *array, int nsize,
@@ -605,10 +605,10 @@ void regional_lost_souls(struct All_variables *E)
             coord = E->trace.rlater[CPPR][d][kk];
 
             if (coord < bounds[d][0]) {
-                put_lost_tracers(E, &(isend[0]), send[0], kk, CPPR);
+                put_lost_tracers(E, &(isend[0]), send[0], kk);
             }
             else if (coord >= bounds[d][1]) {
-                put_lost_tracers(E, &(isend[1]), send[1], kk, CPPR);
+                put_lost_tracers(E, &(isend[1]), send[1], kk);
             }
             else {
                 /* check next tracer */
@@ -752,7 +752,7 @@ void regional_lost_souls(struct All_variables *E)
 
 static void put_lost_tracers(struct All_variables *E,
                              int *send_size, double *send,
-                             int kk, int j)
+                             int kk)
 {
     int ilast_tracer, isend_position, ipos;
     int pp;



More information about the CIG-COMMITS mailing list