BOOST_SERIALIZATION_SPLIT_MEMBER()
- /**
- * We are trying to renumber the degrees of freedom, but somehow did not
- * count correctly.
- *
- * @ingroup Exceptions
- */
- DeclException0 (ExcRenumberingIncomplete);
/**
* Exception
* @ingroup Exceptions
{
Assert(levels.size()>0, ExcMessage("You need to distribute DoFs before you can renumber them."));
- Assert (new_numbers.size() == n_locally_owned_dofs(),
- ExcRenumberingIncomplete());
+ AssertDimension (new_numbers.size(), n_locally_owned_dofs());
#ifdef DEBUG
// assert that the new indices are
Assert(mg_levels.size()>0 && levels.size()>0,
ExcMessage("You need to distribute active and level DoFs before you can renumber level DoFs."));
AssertIndexRange(level, levels.size());
- Assert (new_numbers.size() == n_dofs(level), ExcRenumberingIncomplete());
+ AssertDimension (new_numbers.size(), n_dofs(level));
mg_number_cache[level] = policy->renumber_mg_dofs (level, new_numbers);
}