const double bottom_fraction) {
// correct number of cells is
// checked in #refine#
- Assert ((top_fraction>0) && (top_fraction<=1), ExcInvalidParameterValue());
- Assert ((bottom_fraction>0) && (bottom_fraction<=1), ExcInvalidParameterValue());
+ Assert ((top_fraction>=0) && (top_fraction<=1), ExcInvalidParameterValue());
+ Assert ((bottom_fraction>=0) && (bottom_fraction<=1), ExcInvalidParameterValue());
Assert (top_fraction+bottom_fraction <= 1, ExcInvalidParameterValue());
// refine at least one cell; algorithmic
// simplification
const double bottom_fraction) {
// correct number of cells is
// checked in #refine#
- Assert ((top_fraction>0) && (top_fraction<=1), ExcInvalidParameterValue());
- Assert ((bottom_fraction>0) && (bottom_fraction<=1), ExcInvalidParameterValue());
+ Assert ((top_fraction>=0) && (top_fraction<=1), ExcInvalidParameterValue());
+ Assert ((bottom_fraction>=0) && (bottom_fraction<=1), ExcInvalidParameterValue());
Assert (top_fraction+bottom_fraction <= 1, ExcInvalidParameterValue());
// let tmp be the cellwise square of the