+
+ class MeshOrStructMeshCls
+ {
+ protected:
+ MeshOrStructMeshCls(int mid):_mid(mid) { }
+ public:
+ virtual ~MeshOrStructMeshCls() {}
+ int getID() const { return _mid; }
+ virtual std::vector<std::string> getAxisInfoOnMesh(med_idt fid, const std::string& mName, MEDCoupling::MEDCouplingMeshType& meshType, MEDCoupling::MEDCouplingAxisType& axType, int& nstep, int& Mdim, MEDFileString& description, MEDFileString& dtunit, MEDFileString& univName) const = 0;
+ virtual double checkMeshTimeStep(med_idt fid, const std::string& mName, int nstep, int dt, int it) const = 0;
+ private:
+ int _mid;
+ };
+
+ class MeshCls : public MeshOrStructMeshCls
+ {
+ public:
+ MeshCls(int mid):MeshOrStructMeshCls(mid) { }
+ std::vector<std::string> getAxisInfoOnMesh(med_idt fid, const std::string& mName, MEDCoupling::MEDCouplingMeshType& meshType, MEDCoupling::MEDCouplingAxisType& axType, int& nstep, int& Mdim, MEDFileString& description, MEDFileString& dtunit, MEDFileString& univName) const;
+ double checkMeshTimeStep(med_idt fid, const std::string& mName, int nstep, int dt, int it) const;
+ };
+
+ class StructMeshCls : public MeshOrStructMeshCls
+ {
+ public:
+ StructMeshCls(int mid):MeshOrStructMeshCls(mid) { }
+ std::vector<std::string> getAxisInfoOnMesh(med_idt fid, const std::string& mName, MEDCoupling::MEDCouplingMeshType& meshType, MEDCoupling::MEDCouplingAxisType& axType, int& nstep, int& Mdim, MEDFileString& description, MEDFileString& dtunit, MEDFileString& univName) const;
+ double checkMeshTimeStep(med_idt fid, const std::string& mName, int nstep, int dt, int it) const;
+ };