const unsigned int fe_index) const
{
Assert (this->dof_handler != 0, ExcInvalidObject ());
- Assert (&this->dof_handler->get_fe () != 0, ExcInvalidObject ());
Assert (vertex < GeometryInfo<structdim>::vertices_per_cell, ExcIndexRange (vertex, 0, GeometryInfo<structdim>::vertices_per_cell));
Assert (i < this->dof_handler->get_fe ()[fe_index].dofs_per_vertex, ExcIndexRange (i, 0, this->dof_handler->get_fe ()[fe_index].dofs_per_vertex));
return this->dof_handler->mg_vertex_dofs[this->vertex_index (vertex)].get_index (level, i);
const unsigned int fe_index) const
{
Assert (this->dof_handler != 0, ExcInvalidObject ());
- Assert (&this->dof_handler->get_fe () != 0, ExcInvalidObject ());
Assert (vertex < GeometryInfo<structdim>::vertices_per_cell, ExcIndexRange (vertex, 0, GeometryInfo<structdim>::vertices_per_cell));
Assert (i < this->dof_handler->get_fe ()[fe_index].dofs_per_vertex, ExcIndexRange (i, 0, this->dof_handler->get_fe ()[fe_index].dofs_per_vertex));
this->dof_handler->mg_vertex_dofs[this->vertex_index (vertex)].set_index (level, i, index);
const unsigned int fe_index) const
{
Assert (this->dof_handler != 0, ExcNotInitialized());
- Assert (&this->dof_handler->get_fe() != 0, ExcMessage ("DoFHandler not initialized"));
Assert (static_cast<unsigned int>(this->level()) < this->dof_handler->levels.size(),
ExcMessage ("DoFHandler not initialized"));
const unsigned int fe_index) const
{
Assert (this->dof_handler != 0, ExcInvalidObject ());
- Assert (&this->dof_handler->get_fe () != 0, ExcInvalidObject ());
switch (structdim)
{
const unsigned int fe_index)
{
Assert (this->dof_handler != 0, ExcInvalidObject ());
- Assert (&this->dof_handler->get_fe () != 0, ExcInvalidObject ());
switch (structdim)
{
Assert ((fe_index != dealii::hp::DoFHandler<dim,spacedim>::default_fe_index),
ExcMessage ("You need to specify a FE index when working "
"with hp DoFHandlers"));
- Assert (&dof_handler != 0,
- ExcMessage ("No DoFHandler is specified for this iterator"));
- Assert (&dof_handler.get_fe() != 0,
- ExcMessage ("No finite element collection is associated with "
- "this DoFHandler"));
Assert (fe_index < dof_handler.get_fe().size(),
ExcIndexRange (fe_index, 0, dof_handler.get_fe().size()));
Assert (local_index <
Assert ((fe_index != dealii::hp::DoFHandler<dim,spacedim>::default_fe_index),
ExcMessage ("You need to specify a FE index when working "
"with hp DoFHandlers"));
- Assert (&dof_handler != 0,
- ExcMessage ("No DoFHandler is specified for this iterator"));
- Assert (&dof_handler.get_fe() != 0,
- ExcMessage ("No finite element collection is associated with "
- "this DoFHandler"));
Assert (fe_index < dof_handler.get_fe().size(),
ExcIndexRange (fe_index, 0, dof_handler.get_fe().size()));
Assert (local_index <
n_active_fe_indices (const dealii::hp::DoFHandler<dim,spacedim> &dof_handler,
const unsigned int obj_index) const
{
- Assert (&dof_handler != 0,
- ExcMessage ("No DoFHandler is specified for this iterator"));
- Assert (&dof_handler.get_fe() != 0,
- ExcMessage ("No finite element collection is associated with "
- "this DoFHandler"));
Assert (obj_index < dof_offsets.size(),
ExcIndexRange (obj_index, 0, dof_offsets.size()));
const unsigned int obj_index,
const unsigned int n) const
{
- Assert (&dof_handler != 0,
- ExcMessage ("No DoFHandler is specified for this iterator"));
- Assert (&dof_handler.get_fe() != 0,
- ExcMessage ("No finite element collection is associated with "
- "this DoFHandler"));
Assert (obj_index < dof_offsets.size(),
ExcIndexRange (obj_index, 0, dof_offsets.size()));
const unsigned int fe_index,
const unsigned int obj_level) const
{
- Assert (&dof_handler != 0,
- ExcMessage ("No DoFHandler is specified for this iterator"));
- Assert (&dof_handler.get_fe() != 0,
- ExcMessage ("No finite element collection is associated with "
- "this DoFHandler"));
Assert (obj_index < dof_offsets.size(),
ExcIndexRange (obj_index, 0, static_cast<unsigned int>(dof_offsets.size())));
Assert ((fe_index != dealii::hp::DoFHandler<dim,spacedim>::default_fe_index),
ExcMessage ("DoFHandler not initialized"));
Assert (this->dof_handler != 0, typename BaseClass::ExcInvalidObject());
- Assert (&this->get_fe() != 0, typename BaseClass::ExcInvalidObject());
internal::DoFCellAccessor::Implementation::
update_cell_dof_indices_cache (*this);
ExcMessage ("DoFHandler not initialized"));
Assert (this->dof_handler != 0, typename BaseClass::ExcInvalidObject());
- Assert (&this->get_fe() != 0, typename BaseClass::ExcInvalidObject());
internal::DoFCellAccessor::Implementation::
set_dof_indices (*this, local_dof_indices);
Assert (this->dof_handler != 0,
typename BaseClass::ExcInvalidObject());
- Assert (&fe != 0,
- typename BaseClass::ExcInvalidObject());
Assert (interpolated_values.size() == dofs_per_cell,
typename BaseClass::ExcVectorDoesNotMatch());
Assert (values.size() == this->dof_handler->n_dofs(),
Assert (this->dof_handler != 0,
typename BaseClass::ExcInvalidObject());
- Assert (&this->get_dof_handler().get_fe() != 0,
- typename BaseClass::ExcInvalidObject());
Assert (local_values.size() == dofs_per_cell,
typename BaseClass::ExcVectorDoesNotMatch());
Assert (values.size() == this->dof_handler->n_dofs(),
map_dof_to_boundary_indices (const DH &dof_handler,
std::vector<types::global_dof_index> &mapping)
{
- Assert (&dof_handler.get_fe() != 0, ExcNoFESelected());
-
mapping.clear ();
mapping.insert (mapping.end(), dof_handler.n_dofs(),
DH::invalid_dof_index);
const std::set<types::boundary_id> &boundary_indicators,
std::vector<types::global_dof_index> &mapping)
{
- Assert (&dof_handler.get_fe() != 0, ExcNoFESelected());
Assert (boundary_indicators.find (numbers::internal_face_boundary_id) == boundary_indicators.end(),
ExcInvalidBoundaryIndicator());