]> SALOME platform Git repositories - tools/medcoupling.git/log
Salome HOME
tools/medcoupling.git
15 years agoAdding non conservative interpolators for 2D and 3DSurf.
ageay [Wed, 21 Oct 2009 06:56:27 +0000 (06:56 +0000)]
Adding non conservative interpolators for 2D and 3DSurf.

15 years agocorrect previous integration (Porting to Python 2.6) V5_1_3rc1
dmv [Mon, 12 Oct 2009 13:46:54 +0000 (13:46 +0000)]
correct previous integration (Porting to Python 2.6)

15 years agoPorting to Python 2.6 - add coding page specification for Python scripts
dmv [Mon, 12 Oct 2009 11:45:16 +0000 (11:45 +0000)]
Porting to Python 2.6 - add coding page specification for Python scripts

15 years agoin test3DInterpP1P0Bary_1(), increase compare tolerance up to 1e-3
eap [Fri, 9 Oct 2009 15:57:06 +0000 (15:57 +0000)]
in test3DInterpP1P0Bary_1(), increase compare tolerance up to 1e-3

15 years agouse tolerance at double comparison
eap [Fri, 9 Oct 2009 14:56:26 +0000 (14:56 +0000)]
use tolerance at double comparison

15 years ago0020525: [CEA] test MEDMEM fails
eap [Thu, 8 Oct 2009 14:07:49 +0000 (14:07 +0000)]
0020525: [CEA] test MEDMEM fails

-      if ( srcMesh.getTypeOfElement( i ) != NORM_TETRA4 )
+      if ( srcMesh.getTypeOfElement( OTT<ConnType,numPol>::indFC( i )) != NORM_TETRA4 )

15 years ago0020525: [CEA] test MEDMEM fails
eap [Thu, 8 Oct 2009 14:07:22 +0000 (14:07 +0000)]
0020525: [CEA] test MEDMEM fails

-      if ( meshS.getTypeOfElement( i ) != NORM_TRI3 )
+      if ( meshS.getTypeOfElement( OTT<ConnType,numPol>::indFC( i )) != NORM_TRI3 )

15 years agowindows port
adam [Wed, 7 Oct 2009 13:59:00 +0000 (13:59 +0000)]
windows port

15 years agowindows port
adam [Wed, 7 Oct 2009 13:03:58 +0000 (13:03 +0000)]
windows port

15 years agowindows port
adam [Wed, 7 Oct 2009 12:53:26 +0000 (12:53 +0000)]
windows port

15 years agowindows port
adam [Wed, 7 Oct 2009 12:46:11 +0000 (12:46 +0000)]
windows port

15 years agowindows port
adam [Tue, 6 Oct 2009 10:06:59 +0000 (10:06 +0000)]
windows port

15 years agoAdding some missing headers in install.
ageay [Mon, 5 Oct 2009 15:05:20 +0000 (15:05 +0000)]
Adding some missing headers in install.

15 years ago- std::pair< int, double[12] > subTetraNodes[24]; // a node of sub tetra and its...
eap [Mon, 5 Oct 2009 08:49:07 +0000 (08:49 +0000)]
-    std::pair< int, double[12] > subTetraNodes[24]; // a node of sub tetra and its coordinates
+    std::pair< int, std::vector<double> > subTetraNodes[24]; // a node of sub tetra and its coordinates

15 years agobug mantis 20457
ageay [Fri, 2 Oct 2009 08:07:48 +0000 (08:07 +0000)]
bug mantis 20457

15 years agofix memory leak in testInterpolationCC()
eap [Thu, 1 Oct 2009 05:43:57 +0000 (05:43 +0000)]
fix memory leak in testInterpolationCC()

15 years ago const double * MEDCouplingNormalizedCartesianMesh<SPACEDIM,MESHDIM>::getCoordsAlongA...
eap [Thu, 1 Oct 2009 05:43:26 +0000 (05:43 +0000)]
 const double * MEDCouplingNormalizedCartesianMesh<SPACEDIM,MESHDIM>::getCoordsAlongAxis(int axis) const
 {
-  return _mesh->getCoordsAt(axis)->getPointer();
+  return _mesh->getCoordsAt(axis)->getConstPointer();
 }

