diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-05-20 09:31:35 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-05-20 09:31:35 -0500 |
commit | 2613d79034fefe8a605534fb205d724c89c5aec4 (patch) | |
tree | ff7e4933eb6ab78c262921a8f68f8a471c76fd7a | |
parent | 94934bc46af8fe2f049f2171ca3fb90dcdc4cc5e (diff) |
CarpetLib: Disable unused refluxing face descriptions
-rw-r--r-- | Carpet/CarpetLib/src/dh.cc | 10 | ||||
-rw-r--r-- | Carpet/CarpetLib/src/dh.hh | 4 |
2 files changed, 12 insertions, 2 deletions
diff --git a/Carpet/CarpetLib/src/dh.cc b/Carpet/CarpetLib/src/dh.cc index 054c67d8d..ded7ff7fc 100644 --- a/Carpet/CarpetLib/src/dh.cc +++ b/Carpet/CarpetLib/src/dh.cc @@ -1202,6 +1202,7 @@ regrid (bool const do_init) << " local.fine_boundary=" << local_box.fine_boundary[dir][face] << "\n"; } +#if 0 // OFFSETS,SIZE ibset const& boxes = local_box.fine_boundary[dir][face]; vector<int>& offsets = @@ -1216,6 +1217,7 @@ regrid (bool const do_init) offset += (*bi).size(); } local_box.fine_boundary_size[dir][face] = offset; +#endif } // for face } // for dir @@ -1260,6 +1262,7 @@ regrid (bool const do_init) } assert ((obox.buffers.shift(-idir,2) & all_coarse_boundary[dir][face]).empty()); +#if 0 // OFFSETS,SIZE ibset const& boxes = local_obox.coarse_boundary[dir][face]; vector<int>& offsets = @@ -1274,6 +1277,7 @@ regrid (bool const do_init) offset += (*bi).size(); } local_obox.coarse_boundary_size[dir][face] = offset; +#endif } // for face } // for dir @@ -2451,11 +2455,13 @@ memory () memoryof (restricted_region) + memoryof (unused_region) + memoryof (coarse_boundary) + - memoryof (fine_boundary) + + memoryof (fine_boundary); +#if 0 // OFFSETS,SIZE memoryof (coarse_boundary_offsets) + memoryof (fine_boundary_offsets) + memoryof (coarse_boundary_size) + memoryof (fine_boundary_size); +#endif } size_t @@ -2793,10 +2799,12 @@ output (ostream & os) << " unused_region: " << unused_region << eol << " coarse_boundary: " << coarse_boundary << eol << " fine_boundary: " << fine_boundary << eol +#if 0 // OFFSETS,SIZE << " coarse_boundary_offsets: " << coarse_boundary_offsets << eol << " fine_boundary_offsets: " << fine_boundary_offsets << eol << " coarse_boundary_size: " << coarse_boundary_size << eol << " fine_boundary_size: " << fine_boundary_size << eol +#endif << "}" << eol; return os; } diff --git a/Carpet/CarpetLib/src/dh.hh b/Carpet/CarpetLib/src/dh.hh index 9914b950a..2a03ceccc 100644 --- a/Carpet/CarpetLib/src/dh.hh +++ b/Carpet/CarpetLib/src/dh.hh @@ -77,13 +77,15 @@ public: // Does not influence anything but the restricted_region ibset unused_region; - // Refluxing + // Refluxing (these live on the respective faces) vect<vect<ibset,2>,dim> coarse_boundary; vect<vect<ibset,2>,dim> fine_boundary; +#if 0 // OFFSETS,SIZE vect<vect<vector<int>,2>,dim> coarse_boundary_offsets; vect<vect<vector<int>,2>,dim> fine_boundary_offsets; vect<vect<int,2>,dim> coarse_boundary_size; vect<vect<int,2>,dim> fine_boundary_size; +#endif size_t memory () const CCTK_MEMBER_ATTRIBUTE_PURE; istream & input (istream & is); |