#include "MEDMEMTest.hxx"#include <cppunit/TestAssert.h>#include "MEDMEM_Mesh.hxx"#include "MEDMEM_STRING.hxx"#include "MEDMEM_Support.hxx"#include <sstream>#include <cmath>
Functions | |
| static void | MEDMEMTest_testSupport () |
| int | main (int argc, char **argv) |
| static void MEDMEMTest_testSupport | ( | ) | [static] |
Check methods (48), defined in MEDMEM_Support.hxx: class SUPPORT : public RCBASE { (+) SUPPORT(); (+) SUPPORT(MESH* Mesh, string Name="", MED_EN.medEntityMesh Entity=MED_EN::MED_CELL); (+) SUPPORT(const SUPPORT & m); (+) virtual ~SUPPORT();
(+) friend ostream & operator<<(ostream &os,const SUPPORT &my); (+) SUPPORT& operator=(const SUPPORT &support); (+) bool operator == (const SUPPORT &support) const; (+) bool deepCompare(const SUPPORT &support) const;
(+) void update();
(+) inline void setName(string Name); (+) inline void setDescription(string Description); (+) void setMesh(MESH *Mesh) const; (+) inline void setMeshName(const string & meshName); (+) inline void setAll(bool All); (+) inline void setEntity(MED_EN.medEntityMesh Entity);
(+) inline void setNumberOfGeometricType(int NumberOfGeometricType); (+) inline void setGeometricType(const MED_EN.medGeometryElement *GeometricType); (+) inline void setNumberOfElements(const int *NumberOfElements); (+) inline void setTotalNumberOfElements(int TotalNumberOfElements); (+) inline void setNumber(MEDSKYLINEARRAY * Number); (+) inline void setNumber(const int * index, const int* value, bool shallowCopy=false);
(+) inline string getName() const; (+) inline string getDescription() const; (+) virtual inline MESH * getMesh() const; (+) string getMeshName() const; (+) inline MED_EN.medEntityMesh getEntity() const; (+) inline bool isOnAllElements() const;
(+) inline int getNumberOfTypes() const; (+) inline const MED_EN.medGeometryElement* getTypes() const; (+) inline int getNumberOfElements (MED_EN.medGeometryElement GeometricType) const throw (MEDEXCEPTION); (+) inline const int * getNumberOfElements() const throw (MEDEXCEPTION); (+) virtual inline MEDSKYLINEARRAY * getnumber() const throw (MEDEXCEPTION); (NO METHOD IN THIS BRANCH) virtual inline MEDSKYLINEARRAY * getnumberFromFile() const throw (MEDEXCEPTION); (+) virtual inline const int * getNumber (MED_EN.medGeometryElement GeometricType) const throw (MEDEXCEPTION); (NO METHOD IN THIS BRANCH) virtual inline const int * getNumberFromFile (MED_EN.medGeometryElement GeometricType) const throw (MEDEXCEPTION); (+) virtual inline const int * getNumberIndex() const throw (MEDEXCEPTION); (+) virtual int getValIndFromGlobalNumber(const int number) const throw (MEDEXCEPTION);
(+) void blending(SUPPORT * mySupport) throw (MEDEXCEPTION);
(+) void setpartial(string Description, int NumberOfGeometricType, int TotalNumberOfEntity, MED_EN.medGeometryElement *GeometricType, int *NumberOfEntity, int *NumberValue); (+) void setpartial(MEDSKYLINEARRAY * number, bool shallowCopy=false) throw (MEDEXCEPTION); (NO METHOD IN THIS BRANCH) void setpartial_fromfile(MEDSKYLINEARRAY * number, bool shallowCopy=false) throw (MEDEXCEPTION);
(+) void setProfilNames(vector<string> profilNames) throw (MEDEXCEPTION); (+) vector<string> getProfilNames() const throw (MEDEXCEPTION);
(+) void getBoundaryElements() throw (MEDEXCEPTION);
(+) void changeElementsNbs(MED_EN.medEntityMesh entity, const int *renumberingFromOldToNew); (+) void intersecting(SUPPORT * mySupport) throw (MEDEXCEPTION); (+) bool belongsTo(const SUPPORT& other, bool deepCompare=false) const;
(+) SUPPORT *getComplement() const; (+) SUPPORT *substract(const SUPPORT& other) const throw (MEDEXCEPTION);
(+) SUPPORT *getBoundaryElements(MED_EN.medEntityMesh Entity) const throw (MEDEXCEPTION);
(+) void fillFromNodeList(const list<int>& listOfNode) throw (MEDEXCEPTION); (+) void fillFromElementList(const list<int>& listOfElt) throw (MEDEXCEPTION);
(+) void clearDataOnNumbers();
(reference counter presently disconnected in C++) virtual void addReference() const; (reference counter presently disconnected in C++) virtual void removeReference() const;
}
References MEDMEM.SUPPORT.belongsTo(), MEDMEM.SUPPORT.blending(), MEDMEM.SUPPORT.changeElementsNbs(), MEDMEM.SUPPORT.clearDataOnNumbers(), MEDMEM.SUPPORT.deepCompare(), MEDMEM.SUPPORT.fillFromElementList(), MEDMEM.SUPPORT.fillFromNodeList(), MEDMEM.SUPPORT.getBoundaryElements(), MEDMEM.SUPPORT.getComplement(), MEDMEM.SUPPORT.getDescription(), MEDMEM.SUPPORT.getEntity(), MEDMEM.MEDSKYLINEARRAY.getIndex(), MEDMEM.MEDSKYLINEARRAY.getLength(), MEDMEM.SUPPORT.getMesh(), MEDMEM.SUPPORT.getMeshName(), MEDMEM.SUPPORT.getnumber(), MEDMEM.MEDSKYLINEARRAY.getNumberOf(), MEDMEM.MESH.getNumberOfElements(), MEDMEM.SUPPORT.getNumberOfElements(), MEDMEM.SUPPORT.getNumberOfTypes(), MEDMEM.SUPPORT.getProfilNames(), MEDMEM.SUPPORT.getTypes(), MEDMEM.SUPPORT.getValIndFromGlobalNumber(), MEDMEM.MEDSKYLINEARRAY.getValue(), MEDMEM.SUPPORT.intersecting(), MEDMEM.SUPPORT.isOnAllElements(), MED_EN.MED_ALL_ELEMENTS, MED_EN.MED_CELL, MED_EN.MED_FACE, MED_EN.MED_HEXA8, MED_EN.MED_NODE, MED_EN.MED_NONE, MED_EN.MED_PENTA15, MED_EN.MED_PYRA5, MED_EN.MED_QUAD4, MED_EN.MED_QUAD8, MED_EN.MED_TETRA4, MED_EN.MED_TRIA3, MED_EN.MED_TRIA6, MEDMEMTest_createTestMesh(), MEDMEM.RCBASE.removeReference(), MEDMEM.SUPPORT.setAll(), MEDMEM.SUPPORT.setDescription(), MEDMEM.SUPPORT.setEntity(), MEDMEM.SUPPORT.setGeometricType(), MEDMEM.SUPPORT.setMesh(), MEDMEM.SUPPORT.setMeshName(), MEDMEM.SUPPORT.setName(), MEDMEM.SUPPORT.setNumber(), MEDMEM.SUPPORT.setNumberOfElements(), MEDMEM.SUPPORT.setNumberOfGeometricType(), MEDMEM.SUPPORT.setpartial(), MEDMEM.SUPPORT.setProfilNames(), MEDMEM.SUPPORT.substract(), and MEDMEM.SUPPORT.update().
References MEDMEMTest_testSupport().