15 years ago0020441: [CEA 349] P1P1 barycentric interpolators
eap [Thu, 1 Oct 2009 05:39:05 +0000 (05:39 +0000)]
0020441: [CEA 349] P1P1 barycentric interpolators

15 years ago0020441: [CEA 349] P1P1 barycentric interpolators
eap [Thu, 1 Oct 2009 05:36:31 +0000 (05:36 +0000)]
0020441: [CEA 349] P1P1 barycentric interpolators
   {
+    // SPEC:
+    // "Limitation. For the P1P0 barycentric improvement only triangle source cells in 2D and
+    // tetrahedrons in 3D will be supported by interpolators. If a non
+    // triangle/tetrahedron source cell is detected an INTERP_KERNEL::Exception should be thrown."
+
+    // Check types of source elements here rather than in intersectCells() since a wrong type can be
+    // found late after a long time of calculation.
+
+    const unsigned long numSrcElems = meshS.getNumberOfElements();
+    for(unsigned long i = 0 ; i < numSrcElems ; ++i)
+      if ( meshS.getTypeOfElement( i ) != NORM_... )
+        throw INTERP_KERNEL::Exception("P1P0 barycentric algorithm works only with triangular source meshes");
   }

15 years ago0020441: [CEA 349] P1P1 barycentric interpolators
eap [Thu, 1 Oct 2009 05:33:36 +0000 (05:33 +0000)]
0020441: [CEA 349] P1P1 barycentric interpolators
  do not call intersectCells() if no source cells found
-        intersector->intersectCells(targetIdx,intersectElems,result);
+        if ( !intersectElems.empty() )
+          intersector->intersectCells(targetIdx,intersectElems,result);

15 years ago0020441: [CEA 349] P1P1 barycentric interpolators
eap [Tue, 29 Sep 2009 14:41:52 +0000 (14:41 +0000)]
0020441: [CEA 349] P1P1 barycentric interpolators

+    CPPUNIT_TEST( test3DInterpP1P1_1 );

15 years agoremove extra lines
eap [Tue, 29 Sep 2009 14:41:16 +0000 (14:41 +0000)]
remove extra lines

15 years ago0020441: [CEA 349] P1P1 barycentric interpolators
eap [Tue, 29 Sep 2009 14:40:47 +0000 (14:40 +0000)]
0020441: [CEA 349] P1P1 barycentric interpolators

+    else if(methC=="P1P1")
+      intersector=new PolyhedronIntersectorP1P1<MyMeshType,MatrixType>(targetMesh, srcMesh, getSplittingPolicy());

15 years ago0020441: [CEA 349] P1P1 barycentric interpolators
eap [Tue, 29 Sep 2009 14:39:51 +0000 (14:39 +0000)]
0020441: [CEA 349] P1P1 barycentric interpolators

+Intersector3DP1P1.hxx \
+Intersector3DP1P1.txx \
+PolyhedronIntersectorP1P1.hxx \
+PolyhedronIntersectorP1P1.txx \

15 years agonew gcc and windows port
adam [Tue, 29 Sep 2009 12:34:30 +0000 (12:34 +0000)]
new gcc and windows port

15 years ago0020495: EDF : MEDMEM Documentation
dmv [Tue, 29 Sep 2009 08:59:46 +0000 (08:59 +0000)]
0020495: EDF : MEDMEM Documentation

15 years ago0020440: [CEA 349] P1P0 barycentric interpolators
eap [Tue, 29 Sep 2009 06:59:20 +0000 (06:59 +0000)]
0020440: [CEA 349] P1P0 barycentric interpolators

+    void test2DInterpP1P0Bary_1();
+    void test3DSurfInterpP1P0Bary_1();
+    void test3DInterpP1P0Bary_1();
   private:
+    MEDCouplingUMesh *build3DSourceMesh_2();
+    MEDCouplingUMesh *build3DTargetMesh_2();

15 years ago0020440: [CEA 349] P1P0 barycentric interpolators
eap [Tue, 29 Sep 2009 06:57:23 +0000 (06:57 +0000)]
0020440: [CEA 349] P1P0 barycentric interpolators

+    CPPUNIT_TEST( test_UnitTetraIntersectionBary_12 );

