Skip to content
Snippets Groups Projects
Commit e305586a authored by Elias Pipping's avatar Elias Pipping
Browse files

Replace comment on missing features with NotImplemented

parent 04cab723
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -12,10 +12,12 @@ void ProjectedBlockGSStep<MatrixType, VectorType>::iterate() ...@@ -12,10 +12,12 @@ void ProjectedBlockGSStep<MatrixType, VectorType>::iterate()
const MatrixType& mat = *this->mat_; const MatrixType& mat = *this->mat_;
for (size_t i=0; i<this->x_->size(); i++) { for (size_t i=0; i<this->x_->size(); i++) {
auto ignoreCount = (*this->ignoreNodes_)[i].count();
/** \todo Handle more general boundary conditions */ if (ignoreCount == BlockSize)
if ((*this->ignoreNodes_)[i][0])
continue; continue;
if (ignoreCount > 0)
DUNE_THROW(Dune::NotImplemented,
"Individual blocks must be either ignored completely, or not at all");
bool zeroDiagonal = false; bool zeroDiagonal = false;
for (size_t j=0; j<BlockSize; j++) { for (size_t j=0; j<BlockSize; j++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment