15#ifndef dealii_cell_id_h
16#define dealii_cell_id_h
28#ifdef DEAL_II_WITH_P4EST
36template <
int dim,
int spacedim>
120 explicit CellId(
const std::string &string_representation);
186 template <
class Archive>
188 serialize(Archive &ar,
const unsigned int version);
229#ifdef DEAL_II_WITH_P4EST
230 std::array<std::uint8_t, internal::p4est::functions<2>::max_level>
236 friend std::istream &
238 friend std::ostream &
256 os <<
static_cast<unsigned char>(
'0' + cid.
child_indices[i]);
265template <
class Archive>
326 return !(*
this == other);
337 unsigned int idx = 0;
std::ostream & operator<<(std::ostream &os, const CellId &cid)
std::istream & operator>>(std::istream &is, CellId &cid)
std::array< std::uint8_t, internal::p4est::functions< 2 >::max_level > child_indices
bool operator==(const CellId &other) const
bool is_ancestor_of(const CellId &other) const
unsigned int n_child_indices
void serialize(Archive &ar, const unsigned int version)
binary_type to_binary() const
ArrayView< const std::uint8_t > get_child_indices() const
friend std::ostream & operator<<(std::ostream &os, const CellId &cid)
bool operator!=(const CellId &other) const
std::string to_string() const
bool operator<(const CellId &other) const
types::coarse_cell_id get_coarse_cell_id() const
types::coarse_cell_id coarse_cell_id
std::array< unsigned int, 4 > binary_type
friend std::istream & operator>>(std::istream &is, CellId &cid)
bool is_parent_of(const CellId &other) const
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_CXX20_REQUIRES(condition)
#define DEAL_II_NAMESPACE_CLOSE
#define Assert(cond, exc)
static ::ExceptionBase & ExcMessage(std::string arg1)