SparsityPatternType &sparsity_pattern,
const ConstraintMatrix &constraints,
const bool keep_constrained_dofs = true,
- const types::subdomain_id subdomain_id = numbers::invalid_unsigned_int);
+ const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id);
/**
* This function does essentially the same as the other
const std::vector<dealii::types::global_dof_index> &p4est_tree_to_coarse_cell_permutation)
{
// build list of cells to request for each neighbor
- std::set<unsigned int> level_ghost_owners = tria.level_ghost_owners();
+ std::set<dealii::types::subdomain_id> level_ghost_owners = tria.level_ghost_owners();
typedef std::map<dealii::types::subdomain_id, typename types<dim>::cellinfo> cellmap_t;
cellmap_t neighbor_cell_list;
- for (std::set<unsigned int>::iterator it = level_ghost_owners.begin();
+ for (std::set<dealii::types::subdomain_id>::iterator it = level_ghost_owners.begin();
it != level_ghost_owners.end();
++it)
neighbor_cell_list.insert(std::make_pair(*it, typename types<dim>::cellinfo()));
// one, where we take "random" to be "once this way once that way"
for (unsigned int i=0; i<dofs_per_cell; ++i)
if (subdomain_association[local_dof_indices[i]] ==
- numbers::invalid_unsigned_int)
+ numbers::invalid_subdomain_id)
subdomain_association[local_dof_indices[i]] = subdomain_id;
else
{
SP &sparsity,
const ConstraintMatrix &,
const bool,
- const unsigned int);
+ const types::subdomain_id);
template void
DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension>, SP>
SP &sparsity,
const ConstraintMatrix &,
const bool,
- const unsigned int);
+ const types::subdomain_id);
template void
DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension>, SP>
SP &,
const ConstraintMatrix &,
const bool,
- const unsigned int);
+ const types::subdomain_id);
template void
DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension>, SP>
SP &,
const ConstraintMatrix &,
const bool,
- const unsigned int);
+ const types::subdomain_id);
template void
DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension>, SP>
SP &sparsity,
const Table<2,Coupling>&,
const Table<2,Coupling>&,
- const unsigned int);
+ const types::subdomain_id);
template void
DoFTools::make_flux_sparsity_pattern<DoFHandler<deal_II_dimension>,SP>
const bool,
const Table<2,Coupling>&,
const Table<2,Coupling>&,
- const unsigned int);
+ const types::subdomain_id);
template void
DoFTools::make_flux_sparsity_pattern<DoFHandler<deal_II_dimension>,SP>
(const DoFHandler<deal_II_dimension> &dof,
SP &sparsity,
const ConstraintMatrix &constraints,
- const bool, const unsigned int);
+ const bool,
+ const types::subdomain_id);
template void
DoFTools::make_flux_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,SP>
(const hp::DoFHandler<deal_II_dimension> &dof,
SP &sparsity,
const ConstraintMatrix &constraints,
- const bool, const unsigned int);
+ const bool,
+ const types::subdomain_id);
#if deal_II_dimension > 1
SP &sparsity,
const Table<2,Coupling>&,
const Table<2,Coupling>&,
- const unsigned int);
+ const types::subdomain_id);
template void
DoFTools::make_flux_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,SP>
const bool,
const Table<2,Coupling>&,
const Table<2,Coupling>&,
- const unsigned int);
+ const types::subdomain_id);
#endif
SP &sparsity,
const ConstraintMatrix &,
const bool,
- const unsigned int);
+ const types::subdomain_id);
template void
DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>, SP>
SP &sparsity,
const ConstraintMatrix &,
const bool,
- const unsigned int);
+ const types::subdomain_id);
template void
DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>, SP>
SP &,
const ConstraintMatrix &,
const bool,
- const unsigned int);
+ const types::subdomain_id);
template void
DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>, SP>
SP &,
const ConstraintMatrix &,
const bool,
- const unsigned int);
+ const types::subdomain_id);
template void
DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>, SP>
SP &sparsity,
const ConstraintMatrix &,
const bool,
- const unsigned int);
+ const types::subdomain_id);
template void
DoFTools::make_sparsity_pattern<hp::DoFHandler<1,3>, SP>
SP &sparsity,
const ConstraintMatrix &,
const bool,
- const unsigned int);
+ const types::subdomain_id);
template void
DoFTools::make_sparsity_pattern<DoFHandler<1,3>, SP>
SP &,
const ConstraintMatrix &,
const bool,
- const unsigned int);
+ const types::subdomain_id);
template void
DoFTools::make_sparsity_pattern<hp::DoFHandler<1,3>, SP>
SP &,
const ConstraintMatrix &,
const bool,
- const unsigned int);
+ const types::subdomain_id);
template void
DoFTools::make_sparsity_pattern<DoFHandler<1,3>, SP>
// inefficient. Please fix this, Timo.
// The list of neighbors is symmetric (our neighbors have us as a neighbor),
// so we can use it to send and to know how many messages we will get.
- std::set<unsigned int> neighbors = tria->level_ghost_owners();
+ std::set<types::subdomain_id> neighbors = tria->level_ghost_owners();
std::map<int, std::vector<DoFPair> > send_data;
// * find owners of the level dofs and insert into send_data accordingly
for (typename std::vector<DoFPair>::iterator dofpair=send_data_temp.begin(); dofpair != send_data_temp.end(); ++dofpair)
{
- std::set<unsigned int>::iterator it;
+ std::set<types::subdomain_id>::iterator it;
for (it = neighbors.begin(); it != neighbors.end(); ++it)
{
if (mg_dof.locally_owned_mg_dofs_per_processor(dofpair->level)[*it].is_element(dofpair->level_dof_index))
// * send
std::vector<MPI_Request> requests;
{
- for (std::set<unsigned int>::iterator it = neighbors.begin(); it != neighbors.end(); ++it)
+ for (std::set<types::subdomain_id>::iterator it = neighbors.begin(); it != neighbors.end(); ++it)
{
requests.push_back(MPI_Request());
unsigned int dest = *it;
// ---------------------------------------------------------------------
//
-// Copyright (C) 2010 - 2015 by the deal.II authors
+// Copyright (C) 2010 - 2016 by the deal.II authors
//
// This file is part of the deal.II library.
//
const ComponentMask &,
const Function<deal_II_space_dimension> *,
const unsigned int ,
- const unsigned int ,
+ const types::subdomain_id,
const types::material_id,
const KellyErrorEstimator<deal_II_dimension, deal_II_space_dimension>::Strategy);
const ComponentMask &,
const Function<deal_II_space_dimension> *,
const unsigned int ,
- const unsigned int ,
+ const types::subdomain_id,
const types::material_id,
const KellyErrorEstimator<deal_II_dimension, deal_II_space_dimension>::Strategy);
const ComponentMask &,
const Function<deal_II_space_dimension> *,
const unsigned int ,
- const unsigned int ,
+ const types::subdomain_id,
const types::material_id,
const KellyErrorEstimator<deal_II_dimension, deal_II_space_dimension>::Strategy);
const ComponentMask &,
const Function<deal_II_space_dimension> *,
const unsigned int ,
- const unsigned int ,
+ const types::subdomain_id,
const types::material_id,
const KellyErrorEstimator<deal_II_dimension, deal_II_space_dimension>::Strategy);
const ComponentMask &,
const Function<deal_II_space_dimension> *,
const unsigned int ,
- const unsigned int ,
+ const types::subdomain_id,
const types::material_id,
const KellyErrorEstimator<deal_II_dimension, deal_II_space_dimension>::Strategy);
const ComponentMask &,
const Function<deal_II_space_dimension> *,
const unsigned int ,
- const unsigned int ,
+ const types::subdomain_id,
const types::material_id,
const KellyErrorEstimator<deal_II_dimension, deal_II_space_dimension>::Strategy);
const ComponentMask &,
const Function<deal_II_space_dimension> *,
const unsigned int ,
- const unsigned int ,
+ const types::subdomain_id,
const types::material_id,
const KellyErrorEstimator<deal_II_dimension, deal_II_space_dimension>::Strategy);
const ComponentMask &,
const Function<deal_II_space_dimension> *,
const unsigned int ,
- const unsigned int ,
+ const types::subdomain_id,
const types::material_id,
const KellyErrorEstimator<deal_II_dimension, deal_II_space_dimension>::Strategy);
// ---------------------------------------------------------------------
//
-// Copyright (C) 2010 - 2014 by the deal.II authors
+// Copyright (C) 2010 - 2014, 2016 by the deal.II authors
//
// This file is part of the deal.II library.
//
const ComponentMask &,
const Function<deal_II_space_dimension> *,
const unsigned int ,
- const unsigned int ,
+ const types::subdomain_id,
const types::material_id);
template
const ComponentMask &,
const Function<deal_II_space_dimension> *,
const unsigned int ,
- const unsigned int ,
+ const types::subdomain_id,
const types::material_id);
template
const ComponentMask &,
const Function<deal_II_space_dimension> *,
const unsigned int ,
- const unsigned int ,
+ const types::subdomain_id,
const types::material_id);
template
const ComponentMask &,
const Function<deal_II_space_dimension> *,
const unsigned int ,
- const unsigned int ,
+ const types::subdomain_id,
const types::material_id);
template
const ComponentMask &,
const Function<deal_II_space_dimension> *,
const unsigned int ,
- const unsigned int ,
+ const types::subdomain_id,
const types::material_id);
template
const ComponentMask &,
const Function<deal_II_space_dimension> *,
const unsigned int ,
- const unsigned int ,
+ const types::subdomain_id,
const types::material_id);
template
const ComponentMask &,
const Function<deal_II_space_dimension> *,
const unsigned int ,
- const unsigned int ,
+ const types::subdomain_id,
const types::material_id);
template
const ComponentMask &,
const Function<deal_II_space_dimension> *,
const unsigned int ,
- const unsigned int ,
+ const types::subdomain_id,
const types::material_id);
#endif