13#ifndef dealii_cell_id_h
14#define dealii_cell_id_h
30template <
int dim,
int spacedim>
111 explicit CellId(
const std::string &string_representation);
177 template <
class Archive>
179 serialize(Archive &ar,
const unsigned int version);
224 friend std::istream &
226 friend std::ostream &
244 os <<
static_cast<unsigned char>(
'0' + cid.
child_indices[i]);
253template <
class Archive>
277 unsigned int n_child_indices;
278 is >> n_child_indices;
318 return !(*
this == other);
329 std::uint8_t idx = 0;
std::ostream & operator<<(std::ostream &os, const CellId &cid)
std::istream & operator>>(std::istream &is, CellId &cid)
value_type * data() const noexcept
bool operator==(const CellId &other) const
std::uint8_t n_child_indices
bool is_ancestor_of(const CellId &other) const
std::array< std::uint8_t, numbers::max_n_levels - 1 > 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
std::array< std::uint64_t, 3 > binary_type
types::coarse_cell_id coarse_cell_id
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)
constexpr std::uint8_t max_n_levels
constexpr types::coarse_cell_id invalid_coarse_cell_id