15 years ago0020440: [CEA 349] P1P0 barycentric interpolators
eap [Tue, 29 Sep 2009 06:55:48 +0000 (06:55 +0000)]
0020440: [CEA 349] P1P0 barycentric interpolators

+    double intersectWith(const QuadraticPolygon& other, double* barycenter) const;

15 years ago0020440: [CEA 349] P1P0 barycentric interpolators
eap [Tue, 29 Sep 2009 06:55:06 +0000 (06:55 +0000)]
0020440: [CEA 349] P1P0 barycentric interpolators

Fixing bugs

-    UnitTetraIntersectionBary();
+    UnitTetraIntersectionBary(bool isTetraInversed=false);

-    void init();
+    void init(bool isTetraInversed=false);

+    std::vector< std::vector< double > >  _polyNormals;

15 years ago0020440: [CEA 349] P1P0 barycentric interpolators
eap [Tue, 29 Sep 2009 06:53:00 +0000 (06:53 +0000)]
0020440: [CEA 349] P1P0 barycentric interpolators
0020441: [CEA 349] P1P1 barycentric interpolators

-    double intersectSourceCell(typename MyMeshType::MyConnType srcCell);
+    double intersectSourceCell(typename MyMeshType::MyConnType srcCell, double* baryCentre=0);
+
+    double intersectTetra(const double** tetraCorners);

+    void clearVolumesCache();

15 years agoremove an extra line
eap [Tue, 29 Sep 2009 06:51:10 +0000 (06:51 +0000)]
remove an extra line

15 years ago0020440: [CEA 349] P1P0 barycentric interpolators
eap [Tue, 29 Sep 2009 06:50:22 +0000 (06:50 +0000)]
0020440: [CEA 349] P1P0 barycentric interpolators

-    std::string methC(method);
+    std::string methC = InterpolationOptions::filterInterpolationMethod(method);
     if(methC=="P0P0")
       intersector=new PolyhedronIntersector<MyMeshType,MatrixType>(targetMesh, srcMesh, getSplittingPolicy());
     else if(methC=="P0P1")
       intersector=new PolyhedronIntersectorP0P1<MyMeshType,MatrixType>(targetMesh, srcMesh, getSplittingPolicy());
     else if(methC=="P1P0")
       intersector=new PolyhedronIntersectorP1P0<MyMeshType,MatrixType>(targetMesh, srcMesh, getSplittingPolicy());
+    else if(methC=="P1P0Bary")
+      intersector=new PolyhedronIntersectorP1P0Bary<MyMeshType,MatrixType>(targetMesh, srcMesh, getSplittingPolicy());

15 years ago0020440: [CEA 349] P1P0 barycentric interpolators
eap [Tue, 29 Sep 2009 06:48:54 +0000 (06:48 +0000)]
0020440: [CEA 349] P1P0 barycentric interpolators

+Intersector3DP1P0Bary.hxx \
+Intersector3DP1P0Bary.txx \
+PlanarIntersectorP1P0Bary.hxx \
+PlanarIntersectorP1P0Bary.txx \
+PolyhedronIntersectorP1P0Bary.hxx \
+PolyhedronIntersectorP1P0Bary.txx \

15 years ago0020440: [CEA 349] P1P0 barycentric interpolators
eap [Tue, 29 Sep 2009 06:42:47 +0000 (06:42 +0000)]
0020440: [CEA 349] P1P0 barycentric interpolators

-    std::string meth(method);
+    std::string meth = InterpolationOptions::filterInterpolationMethod(method);
     if(meth=="P0P0")
       {
       }
