X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDLoader%2FMEDFileMeshElt.hxx;h=0a9098871890a71c0d6e3cd1b10c84b67277847b;hb=701d5a29e2682e1687b49bc61e09b9d7b38d2110;hp=ed795f1596222beead40cfe3afd71bb64a4f36bf;hpb=2832aba2a52c176771e4b400008a395e0ca43cf2;p=tools%2Fmedcoupling.git diff --git a/src/MEDLoader/MEDFileMeshElt.hxx b/src/MEDLoader/MEDFileMeshElt.hxx index ed795f159..0a9098871 100644 --- a/src/MEDLoader/MEDFileMeshElt.hxx +++ b/src/MEDLoader/MEDFileMeshElt.hxx @@ -23,6 +23,7 @@ #include "MEDCouplingMemArray.hxx" #include "MEDCoupling1GTUMesh.hxx" +#include "MEDCouplingPartDefinition.hxx" #include "MEDCouplingAutoRefCountObjectPtr.hxx" #include "NormalizedUnstructuredMesh.hxx" @@ -47,6 +48,7 @@ namespace ParaMEDMEM const DataArrayInt *getFam() const { return _fam; } const DataArrayInt *getNum() const { return _num; } const DataArrayAsciiChar *getNames() const { return _names; } + const PartDefinition *getPartDef() const { return _pd; } static void Write(med_idt fid, const std::string& mname, int mdim, const MEDCoupling1GTUMesh *m, const DataArrayInt *fam, const DataArrayInt *num, const DataArrayAsciiChar *names); private: MEDFileUMeshPerType(); @@ -69,6 +71,7 @@ namespace ParaMEDMEM MEDCouplingAutoRefCountObjectPtr _num; MEDCouplingAutoRefCountObjectPtr _fam; MEDCouplingAutoRefCountObjectPtr _names; + MEDCouplingAutoRefCountObjectPtr _pd; med_entity_type _entity; }; }