]>
SALOME platform Git repositories - tools/medcoupling.git/log
eap [Thu, 17 Dec 2009 07:52:56 +0000 (07:52 +0000)]
EHPOC Interpolators
In testInterpolationCU2D(), test interpolateMeshesRev()
eap [Wed, 16 Dec 2009 13:19:10 +0000 (13:19 +0000)]
EHPOC Interpolators
Dimension of cartesian mesh == space dimension
eap [Wed, 16 Dec 2009 13:18:13 +0000 (13:18 +0000)]
EHPOC Interpolators
+InterpolationCU2D.hxx \
+InterpolationCU2D.txx \
ageay [Tue, 15 Dec 2009 11:01:25 +0000 (11:01 +0000)]
Indentation fix.
ageay [Tue, 15 Dec 2009 10:51:36 +0000 (10:51 +0000)]
*** empty log message ***
nge [Tue, 15 Dec 2009 10:24:22 +0000 (10:24 +0000)]
NGE : Missing include for compilation on recent gcc
ageay [Tue, 15 Dec 2009 10:13:21 +0000 (10:13 +0000)]
*** empty log message ***
ageay [Tue, 15 Dec 2009 09:06:11 +0000 (09:06 +0000)]
*** empty log message ***
ageay [Mon, 14 Dec 2009 10:35:04 +0000 (10:35 +0000)]
*** empty log message ***
eap [Fri, 11 Dec 2009 07:43:19 +0000 (07:43 +0000)]
Roll back an integration by mistake
eap [Thu, 10 Dec 2009 14:55:37 +0000 (14:55 +0000)]
untabify
vsr [Tue, 8 Dec 2009 10:12:33 +0000 (10:12 +0000)]
Merge from V5_1_3_BR branch (07/12/09)
ageay [Wed, 18 Nov 2009 11:17:25 +0000 (11:17 +0000)]
*** empty log message ***
ageay [Thu, 5 Nov 2009 13:28:43 +0000 (13:28 +0000)]
Integration of Trio non regression test.
ageay [Thu, 5 Nov 2009 10:55:16 +0000 (10:55 +0000)]
Integration of Trio modifications.
ageay [Thu, 5 Nov 2009 10:06:32 +0000 (10:06 +0000)]
Protection of acos against values out of [-1.,1.]
ageay [Thu, 5 Nov 2009 10:04:51 +0000 (10:04 +0000)]
Bug on 2 tests division by 0.
ageay [Thu, 5 Nov 2009 09:33:22 +0000 (09:33 +0000)]
Suppression of bug on empty mesh.
ageay [Thu, 5 Nov 2009 09:27:11 +0000 (09:27 +0000)]
Suppression of bug on empty mesh.
ageay [Thu, 5 Nov 2009 09:26:06 +0000 (09:26 +0000)]
Activate floating point exceptions.
ageay [Thu, 5 Nov 2009 08:54:25 +0000 (08:54 +0000)]
*** empty log message ***
ageay [Wed, 4 Nov 2009 16:04:08 +0000 (16:04 +0000)]
*** empty log message ***
ageay [Wed, 4 Nov 2009 16:01:42 +0000 (16:01 +0000)]
Polys management non conservative interpolators.
ageay [Wed, 4 Nov 2009 16:01:09 +0000 (16:01 +0000)]
Polys management in MEDMEM.
ageay [Wed, 4 Nov 2009 15:45:21 +0000 (15:45 +0000)]
Suppression of useless attributes.
ageay [Wed, 4 Nov 2009 15:44:51 +0000 (15:44 +0000)]
*** empty log message ***
ageay [Tue, 3 Nov 2009 09:15:20 +0000 (09:15 +0000)]
Dealing polyhedra for 3D P0P0 non conservative interpolation.
ageay [Mon, 2 Nov 2009 13:05:02 +0000 (13:05 +0000)]
Dealing polyhedra for 3D P0P0 non conservative interpolation.
ageay [Fri, 23 Oct 2009 05:44:42 +0000 (05:44 +0000)]
*** empty log message ***
ageay [Fri, 23 Oct 2009 05:43:24 +0000 (05:43 +0000)]
non conservative Interp 3D
ageay [Fri, 23 Oct 2009 05:42:52 +0000 (05:42 +0000)]
removing bug. MEDMEM test coming soon.
ageay [Fri, 23 Oct 2009 05:41:51 +0000 (05:41 +0000)]
3D non conservative INTERP
ageay [Fri, 23 Oct 2009 05:41:15 +0000 (05:41 +0000)]
Factorization IntersectorPlanar Intersector3D coming soon.
ageay [Fri, 23 Oct 2009 05:39:52 +0000 (05:39 +0000)]
Adding 3D non conservative interp.
ageay [Fri, 23 Oct 2009 05:29:39 +0000 (05:29 +0000)]
-pedantic -Wall compilation
ageay [Thu, 22 Oct 2009 10:07:56 +0000 (10:07 +0000)]
-pedantic -Wall compilation
ageay [Thu, 22 Oct 2009 10:05:20 +0000 (10:05 +0000)]
-pedantic -Wall compilation
ageay [Thu, 22 Oct 2009 09:50:52 +0000 (09:50 +0000)]
-pedantic -Wall compilation
ageay [Thu, 22 Oct 2009 09:36:00 +0000 (09:36 +0000)]
*** empty log message ***
ageay [Thu, 22 Oct 2009 09:18:58 +0000 (09:18 +0000)]
*** empty log message ***
ageay [Wed, 21 Oct 2009 07:44:43 +0000 (07:44 +0000)]
Adding non conservative interpolators for 2D and 3DSurf.
Suppression of precision degradation for P1P0Bary.
ageay [Wed, 21 Oct 2009 06:56:27 +0000 (06:56 +0000)]
Adding non conservative interpolators for 2D and 3DSurf.
dmv [Mon, 12 Oct 2009 13:46:54 +0000 (13:46 +0000)]
correct previous integration (Porting to Python 2.6)
dmv [Mon, 12 Oct 2009 11:45:16 +0000 (11:45 +0000)]
Porting to Python 2.6 - add coding page specification for Python scripts
eap [Fri, 9 Oct 2009 15:57:06 +0000 (15:57 +0000)]
in test3DInterpP1P0Bary_1(), increase compare tolerance up to 1e-3
eap [Fri, 9 Oct 2009 14:56:26 +0000 (14:56 +0000)]
use tolerance at double comparison
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 )
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 )
adam [Wed, 7 Oct 2009 13:59:00 +0000 (13:59 +0000)]
windows port
adam [Wed, 7 Oct 2009 13:03:58 +0000 (13:03 +0000)]
windows port
adam [Wed, 7 Oct 2009 12:53:26 +0000 (12:53 +0000)]
windows port
adam [Wed, 7 Oct 2009 12:46:11 +0000 (12:46 +0000)]
windows port
adam [Tue, 6 Oct 2009 10:06:59 +0000 (10:06 +0000)]
windows port
ageay [Mon, 5 Oct 2009 15:05:20 +0000 (15:05 +0000)]
Adding some missing headers in install.
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
ageay [Fri, 2 Oct 2009 08:07:48 +0000 (08:07 +0000)]
bug mantis 20457
eap [Thu, 1 Oct 2009 05:43:57 +0000 (05:43 +0000)]
fix memory leak in testInterpolationCC()
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();
}
eap [Thu, 1 Oct 2009 05:39:05 +0000 (05:39 +0000)]
0020441 : [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");
}
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);
eap [Tue, 29 Sep 2009 14:41:52 +0000 (14:41 +0000)]
0020441 : [CEA 349] P1P1 barycentric interpolators
+ CPPUNIT_TEST( test3DInterpP1P1_1 );
eap [Tue, 29 Sep 2009 14:41:16 +0000 (14:41 +0000)]
remove extra lines
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());
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 \
adam [Tue, 29 Sep 2009 12:34:30 +0000 (12:34 +0000)]
new gcc and windows port
dmv [Tue, 29 Sep 2009 08:59:46 +0000 (08:59 +0000)]
0020495 : EDF : MEDMEM Documentation
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();
eap [Tue, 29 Sep 2009 06:57:23 +0000 (06:57 +0000)]
0020440 : [CEA 349] P1P0 barycentric interpolators
+ CPPUNIT_TEST( test_UnitTetraIntersectionBary_12 );
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;
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;
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();
eap [Tue, 29 Sep 2009 06:51:10 +0000 (06:51 +0000)]
remove an extra line
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());
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 \
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,
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;
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);
eap [Fri, 18 Sep 2009 14:59:10 +0000 (14:59 +0000)]
Merge from BR_renumbering
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
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 );
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 \
vsr [Tue, 15 Sep 2009 19:47:10 +0000 (19:47 +0000)]
Fix problem of compilation: avoid linkage errors
vbd [Fri, 4 Sep 2009 13:50:28 +0000 (13:50 +0000)]
correcting mistake in polyhedra connectivity documentation
ageay [Fri, 28 Aug 2009 08:30:59 +0000 (08:30 +0000)]
*** empty log message ***
ageay [Tue, 25 Aug 2009 15:28:25 +0000 (15:28 +0000)]
*** empty log message ***
ageay [Tue, 25 Aug 2009 14:59:46 +0000 (14:59 +0000)]
*** empty log message ***
ageay [Tue, 25 Aug 2009 13:51:39 +0000 (13:51 +0000)]
NO TABS PLEASE !!!
ageay [Tue, 25 Aug 2009 13:33:12 +0000 (13:33 +0000)]
*** empty log message ***
ageay [Tue, 25 Aug 2009 07:00:26 +0000 (07:00 +0000)]
Add one test.
ageay [Tue, 25 Aug 2009 06:57:35 +0000 (06:57 +0000)]
delete tabs.
ageay [Tue, 25 Aug 2009 06:50:31 +0000 (06:50 +0000)]
delete tabs.
ageay [Mon, 24 Aug 2009 14:23:18 +0000 (14:23 +0000)]
P0->P1 parllel.
ndjinga [Fri, 21 Aug 2009 07:30:02 +0000 (07:30 +0000)]
Moved the Remapper tests to MEDMEMCppTests
ndjinga [Thu, 20 Aug 2009 13:39:34 +0000 (13:39 +0000)]
moved remapper tests to INTERP_KERNELTests
ndjinga [Thu, 20 Aug 2009 13:35:41 +0000 (13:35 +0000)]
removed remapper tests
ageay [Thu, 20 Aug 2009 12:18:08 +0000 (12:18 +0000)]
*** empty log message ***
ageay [Thu, 20 Aug 2009 12:10:09 +0000 (12:10 +0000)]
Some new functionalities able to deal with dynamic types as classic one.
ageay [Thu, 20 Aug 2009 12:08:06 +0000 (12:08 +0000)]
Some new functionalities : descending and reverse descending connectivities.
ndjinga [Thu, 20 Aug 2009 07:10:56 +0000 (07:10 +0000)]
Added management of vector fields (multiple component)
Corrected the indentation