37 static constexpr Int32 NB_DIM = 3;
45 Int64 globalNbCell()
const override {
return m_global_nb_cell; }
51 Int64 firstOwnCellUniqueId()
const override {
return m_first_own_cell_unique_id; }
52 Real3 globalOrigin()
const override {
return m_global_origin; };
53 Real3 globalLength()
const override {
return m_global_length; };
57 void setOwnCellOffsets(Int64 x,Int64 y,Int64 z)
override;
58 void setGlobalNbCells(Int64 x,Int64 y,Int64 z)
override;
59 void setSubDomainOffsets(Int32 x,Int32 y,Int32 z)
override;
60 void setNbSubDomains(Int32 x,Int32 y,Int32 z)
override;
61 void setOwnNbCells(Int32 x,Int32 y,Int32 z)
override;
62 void setFirstOwnCellUniqueId(Int64 uid)
override;
63 void setGlobalOrigin(
Real3 pos)
override;
64 void setGlobalLength(
Real3 length)
override;
69 Int32 m_mesh_dimension = -1;
70 Int64 m_global_nb_cell = 0;
78 Int64 m_global_nb_cell_ptr[NB_DIM];
79 Int32 m_sub_domain_offset_ptr[NB_DIM];
80 Int32 m_nb_sub_domain_ptr[NB_DIM];
81 Int32 m_own_nb_cell_ptr[NB_DIM];
82 Int64 m_own_cell_offset_ptr[NB_DIM];
83 Real3 m_global_origin;
84 Real3 m_global_length;
86 Int64 m_first_own_cell_unique_id = -1;