25#include <Kokkos_Macros.hpp>
39 template <
int dim,
int spacedim>
48 template <
int dim,
int spacedim>
73 template <
int dim,
int spacedim>
76 const bool orientation_needed)
93 if (dim == spacedim - 1)
114 template <
int dim,
int spacedim>
117 const bool orientation_needed,
118 const bool has_tetrahedra)
123 if (n_new_cells == 0)
125 const auto total_cells =
size() + n_new_cells;
140 static_cast<std::uint8_t
>(
176 if (dim == spacedim - 1)
186 parents.reserve((total_cells + 1) / 2);
void allocate(const std::size_t n_cells, const bool orientation_needed)
std::vector< types::subdomain_id > level_subdomain_ids
unsigned int faces_per_object
std::vector< std::int8_t > neighbor_levels
std::vector< int > neighbor_indices
std::vector< ReferenceCell< dim > > reference_cell
void allocate_end(const std::size_t n_new_cells, const bool orientation_needed, const bool has_tetrahedra)
std::vector< bool > coarsen_flags
std::vector< unsigned int > cell_vertex_indices_cache
std::vector< std::uint8_t > refine_choice
std::vector< std::uint8_t > refine_flags
std::vector< types::global_cell_index > global_active_cell_indices
TriaObjectsOrientations face_orientations
std::vector< types::subdomain_id > subdomain_ids
unsigned int vertices_per_object
std::vector< types::global_cell_index > global_level_cell_indices
std::size_t memory_consumption() const
std::vector< int > parents
std::vector< unsigned int > active_cell_indices
std::vector< bool > direction_flags
unsigned int children_per_object
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define Assert(cond, exc)
static ::ExceptionBase & ExcInternalError()
std::enable_if_t< std::is_fundamental_v< T >, std::size_t > memory_consumption(const T &t)
constexpr ReferenceCell< dim > Invalid
constexpr const ReferenceCell< dim > & get_hypercube()
unsigned int n_cells(const internal::TriangulationImplementation::NumberCache< 1 > &c)
constexpr types::global_dof_index invalid_dof_index
constexpr unsigned int invalid_unsigned_int