diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-05-30 23:13:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-05-30 23:13:00 +0000 |
commit | 23380cc7760979fdcb22e24f4e5c312535f2c0a4 (patch) | |
tree | 0c836ddc3bf2434770a42fc56aa7a1a7b05ee952 /Carpet/Carpet/src/Poison.cc | |
parent | c6d8b035d66ac9917e1e5e1676ba2a7d365f5837 (diff) |
Carpte: Document poisoning better
darcs-hash:20070530231304-dae7b-92daf312e23db8a74d1e9e4cd829b3f2fc41f843.gz
Diffstat (limited to 'Carpet/Carpet/src/Poison.cc')
-rw-r--r-- | Carpet/Carpet/src/Poison.cc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Carpet/Carpet/src/Poison.cc b/Carpet/Carpet/src/Poison.cc index 80a6b9645..2811b42e2 100644 --- a/Carpet/Carpet/src/Poison.cc +++ b/Carpet/Carpet/src/Poison.cc @@ -15,6 +15,9 @@ namespace Carpet { + // The parameter where specifies which time levels should be + // poisoned. what specifies what kind of grid variables should be + // poisoned. void Poison (const cGH* cgh, const checktimes where, const int what) { DECLARE_CCTK_PARAMETERS; @@ -63,8 +66,8 @@ namespace Carpet { const int num_tl = CCTK_ActiveTimeLevelsVI(cgh, n0); assert (num_tl>0); - const int min_tl = mintl(where, num_tl); - const int max_tl = maxtl(where, num_tl); + const int min_tl = min_timelevel(where, num_tl); + const int max_tl = max_timelevel(where, num_tl); if (min_tl <= max_tl) { @@ -121,8 +124,8 @@ namespace Carpet { const int num_tl = CCTK_ActiveTimeLevelsVI(cgh, n0); assert (num_tl>0); - const int min_tl = mintl(where, num_tl); - const int max_tl = maxtl(where, num_tl); + const int min_tl = min_timelevel(where, num_tl); + const int max_tl = max_timelevel(where, num_tl); BEGIN_MAP_LOOP(cgh, grouptype) { BEGIN_LOCAL_COMPONENT_LOOP(cgh, grouptype) { |