namespace distributed
{
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
class Triangulation;
}
namespace shared
{
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
class Triangulation;
}
namespace fullydistributed
{
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
class Triangulation;
}
} // namespace parallel
* GridTools::collect_periodic_faces()) are supported.
*/
template <int dim, int spacedim = dim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
class Triangulation
: public parallel::DistributedTriangulationBase<dim, spacedim>
{
namespace distributed
{
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
class Triangulation;
}
} // namespace parallel
* @ingroup distributed
*/
template <int dim, int spacedim = dim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
class Triangulation
: public dealii::parallel::TriangulationBase<dim, spacedim>
{
true_level_subdomain_ids_of_cells;
};
+
+
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
template <class Archive>
- void
- Triangulation<dim, spacedim>::load(Archive &ar, const unsigned int version)
+ void Triangulation<dim, spacedim>::load(Archive & ar,
+ const unsigned int version)
{
dealii::Triangulation<dim, spacedim>::load(ar, version);
partition();
* MPI is not available.
*/
template <int dim, int spacedim = dim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
class Triangulation
: public dealii::parallel::TriangulationBase<dim, spacedim>
{
* @ingroup distributed
*/
template <int dim, int spacedim = dim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
class Triangulation
: public dealii::parallel::DistributedTriangulationBase<dim, spacedim>
{
* all this class does is throw an exception.
*/
template <int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<1, spacedim>))
class Triangulation<1, spacedim>
: public dealii::parallel::DistributedTriangulationBase<1, spacedim>
{
* p4est is not available.
*/
template <int dim, int spacedim = dim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
class Triangulation
: public dealii::parallel::DistributedTriangulationBase<dim, spacedim>
{
* @endcode
*/
template <int dim, int spacedim = dim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
class DistributedTriangulationBase
: public dealii::parallel::TriangulationBase<dim, spacedim>
{
namespace distributed
{
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
class Triangulation;
}
} // namespace parallel
namespace fullydistributed
{
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
Triangulation<dim, spacedim>::Triangulation(
const MPI_Comm &mpi_communicator)
: parallel::DistributedTriangulationBase<dim, spacedim>(mpi_communicator)
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::create_triangulation(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::create_triangulation(
const TriangulationDescription::Description<dim, spacedim>
&construction_data)
{
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::create_triangulation(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::create_triangulation(
const std::vector<Point<spacedim>> & vertices,
const std::vector<dealii::CellData<dim>> &cells,
const SubCellData & subcelldata)
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::copy_triangulation(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::copy_triangulation(
const dealii::Triangulation<dim, spacedim> &other_tria)
{
// pointer to the triangulation for which the construction data
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::set_partitioner(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::set_partitioner(
const std::function<void(dealii::Triangulation<dim, spacedim> &,
const unsigned int)> &partitioner,
const TriangulationDescription::Settings & settings)
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::set_partitioner(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::set_partitioner(
const RepartitioningPolicyTools::Base<dim, spacedim> &partitioner,
const TriangulationDescription::Settings & settings)
{
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::repartition()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::repartition()
{
// signal that repartitioning has started
this->signals.pre_distributed_repartition();
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::execute_coarsening_and_refinement()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::execute_coarsening_and_refinement()
{
Assert(false, ExcNotImplemented());
}
template <int dim, int spacedim>
- bool
- Triangulation<dim, spacedim>::prepare_coarsening_and_refinement()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ bool Triangulation<dim, spacedim>::prepare_coarsening_and_refinement()
{
Assert(
currently_processing_prepare_coarsening_and_refinement_for_internal_usage,
template <int dim, int spacedim>
- std::size_t
- Triangulation<dim, spacedim>::memory_consumption() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ std::size_t Triangulation<dim, spacedim>::memory_consumption() const
{
const std::size_t mem =
this->dealii::parallel::TriangulationBase<dim, spacedim>::
template <int dim, int spacedim>
- bool
- Triangulation<dim, spacedim>::is_multilevel_hierarchy_constructed() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ bool Triangulation<dim, spacedim>::is_multilevel_hierarchy_constructed()
+ const
{
return (
settings &
template <int dim, int spacedim>
- unsigned int
- Triangulation<dim, spacedim>::coarse_cell_id_to_coarse_cell_index(
- const types::coarse_cell_id coarse_cell_id) const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ unsigned int Triangulation<dim, spacedim>::
+ coarse_cell_id_to_coarse_cell_index(
+ const types::coarse_cell_id coarse_cell_id) const
{
const auto coarse_cell_index = std::lower_bound(
coarse_cell_id_to_coarse_cell_index_vector.begin(),
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
types::coarse_cell_id
- Triangulation<dim, spacedim>::coarse_cell_index_to_coarse_cell_id(
- const unsigned int coarse_cell_index) const
+ Triangulation<dim, spacedim>::coarse_cell_index_to_coarse_cell_id(
+ const unsigned int coarse_cell_index) const
{
AssertIndexRange(coarse_cell_index,
coarse_cell_index_to_coarse_cell_id_vector.size());
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::update_cell_relations()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::update_cell_relations()
{
// Reorganize memory for local_cell_relations.
this->local_cell_relations.clear();
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::save(const std::string &filename) const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::save(const std::string &filename) const
{
#ifdef DEAL_II_WITH_MPI
AssertThrow(this->cell_attached_data.pack_callbacks_variable.size() == 0,
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::load(const std::string &filename)
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::load(const std::string &filename)
{
#ifdef DEAL_II_WITH_MPI
Assert(this->n_cells() == 0,
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::load(const std::string &filename,
- const bool autopartition)
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::load(const std::string &filename,
+ const bool autopartition)
{
(void)autopartition;
load(filename);
namespace shared
{
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
Triangulation<dim, spacedim>::Triangulation(
const MPI_Comm &mpi_communicator,
const typename dealii::Triangulation<dim, spacedim>::MeshSmoothing
template <int dim, int spacedim>
- bool
- Triangulation<dim, spacedim>::is_multilevel_hierarchy_constructed() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ bool Triangulation<dim, spacedim>::is_multilevel_hierarchy_constructed()
+ const
{
return (settings & construct_multigrid_hierarchy);
}
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::partition()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::partition()
{
# ifdef DEBUG
// Check that all meshes are the same (or at least have the same
template <int dim, int spacedim>
- bool
- Triangulation<dim, spacedim>::with_artificial_cells() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ bool Triangulation<dim, spacedim>::with_artificial_cells() const
{
return allow_artificial_cells;
}
template <int dim, int spacedim>
- const std::vector<types::subdomain_id> &
- Triangulation<dim, spacedim>::get_true_subdomain_ids_of_cells() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ const std::vector<types::subdomain_id>
+ &Triangulation<dim, spacedim>::get_true_subdomain_ids_of_cells() const
{
return true_subdomain_ids_of_cells;
}
template <int dim, int spacedim>
- const std::vector<types::subdomain_id> &
- Triangulation<dim, spacedim>::get_true_level_subdomain_ids_of_cells(
- const unsigned int level) const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ const std::vector<types::subdomain_id>
+ &Triangulation<dim, spacedim>::get_true_level_subdomain_ids_of_cells(
+ const unsigned int level) const
{
Assert(level < true_level_subdomain_ids_of_cells.size(),
ExcInternalError());
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::execute_coarsening_and_refinement()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::execute_coarsening_and_refinement()
{
// make sure that all refinement/coarsening flags are the same on all
// processes
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::create_triangulation(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::create_triangulation(
const std::vector<Point<spacedim>> &vertices,
const std::vector<CellData<dim>> & cells,
const SubCellData & subcelldata)
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::create_triangulation(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::create_triangulation(
const TriangulationDescription::Description<dim, spacedim>
&construction_data)
{
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::copy_triangulation(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::copy_triangulation(
const dealii::Triangulation<dim, spacedim> &other_tria)
{
Assert(
namespace shared
{
template <int dim, int spacedim>
- bool
- Triangulation<dim, spacedim>::with_artificial_cells() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ bool Triangulation<dim, spacedim>::with_artificial_cells() const
{
Assert(false, ExcNotImplemented());
return true;
}
+
+
template <int dim, int spacedim>
- bool
- Triangulation<dim, spacedim>::is_multilevel_hierarchy_constructed() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ bool Triangulation<dim, spacedim>::is_multilevel_hierarchy_constructed()
+ const
{
return false;
}
+
+
template <int dim, int spacedim>
- const std::vector<unsigned int> &
- Triangulation<dim, spacedim>::get_true_subdomain_ids_of_cells() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ const std::vector<unsigned int>
+ &Triangulation<dim, spacedim>::get_true_subdomain_ids_of_cells() const
{
Assert(false, ExcNotImplemented());
return true_subdomain_ids_of_cells;
template <int dim, int spacedim>
- const std::vector<unsigned int> &
- Triangulation<dim, spacedim>::get_true_level_subdomain_ids_of_cells(
- const unsigned int) const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ const std::vector<unsigned int>
+ &Triangulation<dim, spacedim>::get_true_level_subdomain_ids_of_cells(
+ const unsigned int) const
{
Assert(false, ExcNotImplemented());
return true_level_subdomain_ids_of_cells;
{
/*----------------- class Triangulation<dim,spacedim> ---------------\*/
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
Triangulation<dim, spacedim>::Triangulation(
const MPI_Comm &mpi_communicator,
const typename dealii::Triangulation<dim, spacedim>::MeshSmoothing
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
Triangulation<dim, spacedim>::~Triangulation()
{
// virtual functions called in constructors and destructors never use the
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::create_triangulation(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::create_triangulation(
const std::vector<Point<spacedim>> &vertices,
const std::vector<CellData<dim>> & cells,
const SubCellData & subcelldata)
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::create_triangulation(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::create_triangulation(
const TriangulationDescription::Description<dim, spacedim>
&construction_data)
{
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::clear()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::clear()
{
triangulation_has_content = false;
template <int dim, int spacedim>
- bool
- Triangulation<dim, spacedim>::is_multilevel_hierarchy_constructed() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ bool Triangulation<dim, spacedim>::is_multilevel_hierarchy_constructed()
+ const
{
return settings &
Triangulation<dim, spacedim>::construct_multigrid_hierarchy;
template <int dim, int spacedim>
- bool
- Triangulation<dim, spacedim>::are_vertices_communicated_to_p4est() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ bool Triangulation<dim, spacedim>::are_vertices_communicated_to_p4est()
+ const
{
return settings &
Triangulation<dim, spacedim>::communicate_vertices_to_p4est;
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::execute_transfer(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::execute_transfer(
const typename dealii::internal::p4est::types<dim>::forest
*parallel_forest,
const typename dealii::internal::p4est::types<dim>::gloidx
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::setup_coarse_cell_to_p4est_tree_permutation()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim,
+ spacedim>::setup_coarse_cell_to_p4est_tree_permutation()
{
DynamicSparsityPattern cell_connectivity;
dealii::GridTools::get_vertex_connectivity_of_cells(*this,
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::write_mesh_vtk(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::write_mesh_vtk(
const std::string &file_basename) const
{
Assert(parallel_forest != nullptr,
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::save(const std::string &filename) const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::save(const std::string &filename) const
{
Assert(
this->cell_attached_data.n_attached_deserialize == 0,
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::load(const std::string &filename)
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::load(const std::string &filename)
{
Assert(
this->n_cells() > 0,
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::load(const std::string &filename,
- const bool autopartition)
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::load(const std::string &filename,
+ const bool autopartition)
{
(void)autopartition;
load(filename);
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::load(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::load(
const typename dealii::internal::p4est::types<dim>::forest *forest)
{
Assert(this->n_cells() > 0,
template <int dim, int spacedim>
- unsigned int
- Triangulation<dim, spacedim>::get_checksum() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ unsigned int Triangulation<dim, spacedim>::get_checksum() const
{
Assert(parallel_forest != nullptr,
ExcMessage(
template <int dim, int spacedim>
- const typename dealii::internal::p4est::types<dim>::forest *
- Triangulation<dim, spacedim>::get_p4est() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ const typename dealii::internal::p4est::types<dim>::forest
+ *Triangulation<dim, spacedim>::get_p4est() const
{
Assert(parallel_forest != nullptr,
ExcMessage("The forest has not been allocated yet."));
template <int dim, int spacedim>
- typename dealii::internal::p4est::types<dim>::tree *
- Triangulation<dim, spacedim>::init_tree(
- const int dealii_coarse_cell_index) const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ typename dealii::internal::p4est::types<dim>::tree
+ *Triangulation<dim, spacedim>::init_tree(
+ const int dealii_coarse_cell_index) const
{
const unsigned int tree_index =
coarse_cell_to_p4est_tree_permutation[dealii_coarse_cell_index];
template <int dim, int spacedim>
- bool
- Triangulation<dim, spacedim>::prepare_coarsening_and_refinement()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ bool Triangulation<dim, spacedim>::prepare_coarsening_and_refinement()
{
bool mesh_changed = false;
unsigned int loop_counter = 0;
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::copy_local_forest_to_triangulation()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::copy_local_forest_to_triangulation()
{
// Disable mesh smoothing for recreating the deal.II triangulation,
// otherwise we might not be able to reproduce the p4est mesh
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
types::subdomain_id
- Triangulation<dim, spacedim>::find_point_owner_rank(const Point<dim> &p)
+ Triangulation<dim, spacedim>::find_point_owner_rank(const Point<dim> &p)
{
// Call the other function
std::vector<Point<dim>> point{p};
template <int dim, int spacedim>
- std::vector<types::subdomain_id>
- Triangulation<dim, spacedim>::find_point_owner_rank(
- const std::vector<Point<dim>> &points)
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ std::vector<types::subdomain_id> Triangulation<dim, spacedim>::
+ find_point_owner_rank(const std::vector<Point<dim>> &points)
{
# ifndef P4EST_SEARCH_LOCAL
(void)points;
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::execute_coarsening_and_refinement()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::execute_coarsening_and_refinement()
{
// do not allow anisotropic refinement
# ifdef DEBUG
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::repartition()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::repartition()
{
# ifdef DEBUG
for (const auto &cell : this->active_cell_iterators())
template <int dim, int spacedim>
- const std::vector<types::global_dof_index> &
- Triangulation<dim, spacedim>::get_p4est_tree_to_coarse_cell_permutation()
- const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ const std::vector<types::global_dof_index>
+ &Triangulation<dim, spacedim>::get_p4est_tree_to_coarse_cell_permutation()
+ const
{
return p4est_tree_to_coarse_cell_permutation;
}
template <int dim, int spacedim>
- const std::vector<types::global_dof_index> &
- Triangulation<dim, spacedim>::get_coarse_cell_to_p4est_tree_permutation()
- const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ const std::vector<types::global_dof_index>
+ &Triangulation<dim, spacedim>::get_coarse_cell_to_p4est_tree_permutation()
+ const
{
return coarse_cell_to_p4est_tree_permutation;
}
template <int dim, int spacedim>
- std::vector<bool>
- Triangulation<dim, spacedim>::mark_locally_active_vertices_on_level(
- const int level) const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ std::vector<bool> Triangulation<dim, spacedim>::
+ mark_locally_active_vertices_on_level(const int level) const
{
Assert(dim > 1, ExcNotImplemented());
template <int dim, int spacedim>
- unsigned int
- Triangulation<dim, spacedim>::coarse_cell_id_to_coarse_cell_index(
- const types::coarse_cell_id coarse_cell_id) const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ unsigned int Triangulation<dim, spacedim>::
+ coarse_cell_id_to_coarse_cell_index(
+ const types::coarse_cell_id coarse_cell_id) const
{
return p4est_tree_to_coarse_cell_permutation[coarse_cell_id];
}
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
types::coarse_cell_id
- Triangulation<dim, spacedim>::coarse_cell_index_to_coarse_cell_id(
- const unsigned int coarse_cell_index) const
+ Triangulation<dim, spacedim>::coarse_cell_index_to_coarse_cell_id(
+ const unsigned int coarse_cell_index) const
{
return coarse_cell_to_p4est_tree_permutation[coarse_cell_index];
}
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::add_periodicity(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::add_periodicity(
const std::vector<dealii::GridTools::PeriodicFacePair<cell_iterator>>
&periodicity_vector)
{
template <int dim, int spacedim>
- std::size_t
- Triangulation<dim, spacedim>::memory_consumption() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ std::size_t Triangulation<dim, spacedim>::memory_consumption() const
{
std::size_t mem =
this->dealii::parallel::TriangulationBase<dim, spacedim>::
template <int dim, int spacedim>
- std::size_t
- Triangulation<dim, spacedim>::memory_consumption_p4est() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ std::size_t Triangulation<dim, spacedim>::memory_consumption_p4est() const
{
return dealii::internal::p4est::functions<dim>::forest_memory_used(
parallel_forest) +
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::copy_triangulation(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::copy_triangulation(
const dealii::Triangulation<dim, spacedim> &other_tria)
{
Assert(
template <int dim, int spacedim>
- void
- Triangulation<dim, spacedim>::update_cell_relations()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void Triangulation<dim, spacedim>::update_cell_relations()
{
// reorganize memory for local_cell_relations
this->local_cell_relations.resize(parallel_forest->local_num_quadrants);
template <int dim, int spacedim>
- std::vector<unsigned int>
- Triangulation<dim, spacedim>::get_cell_weights() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ std::vector<unsigned int> Triangulation<dim, spacedim>::get_cell_weights()
+ const
{
// check if local_cell_relations have been previously gathered
// correctly
template <int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<1, spacedim>))
Triangulation<1, spacedim>::Triangulation(
const MPI_Comm &mpi_communicator,
const typename dealii::Triangulation<1, spacedim>::MeshSmoothing
template <int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<1, spacedim>))
Triangulation<1, spacedim>::~Triangulation()
{
AssertNothrow(false, ExcNotImplemented());
template <int spacedim>
- const std::vector<types::global_dof_index> &
- Triangulation<1, spacedim>::get_p4est_tree_to_coarse_cell_permutation()
- const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<1, spacedim>))
+ const std::vector<types::global_dof_index>
+ &Triangulation<1, spacedim>::get_p4est_tree_to_coarse_cell_permutation()
+ const
{
static std::vector<types::global_dof_index> a;
return a;
template <int spacedim>
- std::map<unsigned int, std::set<dealii::types::subdomain_id>>
- Triangulation<1, spacedim>::compute_level_vertices_with_ghost_neighbors(
- const unsigned int /*level*/) const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<1, spacedim>))
+ std::map<unsigned int,
+ std::set<dealii::types::subdomain_id>> Triangulation<1, spacedim>::
+ compute_level_vertices_with_ghost_neighbors(
+ const unsigned int /*level*/) const
{
Assert(false, ExcNotImplemented());
template <int spacedim>
- std::vector<bool>
- Triangulation<1, spacedim>::mark_locally_active_vertices_on_level(
- const unsigned int) const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<1, spacedim>))
+ std::vector<bool> Triangulation<1, spacedim>::
+ mark_locally_active_vertices_on_level(const unsigned int) const
{
Assert(false, ExcNotImplemented());
return std::vector<bool>();
template <int spacedim>
- unsigned int
- Triangulation<1, spacedim>::coarse_cell_id_to_coarse_cell_index(
- const types::coarse_cell_id) const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<1, spacedim>))
+ unsigned int Triangulation<1, spacedim>::
+ coarse_cell_id_to_coarse_cell_index(const types::coarse_cell_id) const
{
Assert(false, ExcNotImplemented());
return 0;
template <int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<1, spacedim>))
types::coarse_cell_id
- Triangulation<1, spacedim>::coarse_cell_index_to_coarse_cell_id(
- const unsigned int) const
+ Triangulation<1, spacedim>::coarse_cell_index_to_coarse_cell_id(
+ const unsigned int) const
{
Assert(false, ExcNotImplemented());
return 0;
template <int spacedim>
- void
- Triangulation<1, spacedim>::load(const std::string &)
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<1, spacedim>))
+ void Triangulation<1, spacedim>::load(const std::string &)
{
Assert(false, ExcNotImplemented());
}
template <int spacedim>
- void
- Triangulation<1, spacedim>::load(const std::string &, const bool)
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<1, spacedim>))
+ void Triangulation<1, spacedim>::load(const std::string &, const bool)
{
Assert(false, ExcNotImplemented());
}
template <int spacedim>
- void
- Triangulation<1, spacedim>::save(const std::string &) const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<1, spacedim>))
+ void Triangulation<1, spacedim>::save(const std::string &) const
{
Assert(false, ExcNotImplemented());
}
template <int spacedim>
- bool
- Triangulation<1, spacedim>::is_multilevel_hierarchy_constructed() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<1, spacedim>))
+ bool Triangulation<1, spacedim>::is_multilevel_hierarchy_constructed() const
{
Assert(false, ExcNotImplemented());
return false;
template <int spacedim>
- bool
- Triangulation<1, spacedim>::are_vertices_communicated_to_p4est() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<1, spacedim>))
+ bool Triangulation<1, spacedim>::are_vertices_communicated_to_p4est() const
{
Assert(false, ExcNotImplemented());
return false;
template <int spacedim>
- void
- Triangulation<1, spacedim>::update_cell_relations()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<1, spacedim>))
+ void Triangulation<1, spacedim>::update_cell_relations()
{
Assert(false, ExcNotImplemented());
}
namespace parallel
{
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
TriangulationBase<dim, spacedim>::TriangulationBase(
const MPI_Comm &mpi_communicator,
const typename dealii::Triangulation<dim, spacedim>::MeshSmoothing
template <int dim, int spacedim>
- void
- TriangulationBase<dim, spacedim>::copy_triangulation(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void TriangulationBase<dim, spacedim>::copy_triangulation(
const dealii::Triangulation<dim, spacedim> &other_tria)
{
#ifndef DEAL_II_WITH_MPI
template <int dim, int spacedim>
- std::size_t
- TriangulationBase<dim, spacedim>::memory_consumption() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ std::size_t TriangulationBase<dim, spacedim>::memory_consumption() const
{
std::size_t mem =
this->dealii::Triangulation<dim, spacedim>::memory_consumption() +
return mem;
}
+
+
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
TriangulationBase<dim, spacedim>::~TriangulationBase()
{
// release unused vector memory because the vector layout is going to look
release_all_unused_memory();
}
+
+
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
TriangulationBase<dim, spacedim>::NumberCache::NumberCache()
: n_locally_owned_active_cells(0)
, number_of_global_coarse_cells(0)
, n_global_levels(0)
{}
+
+
template <int dim, int spacedim>
- unsigned int
- TriangulationBase<dim, spacedim>::n_locally_owned_active_cells() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ unsigned int TriangulationBase<dim, spacedim>::n_locally_owned_active_cells()
+ const
{
return number_cache.n_locally_owned_active_cells;
}
+
+
template <int dim, int spacedim>
- unsigned int
- TriangulationBase<dim, spacedim>::n_global_levels() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ unsigned int TriangulationBase<dim, spacedim>::n_global_levels() const
{
return number_cache.n_global_levels;
}
+
+
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
types::global_cell_index
- TriangulationBase<dim, spacedim>::n_global_active_cells() const
+ TriangulationBase<dim, spacedim>::n_global_active_cells() const
{
return number_cache.n_global_active_cells;
}
+
+
template <int dim, int spacedim>
- MPI_Comm
- TriangulationBase<dim, spacedim>::get_communicator() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ MPI_Comm TriangulationBase<dim, spacedim>::get_communicator() const
{
return mpi_communicator;
}
+
+
#ifdef DEAL_II_WITH_MPI
template <int dim, int spacedim>
- void
- TriangulationBase<dim, spacedim>::update_number_cache()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void TriangulationBase<dim, spacedim>::update_number_cache()
{
number_cache.ghost_owners.clear();
number_cache.level_ghost_owners.clear();
#else
template <int dim, int spacedim>
- void
- TriangulationBase<dim, spacedim>::update_number_cache()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void TriangulationBase<dim, spacedim>::update_number_cache()
{
Assert(false, ExcNeedsMPI());
}
#endif
template <int dim, int spacedim>
- void
- TriangulationBase<dim, spacedim>::update_reference_cells()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void TriangulationBase<dim, spacedim>::update_reference_cells()
{
// run algorithm for locally-owned cells
dealii::Triangulation<dim, spacedim>::update_reference_cells();
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
types::subdomain_id
- TriangulationBase<dim, spacedim>::locally_owned_subdomain() const
+ TriangulationBase<dim, spacedim>::locally_owned_subdomain() const
{
return my_subdomain;
}
template <int dim, int spacedim>
- const std::set<types::subdomain_id> &
- TriangulationBase<dim, spacedim>::ghost_owners() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ const std::set<types::subdomain_id>
+ &TriangulationBase<dim, spacedim>::ghost_owners() const
{
return number_cache.ghost_owners;
}
template <int dim, int spacedim>
- const std::set<types::subdomain_id> &
- TriangulationBase<dim, spacedim>::level_ghost_owners() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ const std::set<types::subdomain_id>
+ &TriangulationBase<dim, spacedim>::level_ghost_owners() const
{
return number_cache.level_ghost_owners;
}
template <int dim, int spacedim>
- std::vector<types::boundary_id>
- TriangulationBase<dim, spacedim>::get_boundary_ids() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ std::vector<types::boundary_id> TriangulationBase<dim, spacedim>::
+ get_boundary_ids() const
{
return Utilities::MPI::compute_set_union(
dealii::Triangulation<dim, spacedim>::get_boundary_ids(),
template <int dim, int spacedim>
- std::vector<types::manifold_id>
- TriangulationBase<dim, spacedim>::get_manifold_ids() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ std::vector<types::manifold_id> TriangulationBase<dim, spacedim>::
+ get_manifold_ids() const
{
return Utilities::MPI::compute_set_union(
dealii::Triangulation<dim, spacedim>::get_manifold_ids(),
template <int dim, int spacedim>
- void
- TriangulationBase<dim, spacedim>::reset_global_cell_indices()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void TriangulationBase<dim, spacedim>::reset_global_cell_indices()
{
#ifndef DEAL_II_WITH_MPI
Assert(false, ExcNeedsMPI());
template <int dim, int spacedim>
- void
- TriangulationBase<dim, spacedim>::communicate_locally_moved_vertices(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void TriangulationBase<dim, spacedim>::communicate_locally_moved_vertices(
const std::vector<bool> &vertex_locally_moved)
{
AssertDimension(vertex_locally_moved.size(), this->n_vertices());
template <int dim, int spacedim>
- const std::weak_ptr<const Utilities::MPI::Partitioner>
- TriangulationBase<dim, spacedim>::global_active_cell_index_partitioner() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ const std::weak_ptr<const Utilities::MPI::Partitioner> TriangulationBase<
+ dim,
+ spacedim>::global_active_cell_index_partitioner() const
{
return number_cache.active_cell_index_partitioner;
}
template <int dim, int spacedim>
- const std::weak_ptr<const Utilities::MPI::Partitioner>
- TriangulationBase<dim, spacedim>::global_level_cell_index_partitioner(
- const unsigned int level) const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ const std::weak_ptr<const Utilities::MPI::Partitioner> TriangulationBase<
+ dim,
+ spacedim>::global_level_cell_index_partitioner(const unsigned int level)
+ const
{
Assert(this->is_multilevel_hierarchy_constructed(), ExcNotImplemented());
AssertIndexRange(level, this->n_global_levels());
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
types::coarse_cell_id
- TriangulationBase<dim, spacedim>::n_global_coarse_cells() const
+ TriangulationBase<dim, spacedim>::n_global_coarse_cells() const
{
return number_cache.number_of_global_coarse_cells;
}
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
DistributedTriangulationBase<dim, spacedim>::DistributedTriangulationBase(
const MPI_Comm &mpi_communicator,
const typename dealii::Triangulation<dim, spacedim>::MeshSmoothing
template <int dim, int spacedim>
- void
- DistributedTriangulationBase<dim, spacedim>::clear()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void DistributedTriangulationBase<dim, spacedim>::clear()
{
cell_attached_data = {0, 0, {}, {}};
data_transfer.clear();
template <int dim, int spacedim>
- void
- DistributedTriangulationBase<dim, spacedim>::save_attached_data(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void DistributedTriangulationBase<dim, spacedim>::save_attached_data(
const unsigned int global_first_cell,
const unsigned int global_num_cells,
const std::string &filename) const
template <int dim, int spacedim>
- bool
- DistributedTriangulationBase<dim, spacedim>::has_hanging_nodes() const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ bool DistributedTriangulationBase<dim, spacedim>::has_hanging_nodes() const
{
if (this->n_global_levels() <= 1)
return false; // can not have hanging nodes without refined cells
template <int dim, int spacedim>
- void
- DistributedTriangulationBase<dim, spacedim>::load_attached_data(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void DistributedTriangulationBase<dim, spacedim>::load_attached_data(
const unsigned int global_first_cell,
const unsigned int global_num_cells,
const unsigned int local_num_cells,
template <int dim, int spacedim>
- unsigned int
- DistributedTriangulationBase<dim, spacedim>::register_data_attach(
- const std::function<std::vector<char>(const cell_iterator &,
- const CellStatus)> &pack_callback,
- const bool returns_variable_size_data)
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ unsigned int DistributedTriangulationBase<dim, spacedim>::
+ register_data_attach(
+ const std::function<std::vector<char>(const cell_iterator &,
+ const CellStatus)> &pack_callback,
+ const bool returns_variable_size_data)
{
unsigned int handle = numbers::invalid_unsigned_int;
template <int dim, int spacedim>
- void
- DistributedTriangulationBase<dim, spacedim>::notify_ready_to_unpack(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void DistributedTriangulationBase<dim, spacedim>::notify_ready_to_unpack(
const unsigned int handle,
const std::function<
void(const cell_iterator &,
template <int dim, int spacedim>
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
DistributedTriangulationBase<dim, spacedim>::DataTransfer::DataTransfer(
const MPI_Comm &mpi_communicator)
: variable_size_data_stored(false)
template <int dim, int spacedim>
- void
- DistributedTriangulationBase<dim, spacedim>::DataTransfer::pack_data(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void DistributedTriangulationBase<dim, spacedim>::DataTransfer::pack_data(
const std::vector<cell_relation_t> &cell_relations,
const std::vector<typename CellAttachedData::pack_callback_t>
&pack_callbacks_fixed,
template <int dim, int spacedim>
- void
- DistributedTriangulationBase<dim, spacedim>::DataTransfer::unpack_cell_status(
- std::vector<cell_relation_t> &cell_relations) const
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void DistributedTriangulationBase<dim, spacedim>::DataTransfer::
+ unpack_cell_status(std::vector<cell_relation_t> &cell_relations) const
{
Assert(sizes_fixed_cumulative.size() > 0,
ExcMessage("No data has been packed!"));
template <int dim, int spacedim>
- void
- DistributedTriangulationBase<dim, spacedim>::DataTransfer::unpack_data(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void DistributedTriangulationBase<dim, spacedim>::DataTransfer::unpack_data(
const std::vector<cell_relation_t> &cell_relations,
const unsigned int handle,
const std::function<
template <int dim, int spacedim>
- void
- DistributedTriangulationBase<dim, spacedim>::DataTransfer::save(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void DistributedTriangulationBase<dim, spacedim>::DataTransfer::save(
const unsigned int global_first_cell,
const unsigned int global_num_cells,
const std::string &filename) const
template <int dim, int spacedim>
- void
- DistributedTriangulationBase<dim, spacedim>::DataTransfer::load(
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void DistributedTriangulationBase<dim, spacedim>::DataTransfer::load(
const unsigned int global_first_cell,
const unsigned int global_num_cells,
const unsigned int local_num_cells,
template <int dim, int spacedim>
- void
- DistributedTriangulationBase<dim, spacedim>::DataTransfer::clear()
+ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
+ void DistributedTriangulationBase<dim, spacedim>::DataTransfer::clear()
{
variable_size_data_stored = false;