15#ifndef dealii_tria_objects_h
16#define dealii_tria_objects_h
30template <
int dim,
int spacedim>
33template <
class Accessor>
35template <
int,
int,
int>
41 namespace TriangulationImplementation
160 template <
class Archive>
162 serialize(Archive &ar,
const unsigned int version);
198 template <
int structdim,
int dim,
int spacedim>
213 template <
int structdim,
int dim,
int spacedim>
221 template <
int dim,
int spacedim>
224 const unsigned int level);
281 template <
class Archive>
283 serialize(Archive &ar,
const unsigned int version);
337 template <
class Archive>
339 serialize(Archive &ar,
const unsigned int version);
388 const unsigned int faces_per_cell = 2 * this->
structdim;
410 template <
class Archive>
423 if (
sizeof(material_id) >
sizeof(boundary_id))
454 inline unsigned int &
484 : structdim(structdim)
485 , next_free_single(
numbers::invalid_unsigned_int)
486 , next_free_pair(
numbers::invalid_unsigned_int)
487 , reverse_order_next_free_single(false)
488 , user_data_type(data_unknown)
520 template <
class Archive>
530 template <
class Archive>
548 template <
int structdim_,
int dim,
int spacedim>
563 for (; pos < last; ++pos)
575 pos =
used.size() - 1;
585 for (; pos >= 0; --pos)
592 return ::TriaRawIterator<
596 return ::TriaRawIterator<
602 template <
int structdim_,
int dim,
int spacedim>
612 for (; pos < last; ++pos)
622 return ::TriaRawIterator<
627 return ::TriaRawIterator<
typename IteratorSelector::raw_hex_iterator raw_hex_iterator
std::vector< types::manifold_id > manifold_id
ArrayView< int > get_bounding_object_indices(const unsigned int index)
std::vector< int > children
unsigned int next_free_pair
void *& user_pointer(const unsigned int i)
void serialize(Archive &ar, const unsigned int version)
std::size_t memory_consumption() const
Triangulation< dim, spacedim >::raw_hex_iterator next_free_hex(const Triangulation< dim, spacedim > &tria, const unsigned int level)
std::vector< bool > user_flags
unsigned int & user_index(const unsigned int i)
UserDataType user_data_type
::TriaRawIterator<::TriaAccessor< structdim, dim, spacedim > > next_free_single_object(const Triangulation< dim, spacedim > &tria)
@ data_index
UserData contains indices.
@ data_unknown
No userdata used yet.
@ data_pointer
UserData contains pointers.
bool reverse_order_next_free_single
unsigned int next_free_single
::TriaRawIterator<::TriaAccessor< structdim, dim, spacedim > > next_free_pair_object(const Triangulation< dim, spacedim > &tria)
unsigned int n_objects() const
std::vector< BoundaryOrMaterialId > boundary_or_material_id
std::vector< std::uint8_t > refinement_cases
std::vector< UserData > user_data
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_CXX20_REQUIRES(condition)
#define DEAL_II_NAMESPACE_CLOSE
#define DeclException0(Exception0)
static ::ExceptionBase & ExcPointerIndexClash()
#define Assert(cond, exc)
#define AssertDimension(dim1, dim2)
#define AssertIndexRange(index, range)
const types::material_id invalid_material_id
types::boundary_id boundary_id
void serialize(Archive &ar, const unsigned int version)
static std::size_t memory_consumption()
types::material_id material_id
void serialize(Archive &ar, const unsigned int version)