[cig-commits] [commit] rajesh-petsc-schur: Changed the shape of E->trace.thetamax as part of caps_per_proc_removal (e25cc7a)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Nov 5 19:13:45 PST 2014
Repository : https://github.com/geodynamics/citcoms
On branch : rajesh-petsc-schur
Link : https://github.com/geodynamics/citcoms/compare/464e1b32299b15819f93efd98d969cddb84dfe51...f97ae655a50bdbd6dac1923a3471ee4dae178fbd
>---------------------------------------------------------------
commit e25cc7a68f25e816ca3cef0d324bd1b6368307b2
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date: Wed Sep 24 13:20:52 2014 -0700
Changed the shape of E->trace.thetamax as part of caps_per_proc_removal
>---------------------------------------------------------------
e25cc7a68f25e816ca3cef0d324bd1b6368307b2
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 e3f0bdd..58bac9d 100644
--- a/lib/Full_tracer_advection.c
+++ b/lib/Full_tracer_advection.c
@@ -1370,7 +1370,7 @@ static void make_regular_grid(struct All_variables *E)
E->trace.delphi=delphi;
E->trace.numtheta=numtheta;
E->trace.numphi=numphi;
- E->trace.thetamax[CPPR]=thetamax;
+ E->trace.thetamax=thetamax;
E->trace.thetamin[CPPR]=thetamin;
E->trace.phimax[CPPR]=phimax;
E->trace.phimin[CPPR]=phimin;
@@ -2748,7 +2748,7 @@ static int iget_regel(struct All_variables *E,
/* first check whether theta is in range */
if (theta<E->trace.thetamin[CPPR]) return -99;
- if (theta>E->trace.thetamax[CPPR]) return -99;
+ if (theta>E->trace.thetamax) return -99;
/* get ntheta, nphi on regular mesh */
diff --git a/lib/tracer_defs.h b/lib/tracer_defs.h
index 43f30ef..0a6a85b 100644
--- a/lib/tracer_defs.h
+++ b/lib/tracer_defs.h
@@ -117,7 +117,7 @@ struct TRACE{
unsigned int numregnodes;
double deltheta;
double delphi;
- double thetamax[13];
+ double thetamax;
double thetamin[13];
double phimax[13];
double phimin[13];
More information about the CIG-COMMITS
mailing list