Salome HOME
7e93656d946c575dee9c1ba418308f2df8ce9f16
[tools/medcoupling.git] / src / MEDCoupling / Test / MEDCouplingBasicsTest4.hxx
1 // Copyright (C) 2007-2020  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, or (at your option) any later version.
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 // Author : Anthony Geay (CEA/DEN)
20
21 #ifndef __MEDCOUPLINGBASICSTEST4_HXX__
22 #define __MEDCOUPLINGBASICSTEST4_HXX__
23
24 #include "MEDCouplingBasicsTest.hxx"
25
26 #include <map>
27 #include <vector>
28
29 namespace MEDCoupling
30 {
31   class DataArrayDouble;
32   class MEDCouplingUMesh;
33   class MEDCouplingFieldDouble;
34   class MEDCouplingMultiFields;
35
36   class MEDCouplingBasicsTest4 : public MEDCouplingBasicsTest
37   {
38     CPPUNIT_TEST_SUITE(MEDCouplingBasicsTest4);
39     CPPUNIT_TEST( testDescriptionInMeshTimeUnit1 );
40     CPPUNIT_TEST( testMultiFields1 );
41     CPPUNIT_TEST( testFieldOverTime1 );
42     CPPUNIT_TEST( testDAICheckAndPreparePermutation1 );
43     CPPUNIT_TEST( testDAIChangeSurjectiveFormat1 );
44     CPPUNIT_TEST( testUMeshGetCellIdsLyingOnNodes1 );
45     CPPUNIT_TEST( testUMeshFindCellIdsOnBoundary1 );
46     CPPUNIT_TEST( testMeshSetTime1 );
47     CPPUNIT_TEST( testApplyFuncTwo1 );
48     CPPUNIT_TEST( testApplyFuncThree1 );
49     CPPUNIT_TEST( testFillFromAnalyticTwo1 );
50     CPPUNIT_TEST( testFillFromAnalyticThree1 );
51     CPPUNIT_TEST( testDAUnitVar1 );
52     CPPUNIT_TEST( testGaussCoordinates1 );
53     CPPUNIT_TEST( testP2Localization1 );
54     CPPUNIT_TEST( testP2Localization2 );
55     CPPUNIT_TEST( testGetValueOn2 );
56     CPPUNIT_TEST( testDAIGetIdsNotEqual1 );
57     CPPUNIT_TEST( testDAIComputeOffsets1 );
58     CPPUNIT_TEST( testUMeshHexagonPrism1 );
59     CPPUNIT_TEST( testDADCheckIsMonotonic );
60     CPPUNIT_TEST( testCheckCoherencyDeeper1 );
61     CPPUNIT_TEST( testUnPolyze2 );
62     CPPUNIT_TEST( testDACpyFrom1 );
63     CPPUNIT_TEST( testDAITransformWithIndArr1 );
64     CPPUNIT_TEST( testDAIBuildPermArrPerLevel1 );
65     CPPUNIT_TEST( testDAIOperations1 );
66     CPPUNIT_TEST( testEmulateMEDMEMBDC1 );
67     CPPUNIT_TEST( testGetLevArrPerCellTypes1 );
68     CPPUNIT_TEST( testSortCellsInMEDFileFrmt1 );
69     CPPUNIT_TEST( testBuildPartAndReduceNodes1 );
70     CPPUNIT_TEST( testDAITransformWithIndArrR1 );
71     CPPUNIT_TEST( testDAISplitByValueRange1 );
72     CPPUNIT_TEST( testUMeshSplitProfilePerType1 );
73     CPPUNIT_TEST( testDAIBuildExplicitArrByRanges1 );
74     CPPUNIT_TEST( testDAIComputeOffsets2 );
75     CPPUNIT_TEST( testMergeField3 );
76     CPPUNIT_TEST( testGetDistributionOfTypes1 );
77     CPPUNIT_TEST( testNorm2_1 );
78     CPPUNIT_TEST( testNormMax1 );
79     CPPUNIT_TEST( testFindAndCorrectBadOriented3DExtrudedCells1 );
80     CPPUNIT_TEST( testConvertExtrudedPolyhedra1 );
81     CPPUNIT_TEST( testNonRegressionCopyTinyStrings );
82     CPPUNIT_TEST( testDaDSetPartOfValuesAdv1 );
83     CPPUNIT_TEST( testUMeshBuildSetInstanceFromThis1 );
84     CPPUNIT_TEST( testUMeshMergeMeshesCVW1 );
85     CPPUNIT_TEST( testDADFindCommonTuples1 );
86     CPPUNIT_TEST( testDABack1 );
87     CPPUNIT_TEST( testDADGetDifferentValues1 );
88     CPPUNIT_TEST( testDAIBuildOld2NewArrayFromSurjectiveFormat2 );
89     CPPUNIT_TEST( testDADIReverse1 );
90     CPPUNIT_TEST( testGetNodeIdsInUse1 );
91     CPPUNIT_TEST( testBuildDescendingConnec2 );
92     CPPUNIT_TEST( testIntersect2DMeshesTmp1 );
93     CPPUNIT_TEST( testFindNodesOnLine1 );
94     CPPUNIT_TEST( testIntersect2DMeshesTmp2 );
95     CPPUNIT_TEST( testBuildPartOfMySelfSafe1 );
96     CPPUNIT_TEST( testIntersect2DMeshesTmp3 );
97     CPPUNIT_TEST_SUITE_END();
98   public:
99     void testDescriptionInMeshTimeUnit1();
100     void testMultiFields1();
101     void testFieldOverTime1();
102     void testDAICheckAndPreparePermutation1();
103     void testDAIChangeSurjectiveFormat1();
104     void testUMeshGetCellIdsLyingOnNodes1();
105     void testUMeshFindCellIdsOnBoundary1();
106     void testMeshSetTime1();
107     void testApplyFuncTwo1();
108     void testApplyFuncThree1();
109     void testFillFromAnalyticTwo1();
110     void testFillFromAnalyticThree1();
111     void testDAUnitVar1();
112     void testGaussCoordinates1();
113     void testQ1Localization1();
114     void testP2Localization1();
115     void testP2Localization2();
116     void testGetValueOn2();
117     void testDAIGetIdsNotEqual1();
118     void testDAIComputeOffsets1();
119     void testUMeshHexagonPrism1();
120     void testDADCheckIsMonotonic();
121     void testCheckCoherencyDeeper1();
122     void testUnPolyze2();
123     void testDACpyFrom1();
124     void testDAITransformWithIndArr1();
125     void testDAIBuildPermArrPerLevel1();
126     void testDAIOperations1();
127     void testEmulateMEDMEMBDC1();
128     void testGetLevArrPerCellTypes1();
129     void testSortCellsInMEDFileFrmt1();
130     void testBuildPartAndReduceNodes1();
131     void testDAITransformWithIndArrR1();
132     void testDAISplitByValueRange1();
133     void testUMeshSplitProfilePerType1();
134     void testDAIBuildExplicitArrByRanges1();
135     void testDAIComputeOffsets2();
136     void testMergeField3();
137     void testGetDistributionOfTypes1();
138     void testNorm2_1();
139     void testNormMax1();
140     void testFindAndCorrectBadOriented3DExtrudedCells1();
141     void testConvertExtrudedPolyhedra1();
142     void testNonRegressionCopyTinyStrings();
143     void testDaDSetPartOfValuesAdv1();
144     void testUMeshBuildSetInstanceFromThis1();
145     void testUMeshMergeMeshesCVW1();
146     void testChangeUnderlyingMeshWithCMesh1();
147     void testDADFindCommonTuples1();
148     void testDABack1();
149     void testDADGetDifferentValues1();
150     void testDAIBuildOld2NewArrayFromSurjectiveFormat2();
151     void testDADIReverse1();
152     void testGetNodeIdsInUse1();
153     void testBuildDescendingConnec2();
154     void testIntersect2DMeshesTmp1();
155     void testFindNodesOnLine1();
156     void testIntersect2DMeshesTmp2();
157     void testBuildPartOfMySelfSafe1();
158     void testIntersect2DMeshesTmp3();
159   };
160 }
161
162 #endif