* Exception used when a certain feature doesn't make sense when
* DoFHandler does not hp-capabilities.
*/
- DeclExceptionMsg(ExcNotAvailableWithoutHP,
+ DeclExceptionMsg(ExcOnlyAvailableWithHP,
"The current function doesn't make sense when used with a "
"DoFHandler without hp-capabilities.");
{
Assert(
dof_handler.hp_capability_enabled == true,
- (typename DoFHandler<dim, spacedim>::ExcNotAvailableWithoutHP()));
+ (typename DoFHandler<dim, spacedim>::ExcOnlyAvailableWithHP()));
if (const dealii::parallel::shared::Triangulation<dim, spacedim> *tr =
dynamic_cast<
void
DoFHandler<dim, spacedim>::create_active_fe_table()
{
- AssertThrow(hp_capability_enabled == true, ExcNotAvailableWithoutHP());
+ AssertThrow(hp_capability_enabled == true, ExcOnlyAvailableWithHP());
// Create sufficiently many hp::DoFLevels.
{
Assert(
dof_handler.hp_capability_enabled == true,
- (typename DoFHandler<dim, spacedim>::ExcNotAvailableWithoutHP()));
+ (typename DoFHandler<dim, spacedim>::ExcOnlyAvailableWithHP()));
std::map<types::global_dof_index, types::global_dof_index>
dof_identities;
compute_line_dof_identities(const DoFHandler<1, spacedim> &dof_handler)
{
(void)dof_handler;
- Assert(
- dof_handler.hp_capability_enabled == true,
- (typename DoFHandler<1, spacedim>::ExcNotAvailableWithoutHP()));
+ Assert(dof_handler.hp_capability_enabled == true,
+ (typename DoFHandler<1, spacedim>::ExcOnlyAvailableWithHP()));
return std::map<types::global_dof_index, types::global_dof_index>();
}
{
Assert(
dof_handler.hp_capability_enabled == true,
- (typename DoFHandler<dim, spacedim>::ExcNotAvailableWithoutHP()));
+ (typename DoFHandler<dim, spacedim>::ExcOnlyAvailableWithHP()));
std::map<types::global_dof_index, types::global_dof_index>
dof_identities;
(void)dof_handler;
Assert(
dof_handler.hp_capability_enabled == true,
- (typename DoFHandler<dim, spacedim>::ExcNotAvailableWithoutHP()));
+ (typename DoFHandler<dim, spacedim>::ExcOnlyAvailableWithHP()));
// this function should only be called for dim<3 where there are
// no quad dof identies. for dim==3, the specialization below should
static std::map<types::global_dof_index, types::global_dof_index>
compute_quad_dof_identities(const DoFHandler<3, spacedim> &dof_handler)
{
- Assert(
- dof_handler.hp_capability_enabled == true,
- (typename DoFHandler<3, spacedim>::ExcNotAvailableWithoutHP()));
+ Assert(dof_handler.hp_capability_enabled == true,
+ (typename DoFHandler<3, spacedim>::ExcOnlyAvailableWithHP()));
const int dim = 3;
{
Assert(
dof_handler.hp_capability_enabled == true,
- (typename DoFHandler<dim, spacedim>::ExcNotAvailableWithoutHP()));
+ (typename DoFHandler<dim, spacedim>::ExcOnlyAvailableWithHP()));
// Note: we may wish to have something here similar to what
// we do for lines and quads, namely that we only identify
DoFHandler<1, spacedim> &dof_handler)
{
(void)dof_handler;
- Assert(
- dof_handler.hp_capability_enabled == true,
- (typename DoFHandler<1, spacedim>::ExcNotAvailableWithoutHP()));
+ Assert(dof_handler.hp_capability_enabled == true,
+ (typename DoFHandler<1, spacedim>::ExcOnlyAvailableWithHP()));
}
{
Assert(
dof_handler.hp_capability_enabled == true,
- (typename DoFHandler<dim, spacedim>::ExcNotAvailableWithoutHP()));
+ (typename DoFHandler<dim, spacedim>::ExcOnlyAvailableWithHP()));
// we will mark lines that we have already treated, so first save and
// clear the user flags on lines and later restore them
(void)dof_handler;
Assert(
dof_handler.hp_capability_enabled == true,
- (typename DoFHandler<dim, spacedim>::ExcNotAvailableWithoutHP()));
+ (typename DoFHandler<dim, spacedim>::ExcOnlyAvailableWithHP()));
// this function should only be called for dim<3 where there are
// no quad dof identies. for dim>=3, the specialization below should
static void merge_invalid_quad_dofs_on_ghost_interfaces(
DoFHandler<3, spacedim> &dof_handler)
{
- Assert(
- dof_handler.hp_capability_enabled == true,
- (typename DoFHandler<3, spacedim>::ExcNotAvailableWithoutHP()));
+ Assert(dof_handler.hp_capability_enabled == true,
+ (typename DoFHandler<3, spacedim>::ExcOnlyAvailableWithHP()));
const int dim = 3;
{
Assert(
dof_handler.has_hp_capabilities(),
- (typename dealii::DoFHandler<dim,
- spacedim>::ExcNotAvailableWithoutHP()));
+ (typename dealii::DoFHandler<dim, spacedim>::ExcOnlyAvailableWithHP()));
std::vector<bool> p_flags(
dof_handler.get_triangulation().n_active_cells(), true);
{
Assert(
dof_handler.has_hp_capabilities(),
- (typename dealii::DoFHandler<dim,
- spacedim>::ExcNotAvailableWithoutHP()));
+ (typename dealii::DoFHandler<dim, spacedim>::ExcOnlyAvailableWithHP()));
AssertDimension(dof_handler.get_triangulation().n_active_cells(),
p_flags.size());
{
Assert(
dof_handler.has_hp_capabilities(),
- (typename dealii::DoFHandler<dim,
- spacedim>::ExcNotAvailableWithoutHP()));
+ (typename dealii::DoFHandler<dim, spacedim>::ExcOnlyAvailableWithHP()));
AssertDimension(dof_handler.get_triangulation().n_active_cells(),
criteria.size());
{
Assert(
dof_handler.has_hp_capabilities(),
- (typename dealii::DoFHandler<dim,
- spacedim>::ExcNotAvailableWithoutHP()));
+ (typename dealii::DoFHandler<dim, spacedim>::ExcOnlyAvailableWithHP()));
AssertDimension(dof_handler.get_triangulation().n_active_cells(),
criteria.size());
Assert((p_refine_fraction >= 0) && (p_refine_fraction <= 1),
{
Assert(
dof_handler.has_hp_capabilities(),
- (typename dealii::DoFHandler<dim,
- spacedim>::ExcNotAvailableWithoutHP()));
+ (typename dealii::DoFHandler<dim, spacedim>::ExcOnlyAvailableWithHP()));
AssertDimension(dof_handler.get_triangulation().n_active_cells(),
criteria.size());
Assert((p_refine_fraction >= 0) && (p_refine_fraction <= 1),
{
Assert(
dof_handler.has_hp_capabilities(),
- (typename dealii::DoFHandler<dim,
- spacedim>::ExcNotAvailableWithoutHP()));
+ (typename dealii::DoFHandler<dim, spacedim>::ExcOnlyAvailableWithHP()));
AssertDimension(dof_handler.get_triangulation().n_active_cells(),
sobolev_indices.size());
{
Assert(
dof_handler.has_hp_capabilities(),
- (typename dealii::DoFHandler<dim,
- spacedim>::ExcNotAvailableWithoutHP()));
+ (typename dealii::DoFHandler<dim, spacedim>::ExcOnlyAvailableWithHP()));
AssertDimension(dof_handler.get_triangulation().n_active_cells(),
criteria.size());
AssertDimension(dof_handler.get_triangulation().n_active_cells(),
{
Assert(
dof_handler.has_hp_capabilities(),
- (typename dealii::DoFHandler<dim,
- spacedim>::ExcNotAvailableWithoutHP()));
+ (typename dealii::DoFHandler<dim, spacedim>::ExcOnlyAvailableWithHP()));
for (const auto &cell : dof_handler.active_cell_iterators())
if (cell->is_locally_owned() && cell->future_fe_index_set())
{
Assert(
dof_handler.has_hp_capabilities(),
- (typename dealii::DoFHandler<dim,
- spacedim>::ExcNotAvailableWithoutHP()));
+ (typename dealii::DoFHandler<dim, spacedim>::ExcOnlyAvailableWithHP()));
// Siblings of cells to be coarsened may not be owned by the same
// processor. We will exchange coarsening flags on ghost cells and