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

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Nov 5 19:13:35 PST 2014


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

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

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

commit c8b5688ad1c729904c2e09c1b4773291b084436b
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date:   Wed Sep 24 13:10:10 2014 -0700

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


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

c8b5688ad1c729904c2e09c1b4773291b084436b
 lib/Full_tracer_advection.c | 4 ++--
 lib/tracer_defs.h           | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/Full_tracer_advection.c b/lib/Full_tracer_advection.c
index 33c3f40..a5adfea 100644
--- a/lib/Full_tracer_advection.c
+++ b/lib/Full_tracer_advection.c
@@ -1369,7 +1369,7 @@ static void make_regular_grid(struct All_variables *E)
             E->trace.deltheta[CPPR]=deltheta;
             E->trace.delphi[CPPR]=delphi;
             E->trace.numtheta=numtheta;
-            E->trace.numphi[CPPR]=numphi;
+            E->trace.numphi=numphi;
             E->trace.thetamax[CPPR]=thetamax;
             E->trace.thetamin[CPPR]=thetamin;
             E->trace.phimax[CPPR]=phimax;
@@ -1647,7 +1647,7 @@ static void make_regular_grid(struct All_variables *E)
                 }
 
             numtheta=E->trace.numtheta;
-            numphi=E->trace.numphi[CPPR];
+            numphi=E->trace.numphi;
 
             for (nphi=1;nphi<=numphi;nphi++)
                 {
diff --git a/lib/tracer_defs.h b/lib/tracer_defs.h
index 6ef227a..69ae9af 100644
--- a/lib/tracer_defs.h
+++ b/lib/tracer_defs.h
@@ -112,7 +112,7 @@ struct TRACE{
 
     /* regular mesh parameters */
     int numtheta;
-    int numphi[13];
+    int numphi;
     unsigned int numregel[13];
     unsigned int numregnodes[13];
     double deltheta[13];



More information about the CIG-COMMITS mailing list