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

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


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

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

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

commit cc297566650a22701a0dfb40a55c82c48c96edfa
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date:   Thu Sep 18 12:31:04 2014 -0700

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


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

cc297566650a22701a0dfb40a55c82c48c96edfa
 lib/Regional_tracer_advection.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/lib/Regional_tracer_advection.c b/lib/Regional_tracer_advection.c
index d5460bf..4156cf9 100644
--- a/lib/Regional_tracer_advection.c
+++ b/lib/Regional_tracer_advection.c
@@ -51,8 +51,7 @@ static void put_lost_tracers(struct All_variables *E,
                              int *send_size, double *send,
                              int kk, int j);
 static void put_found_tracers(struct All_variables *E,
-                              int recv_size, double *recv,
-                              int j);
+                              int recv_size, double *recv);
 int isearch_neighbors(double *array, int nsize,
                       double a, int hint);
 int isearch_all(double *array, int nsize, double a);
@@ -718,7 +717,7 @@ void regional_lost_souls(struct All_variables *E)
 
         /* put the received tracers */
         for (i=0; i<2; i++) {
-            put_found_tracers(E, irecv[i], recv[i], CPPR);
+            put_found_tracers(E, irecv[i], recv[i]);
         }
 
 
@@ -780,9 +779,7 @@ static void put_lost_tracers(struct All_variables *E,
 /* Put the received tracers in basiq & extraq, if within bounds */
 /* Otherwise, append to rlater for sending to another proc      */
 
-static void put_found_tracers(struct All_variables *E,
-                              int recv_size, double *recv,
-                              int j)
+static void put_found_tracers(struct All_variables *E, int recv_size, double *recv)
 {
     void expand_tracer_arrays();
     void expand_later_array();



More information about the CIG-COMMITS mailing list