Version: 6.3.1
Public Member Functions | Private Member Functions

MEDSPLITTERTest Class Reference

#include <MEDSPLITTERTest.hxx>

Inheritance diagram for MEDSPLITTERTest:
Inheritance graph

Public Member Functions

void setUp ()
void tearDown ()
void testMESHCollection_constructor ()
void testMESHCollection_read_seq ()
 Testing basic manipulation for a sequential file.
void testMESHCollection_read_para ()
 Testing basic manipulation for a parallel file.
void testMESHCollection_square ()
 Testing a normal scheme.
void testMESHCollection_square_with_faces ()
void testMESHCollection_indivisible ()
void testMESHCollection_user_partition ()
void testMESHCollection_complete_sequence ()
void testMESHCollection_complete_sequence_with_polygon ()
void testMESHCollection_complete_sequence_with_polyhedra ()
void testMESHCollection_families ()
void testParallelTopology_graph_constructor ()

Private Member Functions

 CPPUNIT_TEST_SUITE (MEDSPLITTERTest)
 CPPUNIT_TEST (testMESHCollection_constructor)
 CPPUNIT_TEST (testMESHCollection_read_seq)
 CPPUNIT_TEST (testMESHCollection_read_para)
 CPPUNIT_TEST (testMESHCollection_square)
 CPPUNIT_TEST (testMESHCollection_square_with_faces)
 CPPUNIT_TEST (testMESHCollection_indivisible)
 CPPUNIT_TEST (testMESHCollection_user_partition)
 CPPUNIT_TEST (testParallelTopology_graph_constructor)
 CPPUNIT_TEST (testMESHCollection_complete_sequence)
 CPPUNIT_TEST (testMESHCollection_complete_sequence_with_polygon)
 CPPUNIT_TEST (testMESHCollection_families)
 CPPUNIT_TEST_SUITE_END ()

Member Function Documentation

MEDSPLITTERTest.CPPUNIT_TEST_SUITE ( MEDSPLITTERTest  ) [private]
MEDSPLITTERTest.CPPUNIT_TEST ( testMESHCollection_constructor  ) [private]
MEDSPLITTERTest.CPPUNIT_TEST ( testMESHCollection_read_seq  ) [private]
MEDSPLITTERTest.CPPUNIT_TEST ( testMESHCollection_read_para  ) [private]
MEDSPLITTERTest.CPPUNIT_TEST ( testMESHCollection_square  ) [private]
MEDSPLITTERTest.CPPUNIT_TEST ( testMESHCollection_square_with_faces  ) [private]
MEDSPLITTERTest.CPPUNIT_TEST ( testMESHCollection_indivisible  ) [private]
MEDSPLITTERTest.CPPUNIT_TEST ( testMESHCollection_user_partition  ) [private]
MEDSPLITTERTest.CPPUNIT_TEST ( testParallelTopology_graph_constructor  ) [private]
MEDSPLITTERTest.CPPUNIT_TEST ( testMESHCollection_complete_sequence  ) [private]
MEDSPLITTERTest.CPPUNIT_TEST ( testMESHCollection_complete_sequence_with_polygon  ) [private]
MEDSPLITTERTest.CPPUNIT_TEST ( testMESHCollection_families  ) [private]
MEDSPLITTERTest.CPPUNIT_TEST_SUITE_END ( ) [private]
void MEDSPLITTERTest::setUp ( )

Set up the environment

void MEDSPLITTERTest::tearDown ( )
  • delete
void MEDSPLITTERTest::testMESHCollection_constructor ( )

Check methods (33), defined in MEDSPLITTER_MESHCollection.hxx: (-) MESHCollection(); (-) MESHCollection(const MESHCollection&, Topology*); (+) MESHCollection(const std.string& filename); (+) MESHCollection(const std.string& filename, const std.string& meshname); (-) ~MESHCollection(); (+) void write(const std.string& filename); (-) MESHCollectionDriver* retrieveDriver(); (-) MESHCollectionDriver* getDriver() const; (-) void buildCellGraph(MEDMEM.MEDSKYLINEARRAY* & array,int *& edgeweights ); (-) void buildCellGraph2ndversion(MEDMEM.MEDSKYLINEARRAY* & array,int *& edgeweights ); (+) Topology* createPartition(int nbdomain, Graph.splitter_type type = Graph.METIS, const string& ="", int* edgeweights=0, int* verticesweights=0); (-) Topology* createPartition(const int* partition); (-) void getTypeList(int* cell_list,int nb_cells,MED_EN.medEntityMesh entity, MED_EN.medGeometryElement* type_list) const ; (-) void getCoordinates(int* node_list,int nb_nodes, double* coordinates) const ; (-) void getNodeConnectivity( const int* cell_list,int nb_cells,MED_EN.medEntityMesh,MED_EN.medGeometryElement type, int* type_connectivity) const ; (-) void getFaceConnectivity( const int* cell_list,int nb_cells,MED_EN.medEntityMesh,MED_EN.medGeometryElement type, int* type_connectivity) const ; (+) int getMeshDimension() const ; (+) int getSpaceDimension() const ; (+) std.string getSystem() const; (-) std.string getMeshName() const; (-) std.vector<MEDMEM.MESH*>& getMesh() ; (-) MEDMEM.MESH* getMesh(int) const; (-) std.vector<MEDMEM.CONNECTZONE*>& getCZ(); (-) Topology* getTopology() const ; (-) void setTopology(Topology* topology); (+) string getName() const {return m_name;} (+) void setName(const string& name) {m_name=name;} (-) void castFamilies(const MESHCollection& old_collection); (-) void castSupport(const MESHCollection& old_collection, std.vector<const MEDMEM.SUPPORT*> old_support, std.vector<MEDMEM.SUPPORT*> new_support); (-) void castAllFields(const MESHCollection& old_collection); (-) void castField(const MESHCollection& old_collection, const string& fieldname, int itnumber, int ordernumber); (+) void setIndivisibleGroup(const string& a); (-) void buildConnectZones(int idomain);

References test_MEDSPLITTER.filename_rd, INTERP_TEST.getResourceFile(), and test_MEDSPLITTER.meshname.

void MEDSPLITTERTest::testMESHCollection_read_seq ( )
void MEDSPLITTERTest::testMESHCollection_read_para ( )
void MEDSPLITTERTest::testMESHCollection_square ( )
void MEDSPLITTERTest::testMESHCollection_square_with_faces ( )
void MEDSPLITTERTest::testMESHCollection_indivisible ( )
void MEDSPLITTERTest::testMESHCollection_user_partition ( )
void MEDSPLITTERTest::testMESHCollection_complete_sequence ( )
void MEDSPLITTERTest::testMESHCollection_complete_sequence_with_polygon ( )
void MEDSPLITTERTest::testMESHCollection_complete_sequence_with_polyhedra ( )
void MEDSPLITTERTest::testMESHCollection_families ( )
void MEDSPLITTERTest::testParallelTopology_graph_constructor ( )
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS