56 bool has_edge,
bool has_amr,
bool with_flags=
false);
61 Integer typeId()
const {
return CheckedConvert::toInteger(m_infos[0]); }
63 Int64 uniqueId()
const {
return m_infos[1]; }
64 Int32 owner()
const {
return CheckedConvert::toInt32(m_infos[2]); }
65 Integer nbNode()
const {
return m_nb_node; }
66 Integer nbEdge()
const {
return m_nb_edge; }
67 Integer nbFace()
const {
return m_nb_face; }
68 Int64 faceUniqueId(
Integer index)
const {
return m_infos[m_first_face + (index*2)]; }
69 Int32 faceOwner(
Integer index)
const {
return CheckedConvert::toInt32(m_infos[m_first_face + (index*2) + 1]); }
70 Int64 edgeUniqueId(
Integer index)
const {
return m_infos[m_first_edge + (index*2)]; }
71 Int32 edgeOwner(
Integer index)
const {
return CheckedConvert::toInt32(m_infos[m_first_edge + (index*2) + 1]); }
72 Int64 nodeUniqueId(
Integer index)
const {
return m_infos[3 + (index*2)]; }
73 Int32 nodeOwner(
Integer index)
const {
return CheckedConvert::toInt32(m_infos[3 + (index*2) + 1]); }
74 Integer memoryUsed()
const {
return m_memory_used; }
75 bool hasParentNode()
const {
return (m_parent_info & PI_Node); }
76 Int64 parentNodeUniqueId(
Integer index)
const {
return m_infos[m_first_parent_node + index]; }
77 bool hasParentEdge()
const {
return (m_parent_info & PI_Edge); }
78 Int64 parentEdgeUniqueId(
Integer index)
const {
return m_infos[m_first_parent_edge + (index*2)]; }
79 Int64 parentEdgeTypeId(
Integer index)
const {
return m_infos[m_first_parent_edge + (index*2) + 1]; }
80 bool hasParentFace()
const {
return (m_parent_info & PI_Face); }
81 Int64 parentFaceUniqueId(
Integer index)
const {
return m_infos[m_first_parent_face + (index*2)]; }
82 Int64 parentFaceTypeId(
Integer index)
const {
return m_infos[m_first_parent_face + (index*2) + 1]; }
83 bool hasParentCell()
const {
return (m_parent_info & PI_Cell); }
84 Int64 parentCellUniqueId()
const {
return m_infos[m_first_parent_cell]; }
85 Int64 parentCellTypeId()
const {
return m_infos[m_first_parent_cell + 1]; }
90 Int32 flags()
const {
return CheckedConvert::toInt32(m_with_flags?m_infos[
m_first_hParent_cell + 3]:0) ; }
92 friend inline std::ostream& operator<<(std::ostream& o,
const FullCellInfo& i)
100 void print(std::ostream& o)
const;
106 ARCCORE_DEPRECATED_2020(
"Use dump() overload with buffer")
107 static
Integer memoryUsed(ItemTypeInfo* it,
Integer parent_info,
bool has_edge,
bool has_amr,
bool with_flags);
108 ARCCORE_DEPRECATED_2020(
"Use dump() overload with buffer")
109 static
void dump(ItemInternal* cell, ISerializer* buf,
Integer parent_info,
bool has_edge,
bool has_amr,
bool with_flags);
111 static
void dump(
Cell cell, Array<
Int64>& buf,
Integer parent_info,
bool has_edge,
bool has_amr,
bool with_flags);
112 static
Integer parentInfo(IMesh* mesh);
133 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.