ShyLU/FROSch: Adding a check for the block coarse map.
Created by: searhein
@trilinos/shylu
Description, Motivation, and Context
This PR addresses #4276. In particular, I added some checks to make sure that we do not run into assertions in case a block is empty.
@chochmuth, please check if the errors in your code still appear. I am not sure if this covers all your issues. For the FROSch tests, disabling a block seems to works now.
How Has This Been Tested?
All FROSch tests complete successfully on my machine, even if a block is disabled.
Checklist
-
My commit messages mention the appropriate GitHub issue numbers. -
My code follows the code style of the affected package(s). -
My change requires a change to the documentation. -
I have updated the documentation accordingly. -
I have read the code contribution guidelines for this project. -
I have added tests to cover my changes. -
All new and existing tests passed. -
No new compiler warnings were introduced. -
These changes break backwards compatibility.