16#ifndef dealii_tria_objects_h
17#define dealii_tria_objects_h
31template <
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);
377 const unsigned int faces_per_cell = 2 * this->
structdim;
378 return cells.size() / faces_per_cell;
387 const unsigned int faces_per_cell = 2 * this->
structdim;
409 template <
class Archive>
422 if (
sizeof(material_id) >
sizeof(boundary_id))
453 inline unsigned int &
483 : structdim(structdim)
484 , next_free_single(
numbers::invalid_unsigned_int)
485 , next_free_pair(
numbers::invalid_unsigned_int)
486 , reverse_order_next_free_single(false)
487 , user_data_type(data_unknown)
519 template <
class Archive>
529 template <
class Archive>
547 template <
int structdim_,
int dim,
int spacedim>
562 for (; pos < last; ++pos)
574 pos =
used.size() - 1;
584 for (; pos >= 0; --pos)
591 return ::TriaRawIterator<
595 return ::TriaRawIterator<
601 template <
int structdim_,
int dim,
int spacedim>
611 for (; pos < last; ++pos)
621 return ::TriaRawIterator<
626 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_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)
const ::Triangulation< dim, spacedim > & tria