15#ifndef dealii_distributed_shared_tria_h
16#define dealii_distributed_shared_tria_h
39#ifdef DEAL_II_WITH_MPI
106 template <
int dim,
int spacedim = dim>
113 typename ::Triangulation<dim, spacedim>::active_cell_iterator;
115 typename ::Triangulation<dim, spacedim>::cell_iterator;
141 partition_auto = 0x0,
146 partition_metis = 0x1,
165 partition_zorder = 0x2,
170 partition_zoltan = 0x3,
221 partition_custom_signal = 0x4,
231 construct_multigrid_hierarchy = 0x8,
260 const typename ::Triangulation<dim, spacedim>::MeshSmoothing =
262 const bool allow_artificial_cells =
false,
263 const Settings settings = partition_auto);
274 is_multilevel_hierarchy_constructed()
const override;
285 execute_coarsening_and_refinement()
override;
304 create_triangulation(
306 &construction_data)
override;
320 const ::Triangulation<dim, spacedim> &other_tria)
override;
328 template <
class Archive>
330 serialize(Archive &archive,
const unsigned int version);
334 BOOST_SERIALIZATION_SPLIT_MEMBER()
361 template <
class Archive>
363 load(Archive &ar,
const unsigned int version);
373 const std::vector<types::subdomain_id> &
374 get_true_subdomain_ids_of_cells()
const;
384 const std::vector<types::subdomain_id> &
385 get_true_level_subdomain_ids_of_cells(
const unsigned int level)
const;
392 with_artificial_cells()
const;
434 std::vector<std::vector<types::subdomain_id>>
440 template <
int dim,
int spacedim>
442 template <
class Archive>
444 const unsigned int version)
448 this->update_number_cache();
468 template <
int dim,
int spacedim = dim>
489 const std::vector<types::subdomain_id> &
495 const std::vector<types::subdomain_id> &
547 template <
int dim,
int spacedim = dim>
575 const ::parallel::shared::Triangulation<dim, spacedim>>
std::vector< unsigned int > saved_subdomain_ids
const SmartPointer< const ::parallel::shared::Triangulation< dim, spacedim > > shared_tria
~TemporarilyRestoreSubdomainIds()
TemporarilyRestoreSubdomainIds(const Triangulation< dim, spacedim > &tria)
std::vector< types::subdomain_id > true_subdomain_ids_of_cells
typename ::Triangulation< dim, spacedim >::cell_iterator cell_iterator
const std::vector< types::subdomain_id > & get_true_subdomain_ids_of_cells() const
std::vector< std::vector< types::subdomain_id > > true_level_subdomain_ids_of_cells
bool with_artificial_cells() const
const std::vector< types::subdomain_id > & get_true_level_subdomain_ids_of_cells(const unsigned int level) const
void serialize(Archive &archive, const unsigned int version)
virtual ~Triangulation() override=default
Triangulation(const MPI_Comm mpi_communicator, const typename ::Triangulation< dim, spacedim >::MeshSmoothing=(::Triangulation< dim, spacedim >::none), const bool allow_artificial_cells=false, const Settings settings=partition_auto)
typename ::Triangulation< dim, spacedim >::active_cell_iterator active_cell_iterator
virtual bool is_multilevel_hierarchy_constructed() const override
void load(Archive &ar, const unsigned int version)
const bool allow_artificial_cells
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_CXX20_REQUIRES(condition)
#define DEAL_II_NAMESPACE_CLOSE