16 #ifndef dealii_cell_id_h 17 #define dealii_cell_id_h 19 #include <deal.II/base/config.h> 20 #include <deal.II/base/exceptions.h> 27 #ifdef DEAL_II_WITH_P4EST 28 #include <deal.II/distributed/p4est_wrappers.h> 31 DEAL_II_NAMESPACE_OPEN
126 template <
int dim,
int spacedim>
150 template<
class Archive>
151 void serialize(Archive &ar,
const unsigned int version );
175 #ifdef DEAL_II_WITH_P4EST 176 std::array<std::uint8_t,internal::p4est::functions<2>::max_level>
child_indices;
201 os << static_cast<unsigned char>(
'0' + cid.
child_indices[i]);
210 template<
class Archive>
271 return !(*
this == other);
282 unsigned int idx = 0;
299 DEAL_II_NAMESPACE_CLOSE
void serialize(Archive &ar, const unsigned int version)
std::array< std::uint8_t, internal::p4est::functions< 2 >::max_level > child_indices
Triangulation< dim, spacedim >::cell_iterator to_cell(const Triangulation< dim, spacedim > &tria) const
binary_type to_binary() const
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< unsigned int, 4 > binary_type
std::istream & operator>>(std::istream &in, Point< dim, Number > &p)