55 bool has_edge,
bool has_amr,
bool with_flags=
false);
60 Integer typeId()
const {
return CheckedConvert::toInteger(m_infos[0]); }
61 Int64 uniqueId()
const {
return m_infos[1]; }
62 Integer owner()
const {
return CheckedConvert::toInteger(m_infos[2]); }
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)]; }
67 Int32 faceOwner(
Integer index)
const {
return CheckedConvert::toInt32(m_infos[m_first_face + (index*2) + 1]); }
68 Int64 edgeUniqueId(
Integer index)
const {
return m_infos[m_first_edge + (index*2)]; }
69 Int32 edgeOwner(
Integer index)
const {
return CheckedConvert::toInt32(m_infos[m_first_edge + (index*2) + 1]); }
70 Int64 nodeUniqueId(
Integer index)
const {
return m_infos[3 + (index*2)]; }
71 Int32 nodeOwner(
Integer index)
const {
return CheckedConvert::toInt32(m_infos[3 + (index*2) + 1]); }
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]; }
88 Int32 flags()
const {
return CheckedConvert::toInt32(m_with_flags?m_infos[
m_first_hParent_cell + 3]:0) ; }
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);
131 ItemTypeInfo* m_type;
FullCellInfo(Int64ConstArrayView cells_infos, Integer cell_index, ItemTypeMng *itm, Integer parent_info, bool has_edge, bool has_amr, bool with_flags=false)
Référence les infos d'une maille.