1 // Copyright (C) 2007-2015 CEA/DEN, EDF R&D
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.
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.
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
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 // Author : Anthony Geay (CEA/DEN)
21 #ifndef __MEDCOUPLINGBASICSTEST2_HXX__
22 #define __MEDCOUPLINGBASICSTEST2_HXX__
24 #include "MEDCouplingBasicsTest.hxx"
31 class DataArrayDouble;
32 class MEDCouplingUMesh;
33 class MEDCouplingFieldDouble;
34 class MEDCouplingMultiFields;
36 class MEDCouplingBasicsTest2 : public MEDCouplingBasicsTest
38 CPPUNIT_TEST_SUITE(MEDCouplingBasicsTest2);
39 CPPUNIT_TEST( testGaussPointField1 );
40 CPPUNIT_TEST( testGaussPointNEField1 );
41 CPPUNIT_TEST( testCellOrientation1 );
42 CPPUNIT_TEST( testCellOrientation2 );
43 CPPUNIT_TEST( testCellOrientation3 );
44 CPPUNIT_TEST( testPolyhedronBarycenter );
45 CPPUNIT_TEST( testNormL12Integ1D );
46 CPPUNIT_TEST( testAreaBary2D );
47 CPPUNIT_TEST( testAreaBary3D );
48 CPPUNIT_TEST( testRenumberCellsForFields );
49 CPPUNIT_TEST( testRenumberNodesForFields );
50 CPPUNIT_TEST( testConvertQuadraticCellsToLinear );
51 CPPUNIT_TEST( testCheckGeoEquivalWith );
52 CPPUNIT_TEST( testCheckGeoEquivalWith2 );
53 CPPUNIT_TEST( testCopyTinyStringsFromOnFields );
54 CPPUNIT_TEST( testTryToShareSameCoordsPermute );
55 CPPUNIT_TEST( testTryToShareSameCoordsPermute2 );
56 CPPUNIT_TEST( testChangeUnderlyingMesh1 );
57 CPPUNIT_TEST( testGetMaxValue1 );
58 CPPUNIT_TEST( testSubstractInPlaceDM1 );
59 CPPUNIT_TEST( testDotCrossProduct1 );
60 CPPUNIT_TEST( testMinMaxFields1 );
61 CPPUNIT_TEST( testApplyLin1 );
62 CPPUNIT_TEST( testGetIdsInRange1 );
63 CPPUNIT_TEST( testBuildSubPart1 );
64 CPPUNIT_TEST( testDoublyContractedProduct1 );
65 CPPUNIT_TEST( testDeterminant1 );
66 CPPUNIT_TEST( testEigenValues1 );
67 CPPUNIT_TEST( testEigenVectors1 );
68 CPPUNIT_TEST( testInverse1 );
69 CPPUNIT_TEST( testTrace1 );
70 CPPUNIT_TEST( testDeviator1 );
71 CPPUNIT_TEST( testMagnitude1 );
72 CPPUNIT_TEST( testMaxPerTuple1 );
73 CPPUNIT_TEST( testChangeNbOfComponents );
74 CPPUNIT_TEST( testSortPerTuple1 );
75 CPPUNIT_TEST( testIsEqualWithoutConsideringStr1 );
76 CPPUNIT_TEST( testGetNodeIdsOfCell1 );
77 CPPUNIT_TEST( testGetEdgeRatioField1 );
78 CPPUNIT_TEST( testFillFromAnalytic3 );
79 CPPUNIT_TEST( testFieldDoubleOpEqual1 );
80 CPPUNIT_TEST( testAreaBary3D2 );
81 CPPUNIT_TEST_SUITE_END();
83 void testGaussPointField1();
84 void testGaussPointNEField1();
85 void testCellOrientation1();
86 void testCellOrientation2();
87 void testCellOrientation3();
88 void testPolyhedronBarycenter();
89 void testNormL12Integ1D();
90 void testAreaBary2D();
91 void testAreaBary3D();
92 void testRenumberCellsForFields();
93 void testRenumberNodesForFields();
94 void testConvertQuadraticCellsToLinear();
95 void testCheckGeoEquivalWith();
96 void testCheckGeoEquivalWith2();
97 void testCopyTinyStringsFromOnFields();
98 void testTryToShareSameCoordsPermute();
99 void testTryToShareSameCoordsPermute2();
100 void testChangeUnderlyingMesh1();
101 void testGetMaxValue1();
102 void testSubstractInPlaceDM1();
103 void testDotCrossProduct1();
104 void testMinMaxFields1();
105 void testApplyLin1();
106 void testGetIdsInRange1();
107 void testBuildSubPart1();
108 void testDoublyContractedProduct1();
109 void testDeterminant1();
110 void testEigenValues1();
111 void testEigenVectors1();
114 void testDeviator1();
115 void testMagnitude1();
116 void testMaxPerTuple1();
117 void testChangeNbOfComponents();
118 void testSortPerTuple1();
119 void testIsEqualWithoutConsideringStr1();
120 void testGetNodeIdsOfCell1();
121 void testGetEdgeRatioField1();
122 void testFillFromAnalytic3();
123 void testFieldDoubleOpEqual1();
124 void testAreaBary3D2();