]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
New references checked for PYRA5 due to modification of shape function in fd8dbd34764...
authorAnthony Geay <anthony.geay@edf.fr>
Wed, 15 Feb 2023 09:02:31 +0000 (10:02 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Wed, 15 Feb 2023 09:02:31 +0000 (10:02 +0100)
src/MEDCoupling/Test/MEDCouplingBasicsTest4.cxx
src/MEDCoupling_Swig/MEDCouplingBasicsTest3.py

index f410436da69c23f767cbf1072852ea19e5611f26..33b6488caa92105648b3d7d519947547da4a2c5f 100644 (file)
@@ -627,7 +627,7 @@ void MEDCouplingBasicsTest4::testGaussCoordinates1()
   resToTest=f->getLocalizationOfDiscr();
   CPPUNIT_ASSERT_EQUAL(3,(int)resToTest->getNumberOfComponents());
   CPPUNIT_ASSERT_EQUAL(8,(int)resToTest->getNumberOfTuples());//2+3+4+4 gauss points for resp TRI3,TRI6,QUAD4,QUAD8
-  const double expected3[24]={1.312,3.15,1.02, 0.56,3.3,0.6, 2.18,1.1,0.2, 1.18,1.54,0.98, 1.56,0.3,3.6, 1.613,0.801,4.374, 2.6,2.4,2.3, 2.31232,2.3933985,1.553255};
+  const double expected3[24]={1.312,3.15,1.02, 0.56,3.3,0.6, 2.20,1.0,0.2, 2.44, 2.52,1.4, 1.56,0.3,3.6, 1.613,0.801,4.374, 2.6,2.4,2.3, 2.31232,2.3933985,1.553255};
   for(int i=0;i<24;i++)
     CPPUNIT_ASSERT_DOUBLES_EQUAL(expected3[i],resToTest->getIJ(0,i),1e-14);
   resToTest->decrRef();
index 726c6bb2ecc71206082886b67282a740bcb78cf9..ef24dfb421632373f54b4866d88eb6ebcd3fa302 100644 (file)
@@ -1213,7 +1213,7 @@ class MEDCouplingBasicsTest3(unittest.TestCase):
         resToTest=f.getLocalizationOfDiscr();
         self.assertEqual(3,resToTest.getNumberOfComponents());
         self.assertEqual(8,resToTest.getNumberOfTuples());#2+3+4+4 gauss points for resp TRI3,TRI6,QUAD4,QUAD8
-        expected3=[1.312,3.15,1.02, 0.56,3.3,0.6, 2.18,1.1,0.2, 1.18,1.54,0.98, 1.56,0.3,3.6, 1.613,0.801,4.374, 2.6,2.4,2.3, 2.31232,2.3933985,1.553255]
+        expected3=[1.312,3.15,1.02, 0.56,3.3,0.6, 2.20,1.0,0.2, 2.44, 2.52,1.4, 1.56,0.3,3.6, 1.613,0.801,4.374, 2.6,2.4,2.3, 2.31232,2.3933985,1.553255]
         for i in range(24):
             self.assertAlmostEqual(expected3[i],resToTest.getIJ(0,i),14);
             pass