X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDLoader%2FSwig%2FMEDLoaderCommon.i;h=45f7ef9e8fc4f2db31ed28149bd10b67670beb03;hb=865eac01b8bdd7a4494afd632f23ac6a1fcc0c88;hp=310810e2007f6e0ce2d0d29167b03aa0f140afae;hpb=b9b0c16b556184daf2b7b2609edd9aaf0426b690;p=tools%2Fmedcoupling.git diff --git a/src/MEDLoader/Swig/MEDLoaderCommon.i b/src/MEDLoader/Swig/MEDLoaderCommon.i index 310810e20..45f7ef9e8 100644 --- a/src/MEDLoader/Swig/MEDLoaderCommon.i +++ b/src/MEDLoader/Swig/MEDLoaderCommon.i @@ -101,6 +101,7 @@ using namespace ParaMEDMEM; %newobject ParaMEDMEM::MEDFileMesh::getAllFamiliesIdsReferenced; %newobject ParaMEDMEM::MEDFileMesh::computeAllFamilyIdsInUse; %newobject ParaMEDMEM::MEDFileMesh::getEquivalences; +%newobject ParaMEDMEM::MEDFileMesh::cartesianize; %newobject ParaMEDMEM::MEDFileData::getJoints; %newobject ParaMEDMEM::MEDFileStructuredMesh::getImplicitFaceMesh; %newobject ParaMEDMEM::MEDFileUMesh::New; @@ -883,6 +884,8 @@ namespace ParaMEDMEM double getTimeValue() const; void setTimeUnit(const std::string& unit); std::string getTimeUnit() const; + void setAxType(MEDCouplingAxisType at); + MEDCouplingAxisType getAxType() const; virtual int getNumberOfNodes() const throw(INTERP_KERNEL::Exception); virtual int getNumberOfCellsAtLevel(int meshDimRelToMaxExt) const throw(INTERP_KERNEL::Exception); virtual bool hasImplicitPart() const throw(INTERP_KERNEL::Exception); @@ -893,6 +896,7 @@ namespace ParaMEDMEM virtual std::vector getNumArrNonEmptyLevelsExt() const throw(INTERP_KERNEL::Exception); virtual std::vector getNameArrNonEmptyLevelsExt() const throw(INTERP_KERNEL::Exception); virtual std::vector getDistributionOfTypes(int meshDimRelToMax) const throw(INTERP_KERNEL::Exception); + virtual MEDFileMesh *cartesianize() const throw(INTERP_KERNEL::Exception); std::vector getNonEmptyLevels() const throw(INTERP_KERNEL::Exception); std::vector getNonEmptyLevelsExt() const throw(INTERP_KERNEL::Exception); void write(const std::string& fileName, int mode) const throw(INTERP_KERNEL::Exception); @@ -922,6 +926,8 @@ namespace ParaMEDMEM void setGroupsOnFamily(const std::string& famName, const std::vector& grps) throw(INTERP_KERNEL::Exception); std::vector getGroupsNames() const throw(INTERP_KERNEL::Exception); std::vector getFamiliesNames() const throw(INTERP_KERNEL::Exception); + std::vector getFamiliesNamesWithFilePointOfView() const throw(INTERP_KERNEL::Exception); + static std::string GetMagicFamilyStr(); void assignFamilyNameWithGroupName() throw(INTERP_KERNEL::Exception); std::vector removeEmptyGroups() throw(INTERP_KERNEL::Exception); void removeGroup(const std::string& name) throw(INTERP_KERNEL::Exception); @@ -1508,6 +1514,7 @@ namespace ParaMEDMEM std::string getName() const throw(INTERP_KERNEL::Exception); void write(const std::string& fileName, int mode) const throw(INTERP_KERNEL::Exception); void setOneTimeStep(MEDFileMesh *mesh1TimeStep) throw(INTERP_KERNEL::Exception); + void cartesianizeMe() throw(INTERP_KERNEL::Exception); %extend { MEDFileMeshMultiTS() @@ -1571,6 +1578,7 @@ namespace ParaMEDMEM void pushMesh(MEDFileMesh *mesh) throw(INTERP_KERNEL::Exception); void setMeshAtPos(int i, MEDFileMesh *mesh) throw(INTERP_KERNEL::Exception); void destroyMeshAtPos(int i) throw(INTERP_KERNEL::Exception); + void cartesianizeMe() throw(INTERP_KERNEL::Exception); %extend { MEDFileMeshes()