Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/med.git] / src / MEDCoupling / Test / MEDCouplingBasicsTest4.hxx
1 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 #ifndef __MEDCOUPLINGBASICSTEST4_HXX__
21 #define __MEDCOUPLINGBASICSTEST4_HXX__
22
23 #include "MEDCouplingBasicsTest.hxx"
24
25 #include <map>
26 #include <vector>
27
28 namespace ParaMEDMEM
29 {
30   class DataArrayDouble;
31   class MEDCouplingUMesh;
32   class MEDCouplingFieldDouble;
33   class MEDCouplingMultiFields;
34
35   class MEDCouplingBasicsTest4 : public MEDCouplingBasicsTest
36   {
37     CPPUNIT_TEST_SUITE(MEDCouplingBasicsTest4);
38     CPPUNIT_TEST( testDescriptionInMeshTimeUnit1 );
39     CPPUNIT_TEST( testMultiFields1 );
40     CPPUNIT_TEST( testFieldOverTime1 );
41     CPPUNIT_TEST( testDAICheckAndPreparePermutation1 );
42     CPPUNIT_TEST( testDAIChangeSurjectiveFormat1 );
43     CPPUNIT_TEST( testUMeshGetCellIdsLyingOnNodes1 );
44     CPPUNIT_TEST( testUMeshFindCellIdsOnBoundary1 );
45     CPPUNIT_TEST( testMeshSetTime1 );
46     CPPUNIT_TEST( testApplyFuncTwo1 );
47     CPPUNIT_TEST( testApplyFuncThree1 );
48     CPPUNIT_TEST( testFillFromAnalyticTwo1 );
49     CPPUNIT_TEST( testFillFromAnalyticThree1 );
50     CPPUNIT_TEST( testDAUnitVar1 );
51     CPPUNIT_TEST( testGaussCoordinates1 );
52     CPPUNIT_TEST( testP2Localization1 );
53     CPPUNIT_TEST( testP2Localization2 );
54     CPPUNIT_TEST( testGetValueOn2 );
55     CPPUNIT_TEST( testDAIGetIdsNotEqual1 );
56     CPPUNIT_TEST( testDAIComputeOffsets1 );
57     CPPUNIT_TEST( testUMeshHexagonPrism1 );
58     CPPUNIT_TEST( testDADCheckIsMonotonic );
59     CPPUNIT_TEST( testCheckCoherencyDeeper1 );
60     CPPUNIT_TEST( testUnPolyze2 );
61     CPPUNIT_TEST( testDACpyFrom1 );
62     CPPUNIT_TEST( testDAITransformWithIndArr1 );
63     CPPUNIT_TEST( testDAIBuildPermArrPerLevel1 );
64     CPPUNIT_TEST( testDAIOperations1 );
65     CPPUNIT_TEST( testEmulateMEDMEMBDC1 );
66     CPPUNIT_TEST( testGetLevArrPerCellTypes1 );
67     CPPUNIT_TEST( testSortCellsInMEDFileFrmt1 );
68     CPPUNIT_TEST( testBuildPartAndReduceNodes1 );
69     CPPUNIT_TEST( testDAITransformWithIndArrR1 );
70     CPPUNIT_TEST( testDAISplitByValueRange1 );
71     CPPUNIT_TEST( testUMeshSplitProfilePerType1 );
72     CPPUNIT_TEST( testDAIBuildExplicitArrByRanges1 );
73     CPPUNIT_TEST( testDAIComputeOffsets2 );
74     CPPUNIT_TEST( testMergeField3 );
75     CPPUNIT_TEST( testGetDistributionOfTypes1 );
76     CPPUNIT_TEST( testNorm2_1 );
77     CPPUNIT_TEST( testNormMax1 );
78     CPPUNIT_TEST( testFindAndCorrectBadOriented3DExtrudedCells1 );
79     CPPUNIT_TEST( testConvertExtrudedPolyhedra1 );
80     CPPUNIT_TEST( testNonRegressionCopyTinyStrings );
81     CPPUNIT_TEST( testDaDSetPartOfValuesAdv1 );
82     CPPUNIT_TEST( testUMeshBuildSetInstanceFromThis1 );
83     CPPUNIT_TEST( testUMeshMergeMeshesCVW1 );
84     CPPUNIT_TEST( testDADFindCommonTuples1 );
85     CPPUNIT_TEST( testDABack1 );
86     CPPUNIT_TEST( testDADGetDifferentValues1 );
87     CPPUNIT_TEST( testDAIBuildOld2NewArrayFromSurjectiveFormat2 );
88     CPPUNIT_TEST( testDADIReverse1 );
89     CPPUNIT_TEST( testGetNodeIdsInUse1 );
90     CPPUNIT_TEST( testBuildDescendingConnec2 );
91     CPPUNIT_TEST( testIntersect2DMeshesTmp1 );
92     CPPUNIT_TEST( testFindNodesOnLine1 );
93     CPPUNIT_TEST( testIntersect2DMeshesTmp2 );
94     CPPUNIT_TEST( testBuildPartOfMySelfSafe1 );
95     CPPUNIT_TEST( testIntersect2DMeshesTmp3 );
96     CPPUNIT_TEST_SUITE_END();
97   public:
98     void testDescriptionInMeshTimeUnit1();
99     void testMultiFields1();
100     void testFieldOverTime1();
101     void testDAICheckAndPreparePermutation1();
102     void testDAIChangeSurjectiveFormat1();
103     void testUMeshGetCellIdsLyingOnNodes1();
104     void testUMeshFindCellIdsOnBoundary1();
105     void testMeshSetTime1();
106     void testApplyFuncTwo1();
107     void testApplyFuncThree1();
108     void testFillFromAnalyticTwo1();
109     void testFillFromAnalyticThree1();
110     void testDAUnitVar1();
111     void testGaussCoordinates1();
112     void testQ1Localization1();
113     void testP2Localization1();
114     void testP2Localization2();
115     void testGetValueOn2();
116     void testDAIGetIdsNotEqual1();
117     void testDAIComputeOffsets1();
118     void testUMeshHexagonPrism1();
119     void testDADCheckIsMonotonic();
120     void testCheckCoherencyDeeper1();
121     void testUnPolyze2();
122     void testDACpyFrom1();
123     void testDAITransformWithIndArr1();
124     void testDAIBuildPermArrPerLevel1();
125     void testDAIOperations1();
126     void testEmulateMEDMEMBDC1();
127     void testGetLevArrPerCellTypes1();
128     void testSortCellsInMEDFileFrmt1();
129     void testBuildPartAndReduceNodes1();
130     void testDAITransformWithIndArrR1();
131     void testDAISplitByValueRange1();
132     void testUMeshSplitProfilePerType1();
133     void testDAIBuildExplicitArrByRanges1();
134     void testDAIComputeOffsets2();
135     void testMergeField3();
136     void testGetDistributionOfTypes1();
137     void testNorm2_1();
138     void testNormMax1();
139     void testFindAndCorrectBadOriented3DExtrudedCells1();
140     void testConvertExtrudedPolyhedra1();
141     void testNonRegressionCopyTinyStrings();
142     void testDaDSetPartOfValuesAdv1();
143     void testUMeshBuildSetInstanceFromThis1();
144     void testUMeshMergeMeshesCVW1();
145     void testChangeUnderlyingMeshWithCMesh1();
146     void testDADFindCommonTuples1();
147     void testDABack1();
148     void testDADGetDifferentValues1();
149     void testDAIBuildOld2NewArrayFromSurjectiveFormat2();
150     void testDADIReverse1();
151     void testGetNodeIdsInUse1();
152     void testBuildDescendingConnec2();
153     void testIntersect2DMeshesTmp1();
154     void testFindNodesOnLine1();
155     void testIntersect2DMeshesTmp2();
156     void testBuildPartOfMySelfSafe1();
157     void testIntersect2DMeshesTmp3();
158   };
159 }
160
161 #endif