+    else if(meth=="P1P0Bary")
+    {
+      switch (InterpolationOptions::getIntersectionType())
+      {
+      case Triangulation:
+        intersector=new TriangulationIntersector<MyMeshType,MatrixType,PlanarIntersectorP1P0Bary>(myMeshT,myMeshS,_dim_caracteristic,
+      case Convex:
+        intersector=new ConvexIntersector<MyMeshType,MatrixType,PlanarIntersectorP1P0Bary>(myMeshT,myMeshS,_dim_caracteristic,
+      case Geometric2D:
+        intersector=new Geometric2DIntersector<MyMeshType,MatrixType,PlanarIntersectorP1P0Bary>(myMeshT, myMeshS, _dim_caracteristic,

15 years ago0020440: [CEA 349] P1P0 barycentric interpolators
eap [Tue, 29 Sep 2009 06:38:32 +0000 (06:38 +0000)]
0020440: [CEA 349] P1P0 barycentric interpolators
"Class InterpolationOptions should have an additional method : setP1P0BaryMethod(bool) that will set the _P1P0_bary_method attribute...An additional protected non virtual method treating string representation of interpolation method will be added:"

+    void setP1P0BaryMethod(bool isP1P0) { _P1P0_bary_method=isP1P0; }
+    bool getP1P0BaryMethod() const { return _P1P0_bary_method; }
+    std::string filterInterpolationMethod(const std::string& meth) const;

15 years ago0020440: [CEA 349] P1P0 barycentric interpolators
eap [Tue, 29 Sep 2009 06:34:30 +0000 (06:34 +0000)]
0020440: [CEA 349] P1P0 barycentric interpolators
"Concerning engine intersectors TriangleIntersector,Geometric2DIntersector and ConvexIntersector have to be extended with and additional method:"

+    double intersectGeoBary(const std::vector<double>& targetCell, bool targetCellQuadratic, const double *sourceCell, std::vector<double>& res);

15 years agoMerge from BR_renumbering
eap [Fri, 18 Sep 2009 14:59:10 +0000 (14:59 +0000)]
Merge from BR_renumbering

15 years agoEHPOC: L1.1.1: Structrured/structrured interpolation
eap [Fri, 18 Sep 2009 12:07:22 +0000 (12:07 +0000)]
EHPOC: L1.1.1: Structrured/structrured interpolation

Implementation of 1D-3D cartesian/cartesian interpolation

+MEDCouplingNormalizedCartesianMesh.hxx MEDCouplingNormalizedCartesianMesh.txx

15 years agoEHPOC: L1.1.1: Structrured/structrured interpolation
eap [Fri, 18 Sep 2009 12:06:07 +0000 (12:06 +0000)]
EHPOC: L1.1.1: Structrured/structrured interpolation

Implementation of 1D-3D cartesian/cartesian interpolation

+    CPPUNIT_TEST( testInterpolationCC );

15 years agoEHPOC: L1.1.1: Structrured/structrured interpolation
eap [Fri, 18 Sep 2009 12:04:02 +0000 (12:04 +0000)]
EHPOC: L1.1.1: Structrured/structrured interpolation

Implementation of 1D-3D cartesian/cartesian interpolation

+InterpolationCC.hxx                     \
+InterpolationCC.txx                     \

15 years agoFix problem of compilation: avoid linkage errors
vsr [Tue, 15 Sep 2009 19:47:10 +0000 (19:47 +0000)]
Fix problem of compilation: avoid linkage errors

15 years agocorrecting mistake in polyhedra connectivity documentation
vbd [Fri, 4 Sep 2009 13:50:28 +0000 (13:50 +0000)]
correcting mistake in polyhedra connectivity documentation

15 years ago*** empty log message ***
ageay [Fri, 28 Aug 2009 08:30:59 +0000 (08:30 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
ageay [Tue, 25 Aug 2009 15:28:25 +0000 (15:28 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
ageay [Tue, 25 Aug 2009 14:59:46 +0000 (14:59 +0000)]
*** empty log message ***

15 years agoNO TABS PLEASE !!!
ageay [Tue, 25 Aug 2009 13:51:39 +0000 (13:51 +0000)]
NO TABS PLEASE !!!

15 years ago*** empty log message ***
ageay [Tue, 25 Aug 2009 13:33:12 +0000 (13:33 +0000)]
*** empty log message ***

15 years agoAdd one test.
ageay [Tue, 25 Aug 2009 07:00:26 +0000 (07:00 +0000)]
Add one test.

15 years agodelete tabs.
ageay [Tue, 25 Aug 2009 06:57:35 +0000 (06:57 +0000)]
delete tabs.

15 years agodelete tabs.
ageay [Tue, 25 Aug 2009 06:50:31 +0000 (06:50 +0000)]
delete tabs.

15 years agoP0->P1 parllel.
ageay [Mon, 24 Aug 2009 14:23:18 +0000 (14:23 +0000)]
P0->P1 parllel.

15 years agoMoved the Remapper tests to MEDMEMCppTests
ndjinga [Fri, 21 Aug 2009 07:30:02 +0000 (07:30 +0000)]
Moved the Remapper tests to MEDMEMCppTests

15 years agomoved remapper tests to INTERP_KERNELTests
ndjinga [Thu, 20 Aug 2009 13:39:34 +0000 (13:39 +0000)]
moved remapper tests to INTERP_KERNELTests

15 years agoremoved remapper tests
ndjinga [Thu, 20 Aug 2009 13:35:41 +0000 (13:35 +0000)]
removed remapper tests

15 years ago*** empty log message ***
ageay [Thu, 20 Aug 2009 12:18:08 +0000 (12:18 +0000)]
*** empty log message ***

15 years agoSome new functionalities able to deal with dynamic types as classic one.
ageay [Thu, 20 Aug 2009 12:10:09 +0000 (12:10 +0000)]
Some new functionalities able to deal with dynamic types as classic one.

15 years agoSome new functionalities : descending and reverse descending connectivities.
ageay [Thu, 20 Aug 2009 12:08:06 +0000 (12:08 +0000)]
Some new functionalities : descending and reverse descending connectivities.

15 years agoAdded management of vector fields (multiple component)
ndjinga [Thu, 20 Aug 2009 07:10:56 +0000 (07:10 +0000)]
Added management of vector fields (multiple component)
Corrected the indentation

15 years agoIssue 0020194: EDF 977 ALL: Get rid of warnings PACKAGE_VERSION already defined
vsr [Thu, 13 Aug 2009 05:38:18 +0000 (05:38 +0000)]
Issue 0020194: EDF 977 ALL: Get rid of warnings PACKAGE_VERSION already defined

15 years agoAG : Debug for MEDMEM DataStructure.
ndjinga [Mon, 27 Jul 2009 08:35:56 +0000 (08:35 +0000)]
AG : Debug for MEDMEM DataStructure.

15 years agoConst forgotten.
ageay [Fri, 24 Jul 2009 06:28:43 +0000 (06:28 +0000)]
Const forgotten.

15 years ago*** empty log message ***
ageay [Tue, 21 Jul 2009 16:14:30 +0000 (16:14 +0000)]
*** empty log message ***

15 years agoDebug
ageay [Tue, 21 Jul 2009 16:10:32 +0000 (16:10 +0000)]
Debug

15 years agoNo tabs.
ageay [Tue, 21 Jul 2009 15:56:12 +0000 (15:56 +0000)]
No tabs.

15 years ago*** empty log message ***
ageay [Tue, 21 Jul 2009 13:22:53 +0000 (13:22 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
ageay [Tue, 21 Jul 2009 13:05:57 +0000 (13:05 +0000)]
*** empty log message ***

15 years agoSuppression of some trace.
ageay [Tue, 21 Jul 2009 07:37:51 +0000 (07:37 +0000)]
Suppression of some trace.

15 years agoSuppression of some trace.
ageay [Tue, 21 Jul 2009 07:32:28 +0000 (07:32 +0000)]
Suppression of some trace.

15 years agoBug correction of empty cartesian mesh.
ageay [Tue, 21 Jul 2009 07:22:13 +0000 (07:22 +0000)]
Bug correction of empty cartesian mesh.

15 years agoMerge from V5_1_2_BR branch (14 July 2009)
vsr [Wed, 15 Jul 2009 08:07:38 +0000 (08:07 +0000)]
Merge from V5_1_2_BR branch (14 July 2009)

15 years agoimprovement for multiple parallel couplings
secher [Mon, 22 Jun 2009 08:14:43 +0000 (08:14 +0000)]
improvement for multiple parallel couplings

15 years agoAdded the functions rowSum and colSum that compute the sum of entries of a matrix... V5_1_2rc1
ndjinga [Thu, 28 May 2009 12:49:21 +0000 (12:49 +0000)]
Added the functions rowSum and colSum that compute the sum of entries of a matrix according to the rows or columns

15 years agoAdded new methods to handle vector fields in the remapper
ndjinga [Thu, 28 May 2009 07:51:38 +0000 (07:51 +0000)]
Added new methods to handle vector fields in the remapper

15 years agoAdded transposeMultiply method for rever interpolation in MEDMEM::Remapper
ndjinga [Wed, 27 May 2009 16:40:49 +0000 (16:40 +0000)]
Added transposeMultiply method for rever interpolation in MEDMEM::Remapper

15 years ago*** empty log message ***
ageay [Tue, 26 May 2009 14:07:26 +0000 (14:07 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
ageay [Tue, 26 May 2009 13:56:04 +0000 (13:56 +0000)]
*** empty log message ***

15 years agowindows port
adam [Mon, 25 May 2009 14:56:04 +0000 (14:56 +0000)]
windows port

15 years agowindows port
adam [Mon, 25 May 2009 12:44:52 +0000 (12:44 +0000)]
windows port

15 years agoAvoid warning in gcc4.2.2
ageay [Mon, 25 May 2009 06:23:11 +0000 (06:23 +0000)]
Avoid warning in gcc4.2.2

15 years ago*** empty log message ***
ageay [Wed, 20 May 2009 08:45:49 +0000 (08:45 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
ageay [Tue, 19 May 2009 10:35:01 +0000 (10:35 +0000)]
*** empty log message ***

15 years agowindows port
adam [Tue, 19 May 2009 10:29:57 +0000 (10:29 +0000)]
windows port

15 years ago*** empty log message ***
ageay [Tue, 19 May 2009 10:23:50 +0000 (10:23 +0000)]
*** empty log message ***

15 years agouse an other constructor of MPIProcessorGroup
secher [Mon, 4 May 2009 14:16:14 +0000 (14:16 +0000)]
use an other constructor of MPIProcessorGroup

15 years agoCompilation error on ONERA site.
ageay [Mon, 4 May 2009 05:48:57 +0000 (05:48 +0000)]
Compilation error on ONERA site.

15 years agoIssue 0020196: [CEA 323] MicroMED compilation
vsr [Fri, 24 Apr 2009 13:39:04 +0000 (13:39 +0000)]
Issue 0020196: [CEA 323] MicroMED compilation

15 years ago*** empty log message ***
ageay [Thu, 23 Apr 2009 14:13:30 +0000 (14:13 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
ageay [Fri, 17 Apr 2009 11:48:34 +0000 (11:48 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
ageay [Fri, 17 Apr 2009 08:27:39 +0000 (08:27 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
ageay [Mon, 6 Apr 2009 08:41:14 +0000 (08:41 +0000)]
*** empty log message ***

15 years agoSuppression of useless dependancies to improve ParaMEDMEM_Swig.
ageay [Mon, 6 Apr 2009 08:39:47 +0000 (08:39 +0000)]
Suppression of useless dependancies to improve ParaMEDMEM_Swig.

15 years ago*** empty log message ***
ageay [Fri, 3 Apr 2009 15:17:03 +0000 (15:17 +0000)]
*** empty log message ***

15 years agoadd test for perf measures V5_1_1 V5_1_1rc4 V5_1_1rc5
secher [Wed, 18 Mar 2009 15:42:09 +0000 (15:42 +0000)]
add test for perf measures

15 years agobad algorithm
secher [Wed, 18 Mar 2009 09:04:39 +0000 (09:04 +0000)]
bad algorithm

15 years agoDebug V5_1_1rc3
ageay [Mon, 16 Mar 2009 10:34:49 +0000 (10:34 +0000)]
Debug

15 years ago*** empty log message ***
ageay [Mon, 16 Mar 2009 09:25:40 +0000 (09:25 +0000)]
*** empty log message ***

15 years agoFix compilation problems V5_1_1rc2
vsr [Thu, 12 Mar 2009 15:19:23 +0000 (15:19 +0000)]
Fix compilation problems

15 years agoFix compilation problems (Debian)
vsr [Thu, 12 Mar 2009 15:18:09 +0000 (15:18 +0000)]
Fix compilation problems (Debian)

15 years agoFix make distcheck problems
vsr [Thu, 12 Mar 2009 11:46:39 +0000 (11:46 +0000)]
Fix make distcheck problems