Skip to content
Snippets Groups Projects
Commit 35b879c3 authored by Steffen Müthing's avatar Steffen Müthing
Browse files

[BCRSMatrix] Drop over-eager check in row access operator[]

When DUNE_ISTL_WITH_CHECKING is enabled, the BCRSMatrix throws an
exception when trying to access a row that has no columns. This creates
a problem in PDELab when using nested BCRSMatrices (as some people do
for operator splitting in PDELab), where an off-diagonal BCRSMatrix
block might be completely empty (i.e. have a correctly set up structure,
but every row in the off-diagonal BCRSMatrix is empty. If the PDELab
assembler then attempts to set a Dirichlet constraint, it has to access
the row to set all columns in that row to zero, but the check in
operator[] prevents it from doing so.

So this patch just drops that check.
parent 714cd554
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment