verifyNumPoints(BoundaryRegion *region, int ptsRequired)¶
Check that there are sufficient non-boundary points for desired B.C.
Checks both the size of the global grid (i.e. if this B.C. could be ok for some parallel setup or not) and the local grid.
Note the local grid check is not strictly necessary as this would typically lead to an out of bounds access error later but we add it here to provide a more explanatory message.