Commit 4e8af5db authored by Timo Koch's avatar Timo Koch
Browse files

[fix][box] Box does not support periodic boundaries in parallel

parent d77200c6
......@@ -291,6 +291,10 @@ public:
}
}
}
// error check: periodic boundaries currently don't work for box in parallel
if (this->isPeriodic() && this->gridView().comm().size() > 1)
DUNE_THROW(Dune::NotImplemented, "Periodic boundaries for box method for parallel simulations!");
}
//! The finite element cache for creating local FE bases
......@@ -495,6 +499,10 @@ public:
}
}
}
// error check: periodic boundaries currently don't work for box in parallel
if (this->isPeriodic() && this->gridView().comm().size() > 1)
DUNE_THROW(Dune::NotImplemented, "Periodic boundaries for box method for parallel simulations!");
}
//! The finite element cache for creating local FE bases
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment