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

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


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

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

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

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

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


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

ed75fffc7f9a9c9464f060b954c0136af5a98239
 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 bb21af9..b8db03c 100644
--- a/lib/Full_tracer_advection.c
+++ b/lib/Full_tracer_advection.c
@@ -1373,7 +1373,7 @@ static void make_regular_grid(struct All_variables *E)
             E->trace.thetamax=thetamax;
             E->trace.thetamin=thetamin;
             E->trace.phimax=phimax;
-            E->trace.phimin[CPPR]=phimin;
+            E->trace.phimin=phimin;
             E->trace.numregel=numregel;
             E->trace.numregnodes=numregnodes;
 
@@ -2756,7 +2756,7 @@ static int iget_regel(struct All_variables *E,
     idum=rdum/E->trace.deltheta;
     *ntheta=idum+1;
 
-    rdum=phi-E->trace.phimin[CPPR];
+    rdum=phi-E->trace.phimin;
     idum=rdum/E->trace.delphi;
     *nphi=idum+1;
 
diff --git a/lib/tracer_defs.h b/lib/tracer_defs.h
index 6fd2751..ec05f71 100644
--- a/lib/tracer_defs.h
+++ b/lib/tracer_defs.h
@@ -120,7 +120,7 @@ struct TRACE{
     double thetamax;
     double thetamin;
     double phimax;
-    double phimin[13];
+    double phimin;
     int *regnodetoel[13];
     int *regtoel[13][5];
 



More information about the CIG-COMMITS mailing list