16 #ifndef dealii_cell_id_h 17 #define dealii_cell_id_h 19 #include <deal.II/base/config.h> 21 #include <deal.II/base/exceptions.h> 28 #ifdef DEAL_II_WITH_P4EST 29 # include <deal.II/distributed/p4est_wrappers.h> 32 DEAL_II_NAMESPACE_OPEN
130 template <
int dim,
int spacedim>
157 template <
class Archive>
159 serialize(Archive &ar,
const unsigned int version);
183 #ifdef DEAL_II_WITH_P4EST 184 std::array<std::uint8_t, internal::p4est::functions<2>::max_level>
190 friend std::istream &
192 friend std::ostream &
201 inline std::ostream &
210 os << static_cast<unsigned char>(
'0' + cid.
child_indices[i]);
219 template <
class Archive>
231 inline std::istream &
280 return !(*
this == other);
291 unsigned int idx = 0;
308 DEAL_II_NAMESPACE_CLOSE
void serialize(Archive &ar, const unsigned int version)
Triangulation< dim, spacedim >::cell_iterator to_cell(const Triangulation< dim, spacedim > &tria) const
binary_type to_binary() const
std::array< unsigned int, 4 > binary_type
unsigned int coarse_cell_id
friend std::ostream & operator<<(std::ostream &os, const CellId &cid)
static ::ExceptionBase & ExcMessage(std::string arg1)
#define Assert(cond, exc)
bool operator<(const CellId &other) const
bool operator!=(const CellId &other) const
friend std::istream & operator>>(std::istream &is, CellId &cid)
bool operator==(const CellId &other) const
std::string to_string() const
OutputOperator< VectorType > & operator<<(OutputOperator< VectorType > &out, unsigned int step)
unsigned int n_child_indices
std::array< std::uint8_t, internal::p4est::functions< 2 >::max_level > child_indices
std::istream & operator>>(std::istream &in, Point< dim, Number > &p)