const unsigned int tree_index,
const typename DoFHandler<dim,spacedim>::level_cell_iterator &dealii_cell,
const typename dealii::internal::p4est::types<dim>::quadrant &p4est_cell,
- const std::map<unsigned int, std::set<dealii::types::subdomain_id_t> > &vertices_with_ghost_neighbors,
- std::map<dealii::types::subdomain_id_t, typename types<dim>::cellinfo> &needs_to_get_cell,
+ const std::map<unsigned int, std::set<dealii::types::subdomain_id> > &vertices_with_ghost_neighbors,
+ std::map<dealii::types::subdomain_id, typename types<dim>::cellinfo> &needs_to_get_cell,
const unsigned int level)
{
if (dealii_cell->level()>(int)level)
// check each vertex if
// it is interesting and
// push dofindices if yes
- std::set<dealii::types::subdomain_id_t> send_to;
+ std::set<dealii::types::subdomain_id> send_to;
for (unsigned int v=0; v<GeometryInfo<dim>::vertices_per_cell; ++v)
{
- const std::map<unsigned int, std::set<dealii::types::subdomain_id_t> >::const_iterator
+ const std::map<unsigned int, std::set<dealii::types::subdomain_id> >::const_iterator
neighbor_subdomains_of_vertex
= vertices_with_ghost_neighbors.find (dealii_cell->vertex_index(v));
for (unsigned int c=0; c<GeometryInfo<dim>::max_children_per_cell; ++c)
{
//TODO: we don't know about our children if proc 0 owns all coarse cells!
- dealii::types::subdomain_id_t dest = dealii_cell->child(c)->level_subdomain_id();
- Assert(dest!=dealii::numbers::artificial_subdomain_id && dest!=dealii::types::invalid_subdomain_id, ExcInternalError());
+ dealii::types::subdomain_id dest = dealii_cell->child(c)->level_subdomain_id();
+ Assert(dest!=dealii::numbers::artificial_subdomain_id && dest!=dealii::numbers::invalid_subdomain_id, ExcInternalError());
if (dest != tria.locally_owned_subdomain())
send_to.insert(dest);
}
local_dof_indices (dealii_cell->get_fe().dofs_per_cell);
dealii_cell->get_mg_dof_indices (local_dof_indices);
- for (std::set<dealii::types::subdomain_id_t>::iterator it=send_to.begin();
+ for (std::set<dealii::types::subdomain_id>::iterator it=send_to.begin();
it!=send_to.end(); ++it)
{
- const dealii::types::subdomain_id_t subdomain = *it;
+ const dealii::types::subdomain_id subdomain = *it;
// get an iterator
// to what needs to
// already exists),
// or create such
// an object
- typename std::map<dealii::types::subdomain_id_t, typename types<dim>::cellinfo>::iterator
+ typename std::map<dealii::types::subdomain_id, typename types<dim>::cellinfo>::iterator
p
= needs_to_get_cell.insert (std::make_pair(subdomain,
typename types<dim>::cellinfo()))
void
communicate_mg_dof_indices_on_marked_cells
(const DoFHandler<1,spacedim> &dof_handler,
- const std::map<unsigned int, std::set<dealii::types::subdomain_id_t> > &vertices_with_ghost_neighbors,
+ const std::map<unsigned int, std::set<dealii::types::subdomain_id> > &vertices_with_ghost_neighbors,
const std::vector<unsigned int> &coarse_cell_to_p4est_tree_permutation,
const std::vector<unsigned int> &p4est_tree_to_coarse_cell_permutation,
const unsigned int level)
void
communicate_mg_dof_indices_on_marked_cells
(const DoFHandler<dim,spacedim> &dof_handler,
- const std::map<unsigned int, std::set<dealii::types::subdomain_id_t> > &vertices_with_ghost_neighbors,
+ const std::map<unsigned int, std::set<dealii::types::subdomain_id> > &vertices_with_ghost_neighbors,
const std::vector<unsigned int> &coarse_cell_to_p4est_tree_permutation,
const std::vector<unsigned int> &p4est_tree_to_coarse_cell_permutation,
const unsigned int level)
// dof_indices for the
// interested neighbors
typedef
- std::map<dealii::types::subdomain_id_t, typename types<dim>::cellinfo>
+ std::map<dealii::types::subdomain_id, typename types<dim>::cellinfo>
cellmap_t;
cellmap_t needs_to_get_cells;
// mark all own cells, that miss some
// dof_data and collect the neighbors
// that are going to send stuff to us
- std::set<dealii::types::subdomain_id_t> senders;
+ std::set<dealii::types::subdomain_id> senders;
if (level < tr->n_levels())
{
std::vector<unsigned int> local_dof_indices;
// subdomain to the vertex and
// keep track of interesting
// neighbors
- std::map<unsigned int, std::set<dealii::types::subdomain_id_t> >
+ std::map<unsigned int, std::set<dealii::types::subdomain_id> >
vertices_with_ghost_neighbors;
if (level < tr->n_levels())
for (typename DoFHandler<dim,spacedim>::level_cell_iterator