We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 899b937 + e220c66 commit e97bb62Copy full SHA for e97bb62
2 files changed
src/field/field3d.cxx
@@ -343,6 +343,7 @@ Field3D& Field3D::operator=(const BoutReal val) {
343
}
344
345
void Field3D::calcParallelSlices() {
346
+ ASSERT1(areCalcParallelSlicesAllowed());
347
getCoordinates()->getParallelTransform().calcParallelSlices(*this);
348
349
src/mesh/parallel/fci.cxx
@@ -378,7 +378,7 @@ void FCITransform::checkInputGrid() {
378
379
380
void FCITransform::calcParallelSlices(Field3D& f) {
381
-
+ ASSERT1(f.areCalcParallelSlicesAllowed());
382
ASSERT1(f.getDirectionY() == YDirectionType::Standard);
383
// Only have forward_map/backward_map for CELL_CENTRE, so can only deal with
384
// CELL_CENTRE inputs
0 commit comments