[cig-commits] [commit] rajesh-petsc-schur: Changed the shape of E->trace.istat_ichoice as part of caps_per_proc_removal (de098fd)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Sep 24 15:23:58 PDT 2014


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

On branch  : rajesh-petsc-schur
Link       : https://github.com/geodynamics/citcoms/compare/980de677d7efb78fdd5c41fd4b35a9283a2d251f...b86b2dd00f2bd13fb282a2eb9169871be4b1e923

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

commit de098fdd2379a053e8d57d2012d07624d71f02c6
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date:   Wed Sep 24 12:42:15 2014 -0700

    Changed the shape of E->trace.istat_ichoice as part of caps_per_proc_removal


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

de098fdd2379a053e8d57d2012d07624d71f02c6
 lib/Tracer_setup.c | 2 +-
 lib/tracer_defs.h  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Tracer_setup.c b/lib/Tracer_setup.c
index 437997b..f5febca 100644
--- a/lib/Tracer_setup.c
+++ b/lib/Tracer_setup.c
@@ -567,7 +567,7 @@ static void find_tracers(struct All_variables *E)
 
         E->trace.istat1=0;
         for (kk=0;kk<=4;kk++) {
-            E->trace.istat_ichoice[CPPR][kk]=0;
+            E->trace.istat_ichoice[kk]=0;
         }
 
         //TODO: use while-loop instead of for-loop
diff --git a/lib/tracer_defs.h b/lib/tracer_defs.h
index 2ba794e..a4e5d69 100644
--- a/lib/tracer_defs.h
+++ b/lib/tracer_defs.h
@@ -77,7 +77,7 @@ struct TRACE{
 
 
     /* statistical parameters */
-    int istat_ichoice[13][5];
+    int istat_ichoice[5];
     int istat_isend;
     int istat_iempty;
     int istat1;



More information about the CIG-COMMITS mailing list