diff options
Diffstat (limited to 'src/patch/patch_system.hh')
-rw-r--r-- | src/patch/patch_system.hh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/patch/patch_system.hh b/src/patch/patch_system.hh index 24e61de..99bead8 100644 --- a/src/patch/patch_system.hh +++ b/src/patch/patch_system.hh @@ -559,13 +559,17 @@ private: int N_grid_points_, ghosted_N_grid_points_; // [pn] = --> individual patches - vector<patch *> all_patches_; + // *** constructor initialization list ordering: + // *** this must be declared after N_patches_ + patch** all_patches_; // [pn] = starting grid point number of individual patches // ... arrays are actually of size N_patches_+1, the [N_patches_] // entries are == N_grid_points_ and ghosted_N_grid_points_ - vector<int> starting_gpn_; - vector<int> ghosted_starting_gpn_; + // *** constructor initialization list ordering: + // *** these must be declared after N_patches_ + int* starting_gpn_; + int* ghosted_starting_gpn_; // pointers to storage blocks for all gridfns // ... patches point into these, but we own the storage blocks |