We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfaf986 commit f4acdb0Copy full SHA for f4acdb0
1 file changed
include/bout/parallel_boundary_region.hxx
@@ -231,6 +231,7 @@ public:
231
232
template <bool check = true>
233
BoutReal& getAt(Field3D& f, int off) const {
234
+ ASSERT4(f.hasParallelSlices());
235
if constexpr (check) {
236
ASSERT3(valid() > -off - 2);
237
}
@@ -239,6 +240,7 @@ public:
239
240
241
242
const BoutReal& getAt(const Field3D& f, int off) const {
243
244
245
246
0 commit comments