summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hoffmann <volker@cheleb.net>2013-05-14 09:05:30 +0200
committerVolker Hoffmann <volker@cheleb.net>2013-05-14 09:05:30 +0200
commit7a4d8710934d8a788b8e7b2197914a5235b1c253 (patch)
treec3cb5974196add839c5a04bd7d8c6e4b6a724e16
parentf2b63099f85ed48bef2c45920b2ce79848bf87be (diff)
kindly inform the user if we need to generate sampling points
-rw-r--r--helpers.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/helpers.py b/helpers.py
index 0894643..57593c2 100644
--- a/helpers.py
+++ b/helpers.py
@@ -136,6 +136,10 @@ def mkpoints_xyz(center=0.5, radius=0.4, thickness=0.2, nx=128, ny=128, nz=64):
else:
+ print ""
+ print "*** Generating Sampling Points."
+ print ""
+
# Generate Points
x, dx = np.linspace(center - radius, center + radius, nx, retstep=True)
y, dy = np.linspace(center - radius, center + radius, ny, retstep=True)
@@ -193,8 +197,11 @@ def mkpoints_rtz(center=0.5, radius=0.4, thickness=0.2, \
else:
- # Generate Points
+ print ""
+ print "*** Generating Sampling Points."
+ print ""
+ # Generate Points
# We generally don't want r=0
r, dr = np.linspace(radius, 0, nr, retstep=True, endpoint=False)
r = r[::-1]; dr = -dr