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;
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;
MCAuto<DataArrayDouble> getCoords() const { return _coords; }
MCAuto<DataArrayInt> getCoordsFamily() const { return _fam_coords; }
MCAuto<DataArrayInt> getCoordsNum() const { return _num_coords; }
MCAuto<DataArrayDouble> getCoords() const { return _coords; }
MCAuto<DataArrayInt> getCoordsFamily() const { return _fam_coords; }
MCAuto<DataArrayInt> getCoordsNum() const { return _num_coords; }
- static void WriteCoords(med_idt fid, const std::string& mname, int dt, int it, double time, const DataArrayDouble *coords, const DataArrayInt *famCoords, const DataArrayInt *numCoords, const DataArrayAsciiChar *nameCoords);
+ static void WriteCoords(med_idt fid, const std::string& mname, int dt, int it, double time, const DataArrayDouble *coords, const DataArrayInt *famCoords, const DataArrayInt *numCoords, const DataArrayAsciiChar *nameCoords, const DataArrayInt *globalNumCoords);
MCAuto<DataArrayDouble> _coords;
MCAuto<DataArrayInt> _fam_coords;
MCAuto<DataArrayInt> _num_coords;
MCAuto<DataArrayDouble> _coords;
MCAuto<DataArrayInt> _fam_coords;
MCAuto<DataArrayInt> _num_coords;
MEDFileUMeshAggregateCompute _m_by_types;
MCAuto<DataArrayInt> _fam;
MCAuto<DataArrayInt> _num;
MEDFileUMeshAggregateCompute _m_by_types;
MCAuto<DataArrayInt> _fam;
MCAuto<DataArrayInt> _num;
MCAuto<DataArrayAsciiChar> _names;
mutable MCAuto<DataArrayInt> _rev_num;
MEDFileUMeshPermCompute _m;
MCAuto<DataArrayAsciiChar> _names;
mutable MCAuto<DataArrayInt> _rev_num;
MEDFileUMeshPermCompute _m;
{
public:
static MEDFileEltStruct4Mesh *New(med_idt fid, const std::string& mName, int dt, int it, int iterOnStEltOfMesh, MEDFileMeshReadSelector *mrs);
{
public:
static MEDFileEltStruct4Mesh *New(med_idt fid, const std::string& mName, int dt, int it, int iterOnStEltOfMesh, MEDFileMeshReadSelector *mrs);
+ std::string getGeoTypeName() const { return _geo_type_name; }
+ MCAuto<DataArrayInt> getConn() const { return _conn; }
+ MCAuto<MEDFileUMeshPerTypeCommon> getMeshDef() const { return _common; }
+ const std::vector< MCAuto<DataArray> >& getVars() const { return _vars; }
private:
std::size_t getHeapMemorySizeWithoutChildren() const;
std::vector<const MEDCoupling::BigMemoryObject*> getDirectChildrenWithNull() const;
private:
std::size_t getHeapMemorySizeWithoutChildren() const;
std::vector<const MEDCoupling::BigMemoryObject*> getDirectChildrenWithNull() const;