61 Int64 uniqueId()
const {
return m_infos[1]; }
63 Integer nbNode()
const {
return m_nb_node; }
64 Integer nbEdge()
const {
return m_nb_edge; }
65 Integer nbFace()
const {
return m_nb_face; }
66 Int64 faceUniqueId(Integer index)
const {
return m_infos[m_first_face + (index*2)]; }
68 Int64 edgeUniqueId(Integer index)
const {
return m_infos[m_first_edge + (index*2)]; }
70 Int64 nodeUniqueId(Integer index)
const {
return m_infos[3 + (index*2)]; }
72 Integer memoryUsed()
const {
return m_memory_used; }
73 bool hasParentNode()
const {
return (m_parent_info & PI_Node); }
74 Int64 parentNodeUniqueId(Integer index)
const {
return m_infos[m_first_parent_node + index]; }
75 bool hasParentEdge()
const {
return (m_parent_info & PI_Edge); }
76 Int64 parentEdgeUniqueId(Integer index)
const {
return m_infos[m_first_parent_edge + (index*2)]; }
77 Int64 parentEdgeTypeId(Integer index)
const {
return m_infos[m_first_parent_edge + (index*2) + 1]; }
78 bool hasParentFace()
const {
return (m_parent_info & PI_Face); }
79 Int64 parentFaceUniqueId(Integer index)
const {
return m_infos[m_first_parent_face + (index*2)]; }
80 Int64 parentFaceTypeId(Integer index)
const {
return m_infos[m_first_parent_face + (index*2) + 1]; }
81 bool hasParentCell()
const {
return (m_parent_info & PI_Cell); }
82 Int64 parentCellUniqueId()
const {
return m_infos[m_first_parent_cell]; }
83 Int64 parentCellTypeId()
const {
return m_infos[m_first_parent_cell + 1]; }
90 friend inline std::ostream& operator<<(std::ostream& o,
const FullCellInfo& i)
98 void print(std::ostream& o)
const;
104 ARCCORE_DEPRECATED_2020(
"Use dump() overload with buffer")
105 static Integer memoryUsed(ItemTypeInfo* it, Integer parent_info,
bool has_edge,
bool has_amr,
bool with_flags);
106 ARCCORE_DEPRECATED_2020("Use dump() overload with buffer")
107 static
void dump(ItemInternal* cell, ISerializer* buf, Integer parent_info,
bool has_edge,
bool has_amr,
bool with_flags);
109 static
void dump(Cell cell, Array<
Int64>& buf, Integer parent_info,
bool has_edge,
bool has_amr,
bool with_flags);
110 static Integer parentInfo(IMesh* mesh);
128 Integer m_first_edge;
129 Integer m_first_face;
130 Integer m_memory_used;
131 ItemTypeInfo* m_type;
132 Integer m_first_parent_node;
133 Integer m_first_parent_edge;
134 Integer m_first_parent_face;
135 Integer m_first_parent_cell;
136 Integer m_parent_info;