Back to index

salome-med  6.5.0
MEDCouplingBasicsTest1.hxx
Go to the documentation of this file.
00001 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D
00002 //
00003 // This library is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU Lesser General Public
00005 // License as published by the Free Software Foundation; either
00006 // version 2.1 of the License.
00007 //
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 // Lesser General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00016 //
00017 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00018 //
00019 
00020 #ifndef __MEDCOUPLINGBASICSTEST1_HXX__
00021 #define __MEDCOUPLINGBASICSTEST1_HXX__
00022 
00023 #include "MEDCouplingBasicsTest.hxx"
00024 
00025 #include <map>
00026 #include <vector>
00027 
00028 namespace ParaMEDMEM
00029 {
00030   class DataArrayDouble;
00031   class MEDCouplingUMesh;
00032   class MEDCouplingFieldDouble;
00033   class MEDCouplingMultiFields;
00034 
00035   class MEDCouplingBasicsTest1 : public MEDCouplingBasicsTest
00036   {
00037     CPPUNIT_TEST_SUITE(MEDCouplingBasicsTest1);
00038     CPPUNIT_TEST( testArray );
00039     CPPUNIT_TEST( testArray2 );
00040     CPPUNIT_TEST( testArray3 );
00041     CPPUNIT_TEST( testMesh );
00042     CPPUNIT_TEST( testMeshPointsCloud );
00043     CPPUNIT_TEST( testMeshM1D );
00044     CPPUNIT_TEST( testDeepCopy );
00045     CPPUNIT_TEST( testRevNodal );
00046     CPPUNIT_TEST( testConvertToPolyTypes );
00047     CPPUNIT_TEST( testDescConn2D );
00048     CPPUNIT_TEST( testDescConn3D );
00049     CPPUNIT_TEST( testFindBoundaryNodes );
00050     CPPUNIT_TEST( testBoundaryMesh );
00051     CPPUNIT_TEST( testBuildPartOfMySelf );
00052     CPPUNIT_TEST( testBuildPartOfMySelfNode );
00053     CPPUNIT_TEST( testZipCoords );
00054     CPPUNIT_TEST( testZipConnectivity );
00055     CPPUNIT_TEST( testEqualMesh );
00056     CPPUNIT_TEST( testEqualFieldDouble );
00057     CPPUNIT_TEST( testNatureChecking );
00058     CPPUNIT_TEST( testBuildSubMeshData );
00059     CPPUNIT_TEST( testExtrudedMesh1 );
00060     CPPUNIT_TEST( testExtrudedMesh2 );
00061     CPPUNIT_TEST( testExtrudedMesh3 );
00062     CPPUNIT_TEST( testExtrudedMesh4 );
00063     CPPUNIT_TEST( testFindCommonNodes );
00064     CPPUNIT_TEST( testCheckButterflyCells );
00065     CPPUNIT_TEST( testMergeMesh1 );
00066     CPPUNIT_TEST( testMergeMeshOnSameCoords1 );
00067     CPPUNIT_TEST( testMergeField1 );
00068     CPPUNIT_TEST( testFillFromAnalytic );
00069     CPPUNIT_TEST( testFillFromAnalytic2 );
00070     CPPUNIT_TEST( testApplyFunc );
00071     CPPUNIT_TEST( testApplyFunc2 );
00072     CPPUNIT_TEST( testOperationsOnFields );
00073     CPPUNIT_TEST( testOperationsOnFields2 );
00074     CPPUNIT_TEST( testOperationsOnFields3 );
00075     CPPUNIT_TEST( testOperationsOnFields4 );
00076     CPPUNIT_TEST( testMergeNodesOnField );
00077     CPPUNIT_TEST( testCheckConsecutiveCellTypes );
00078     CPPUNIT_TEST( testRearrange2ConsecutiveCellTypes );
00079     CPPUNIT_TEST( testSplitByType );
00080     CPPUNIT_TEST( testFuseUMeshesOnSameCoords );
00081     CPPUNIT_TEST( testFuseUMeshesOnSameCoords2 );
00082     CPPUNIT_TEST( testBuildOrthogonalField );
00083     CPPUNIT_TEST( testGetCellsContainingPoint );
00084     CPPUNIT_TEST( testGetValueOn1 );
00085     CPPUNIT_TEST( testCMesh0 );
00086     CPPUNIT_TEST( testCMesh1 );
00087     CPPUNIT_TEST( testCMesh2 );
00088     CPPUNIT_TEST( testScale );
00089     CPPUNIT_TEST( testTryToShareSameCoords );
00090     CPPUNIT_TEST( testFindNodeOnPlane );
00091     CPPUNIT_TEST( testRenumberCells );
00092     CPPUNIT_TEST( testChangeSpaceDimension );
00093     CPPUNIT_TEST_SUITE_END();
00094   public:
00095     void testArray();
00096     void testArray2();
00097     void testArray3();
00098     void testMesh();
00099     void testMeshPointsCloud();
00100     void testMeshM1D();
00101     void testDeepCopy();
00102     void testRevNodal();
00103     void testConvertToPolyTypes();
00104     void testDescConn2D();
00105     void testDescConn3D();
00106     void testFindBoundaryNodes();
00107     void testBoundaryMesh();
00108     void testBuildPartOfMySelf();
00109     void testBuildPartOfMySelfNode();
00110     void testZipCoords();
00111     void testZipConnectivity();
00112     void testEqualMesh();
00113     void testEqualFieldDouble();
00114     void testNatureChecking();
00115     void testBuildSubMeshData();
00116     void testExtrudedMesh1();
00117     void testExtrudedMesh2();
00118     void testExtrudedMesh3();
00119     void testExtrudedMesh4();
00120     void testFindCommonNodes();
00121     void testCheckButterflyCells();
00122     void testMergeMesh1();
00123     void testMergeMeshOnSameCoords1();
00124     void testMergeField1();
00125     void testFillFromAnalytic();
00126     void testFillFromAnalytic2();
00127     void testApplyFunc();
00128     void testApplyFunc2();
00129     void testOperationsOnFields();
00130     void testOperationsOnFields2();
00131     void testOperationsOnFields3();
00132     void testOperationsOnFields4();
00133     void testMergeNodesOnField();
00134     void testCheckConsecutiveCellTypes();
00135     void testRearrange2ConsecutiveCellTypes();
00136     void testSplitByType();
00137     void testFuseUMeshesOnSameCoords();
00138     void testFuseUMeshesOnSameCoords2();
00139     void testBuildOrthogonalField();
00140     void testGetCellsContainingPoint();
00141     void testGetValueOn1();
00142     void testCMesh0();
00143     void testCMesh1();
00144     void testCMesh2();
00145     void testScale();
00146     void testTryToShareSameCoords();
00147     void testFindNodeOnPlane();
00148     void testRenumberCells();
00149     void testChangeSpaceDimension();
00150   };
00151 }
00152 
00153 #endif