16 #ifndef dealii_distributed_shared_tria_h 17 #define dealii_distributed_shared_tria_h 20 #include <deal.II/base/config.h> 21 #include <deal.II/base/subscriptor.h> 22 #include <deal.II/base/smartpointer.h> 23 #include <deal.II/base/template_constraints.h> 24 #include <deal.II/grid/tria.h> 26 #include <deal.II/distributed/tria_base.h> 36 #ifdef DEAL_II_WITH_MPI 41 DEAL_II_NAMESPACE_OPEN
46 #ifdef DEAL_II_WITH_MPI 102 template <
int dim,
int spacedim = dim>
106 typedef typename ::Triangulation<dim,spacedim>::active_cell_iterator active_cell_iterator;
107 typedef typename ::Triangulation<dim,spacedim>::cell_iterator cell_iterator;
236 const typename ::Triangulation<dim,spacedim>::MeshSmoothing =
286 template <
class Archive>
287 void load (Archive &ar,
const unsigned int version);
366 template <
int dim,
int spacedim>
367 template <
class Archive>
370 const unsigned int version)
374 this->update_number_cache ();
393 template <
int dim,
int spacedim = dim>
435 DEAL_II_NAMESPACE_CLOSE
virtual void execute_coarsening_and_refinement()
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 create_triangulation(const std::vector< Point< spacedim > > &vertices, const std::vector< CellData< dim > > &cells, const SubCellData &subcelldata)
MPI_Comm mpi_communicator
const std::vector< types::subdomain_id > & get_true_level_subdomain_ids_of_cells(const unsigned int level) const
virtual void copy_triangulation(const ::Triangulation< dim, spacedim > &other_tria)
const bool allow_artificial_cells
void load(Archive &ar, const unsigned int version)
std::vector< types::subdomain_id > true_subdomain_ids_of_cells
void load(Archive &ar, const unsigned int version)
virtual void update_number_cache()
bool with_artificial_cells() const
virtual ~Triangulation()=default