16 #ifndef dealii_distributed_shared_tria_h 17 #define dealii_distributed_shared_tria_h 20 #include <deal.II/base/config.h> 22 #include <deal.II/base/smartpointer.h> 23 #include <deal.II/base/subscriptor.h> 24 #include <deal.II/base/template_constraints.h> 26 #include <deal.II/distributed/tria_base.h> 28 #include <deal.II/grid/tria.h> 37 #ifdef DEAL_II_WITH_MPI 42 DEAL_II_NAMESPACE_OPEN
46 #ifdef DEAL_II_WITH_MPI 101 template <
int dim,
int spacedim = dim>
105 using active_cell_iterator =
106 typename ::Triangulation<dim, spacedim>::active_cell_iterator;
107 using cell_iterator =
108 typename ::Triangulation<dim, spacedim>::cell_iterator;
239 const typename ::Triangulation<dim, spacedim>::MeshSmoothing =
283 const ::Triangulation<dim, spacedim> &other_tria)
override;
293 template <
class Archive>
295 load(Archive &ar,
const unsigned int version);
305 const std::vector<types::subdomain_id> &
316 const std::vector<types::subdomain_id> &
374 std::vector<std::vector<types::subdomain_id>>
378 template <
int dim,
int spacedim>
379 template <
class Archive>
385 this->update_number_cache();
403 template <
int dim,
int spacedim = dim>
416 const std::vector<types::subdomain_id> &
422 const std::vector<types::subdomain_id> &
448 DEAL_II_NAMESPACE_CLOSE
std::vector< std::vector< types::subdomain_id > > true_level_subdomain_ids_of_cells
std::vector< Point< spacedim > > vertices
const std::vector< types::subdomain_id > & get_true_subdomain_ids_of_cells() const
Triangulation(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)
virtual void execute_coarsening_and_refinement() override
MPI_Comm mpi_communicator
const std::vector< types::subdomain_id > & get_true_level_subdomain_ids_of_cells(const unsigned int level) const
virtual void update_number_cache() override
const bool allow_artificial_cells
void load(Archive &ar, const unsigned int version)
virtual ~Triangulation() override=default
std::vector< types::subdomain_id > true_subdomain_ids_of_cells
void load(Archive &ar, const unsigned int version)
virtual void create_triangulation(const std::vector< Point< spacedim >> &vertices, const std::vector< CellData< dim >> &cells, const SubCellData &subcelldata) override
bool with_artificial_cells() const
virtual void copy_triangulation(const ::Triangulation< dim, spacedim > &other_tria) override