aboutsummaryrefslogtreecommitdiff
path: root/src/patch/patch.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/patch/patch.hh')
-rw-r--r--src/patch/patch.hh11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/patch/patch.hh b/src/patch/patch.hh
index 229c365..6bfc326 100644
--- a/src/patch/patch.hh
+++ b/src/patch/patch.hh
@@ -289,25 +289,28 @@ public:
// ***** set up ghost zone and frontier subobjects
//
- // set up one of our ghost zones as mirror-symmetry
+ // assert() that this ghost zone hasn't been set up yet,
+ // then set it up as mirror-symmetry
// ... return reference to new ghost zone
symmetry_ghost_zone& setup_mirror_symmetry_ghost_zone
(const patch_edge& edge);
- // set up one of our ghost zones as periodic-symmetry
+ // assert() that this ghost zone hasn't been set up yet,
+ // then set it up as periodic-symmetry
// ... return reference to new ghost zone
symmetry_ghost_zone& setup_periodic_symmetry_ghost_zone
(const patch_edge& my_edge, const patch_edge& symmetry_edge,
bool ipar_map_sign); // one of cpm_map::{plus,minus}_map
- // set up one of our ghost zones as interpatch
+ // assert() that this ghost zone hasn't been set up yet,
+ // then set it up as interpatch
// ... but don't link it to the other patch's frontier
// (which doesn't exist yet)
// ... return reference to new ghost zone
interpatch_ghost_zone& setup_interpatch_ghost_zone
(const patch_edge& my_edge, const patch_edge& other_edge);
- // set up one of our patch frontiers
+ // assert() that this frontier hasn't been set up yet, then set it up
// ... return reference to new frontier
patch_frontier& setup_patch_frontier(const patch_edge& my_edge_in,
int min_iperp_in, int max_iperp_in,