16 #ifndef dealii_persistent_tria_h 17 #define dealii_persistent_tria_h 20 #include <deal.II/base/config.h> 21 #include <deal.II/base/smartpointer.h> 22 #include <deal.II/grid/tria.h> 25 DEAL_II_NAMESPACE_OPEN
105 template <
int dim,
int spacedim=dim>
113 static const unsigned int spacedimension = spacedim;
168 void restore (
const unsigned int step_no);
258 DEAL_II_NAMESPACE_CLOSE
virtual void create_triangulation_compatibility(const std::vector< Point< spacedim > > &vertices, const std::vector< CellData< dim > > &cells, const SubCellData &subcelldata)
std::vector< Point< spacedim > > vertices
unsigned int n_refinement_steps() const
virtual void execute_coarsening_and_refinement()
virtual std::size_t memory_consumption() const
virtual void clear_flags()
static ::ExceptionBase & ExcFlagsNotCleared()
static const unsigned int dimension
std::vector< std::vector< bool > > refine_flags
virtual void create_triangulation(const std::vector< Point< spacedim > > &vertices, const std::vector< CellData< dim > > &cells, const SubCellData &subcelldata)
virtual ~PersistentTriangulation()=default
#define DeclException0(Exception0)
PersistentTriangulation(const Triangulation< dim, spacedim > &coarse_grid)
SmartPointer< const Triangulation< dim, spacedim >, PersistentTriangulation< dim, spacedim > > coarse_grid
virtual void write_flags(std::ostream &out) const
static ::ExceptionBase & ExcTriaNotEmpty()
virtual void copy_triangulation(const Triangulation< dim, spacedim > &tria)
virtual void read_flags(std::istream &in)
std::vector< std::vector< bool > > coarsen_flags