Salome HOME
tools/medcoupling.git
5 years agoUseful valgrind suppr file for SWIG ...
abn [Mon, 14 Jan 2019 14:40:50 +0000 (15:40 +0100)]
Useful valgrind suppr file for SWIG ...

5 years agoIntersec bug fix: point not added properly inserted in splitting.
abn [Mon, 14 Jan 2019 14:29:26 +0000 (15:29 +0100)]
Intersec bug fix: point not added properly inserted in splitting.

5 years agoIntersect bug fix : quad point was not inserted in the map even when used as an extremity
abn [Mon, 14 Jan 2019 12:07:45 +0000 (13:07 +0100)]
Intersect bug fix : quad point was not inserted in the map even when used as an extremity
for another seg.

5 years agoProtect MEDCouplingFieldDouble::getValueOnMulti from SIGEGV on PENTA6
Anthony Geay [Mon, 14 Jan 2019 12:49:12 +0000 (13:49 +0100)]
Protect MEDCouplingFieldDouble::getValueOnMulti from SIGEGV on PENTA6

5 years agoNasty one! Was OK on FED20, but not on more recent compilers.
abn [Fri, 11 Jan 2019 14:54:50 +0000 (15:54 +0100)]
Nasty one! Was OK on FED20, but not on more recent compilers.

5 years agoIntersec bug fix: correct polygons with flat corners, they crash residual computation ...
abn [Wed, 9 Jan 2019 14:30:10 +0000 (15:30 +0100)]
Intersec bug fix: correct polygons with flat corners, they crash residual computation ...

also added test.

5 years agoBug fix in compute residual: the stop condition is really on pol1Zip only.
abn [Wed, 9 Jan 2019 13:48:50 +0000 (14:48 +0100)]
Bug fix in compute residual: the stop condition is really on pol1Zip only.

We might end up with remaining boundary edges from pol2 (and that's OK)

5 years agoIntersection : ComputeResidual -> some refactoring for readability
abn [Wed, 9 Jan 2019 12:10:47 +0000 (13:10 +0100)]
Intersection : ComputeResidual -> some refactoring for readability

5 years agoIntersec bug fix: when intersecting nodes are merged, they were not properly
abn [Mon, 7 Jan 2019 16:16:44 +0000 (17:16 +0100)]
Intersec bug fix: when intersecting nodes are merged, they were not properly
added on pol2.

5 years agoBug fix: seg seg intersector epsilon is to be taken absolutely for colinearity test:
abn [Mon, 7 Jan 2019 16:10:39 +0000 (17:10 +0100)]
Bug fix: seg seg intersector epsilon is to be taken absolutely for colinearity test:

+ even for very small vectors we don't want to have false positive on colinearity. So go back to a comparison with an angle.
+ removed spurious *2 in comparison
+ test IntersectionPointOnlyUnitarySegSeg precision was relaxed a bit

5 years agoIntersection: renaming some variables and refactor to make the algo easier to read.
abn [Wed, 19 Dec 2018 11:23:44 +0000 (12:23 +0100)]
Intersection: renaming some variables and refactor to make the algo easier to read.

5 years agoRewrote _matrix in a more natural way in SegSegIntersetor
abn [Wed, 12 Dec 2018 13:00:49 +0000 (14:00 +0100)]
Rewrote _matrix in a more natural way in SegSegIntersetor

5 years agoImplementation of mergefields on Gauss Points + unification of mergefields(f1,f2...
Anthony Geay [Fri, 4 Jan 2019 09:41:53 +0000 (10:41 +0100)]
Implementation of mergefields on Gauss Points + unification of mergefields(f1,f2) and mergefields([f1,f2])

5 years agoPorting python3
Anthony Geay [Mon, 31 Dec 2018 07:09:07 +0000 (08:09 +0100)]
Porting python3

5 years agoFirst draft of int64.
Anthony Geay [Thu, 20 Dec 2018 09:55:59 +0000 (10:55 +0100)]
First draft of int64.

5 years agoAdd reading of record 8 of sauv file (ascii and XDR) for Castem 17 cbr/upgrade_sauvreader
Christophe Bourcier [Wed, 19 Dec 2018 12:50:53 +0000 (13:50 +0100)]
Add reading of record 8 of sauv file (ascii and XDR) for Castem 17

5 years agoMake the static counters atomic
Anthony Geay [Mon, 17 Dec 2018 07:28:44 +0000 (08:28 +0100)]
Make the static counters atomic

5 years agoMerge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/medcoupling
Anthony Geay [Mon, 17 Dec 2018 06:53:26 +0000 (07:53 +0100)]
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/medcoupling

5 years agoUpdate the documentation
Anthony Geay [Mon, 17 Dec 2018 06:53:16 +0000 (07:53 +0100)]
Update the documentation

5 years agoMerge branch 'V9_2_BR'
vsr [Mon, 10 Dec 2018 14:20:35 +0000 (17:20 +0300)]
Merge branch 'V9_2_BR'

5 years agoBug correction in the medcoupling <-> numpy layer
Anthony Geay [Thu, 6 Dec 2018 14:00:54 +0000 (15:00 +0100)]
Bug correction in the medcoupling <-> numpy layer

5 years agoQuick and dirty patch
Anthony Geay [Thu, 29 Nov 2018 16:09:53 +0000 (17:09 +0100)]
Quick and dirty patch

5 years agoBUG correction : During P0P0 remapping on tetra. If tetra is very small the TetraAffi... V9_2_0 V9_2_0rc1 V9_2_0rc2
Anthony Geay [Mon, 19 Nov 2018 12:29:11 +0000 (13:29 +0100)]
BUG correction : During P0P0 remapping on tetra. If tetra is very small the TetraAffine matrix could be falsely detected as not inversible.

5 years agoBUG correction : During P0P0 remapping on tetra. If tetra is very small the TetraAffi...
Anthony Geay [Mon, 19 Nov 2018 12:29:11 +0000 (13:29 +0100)]
BUG correction : During P0P0 remapping on tetra. If tetra is very small the TetraAffine matrix could be falsely detected as not inversible.

5 years agoIncrement version: 9.2.0
vsr [Fri, 16 Nov 2018 08:17:29 +0000 (11:17 +0300)]
Increment version: 9.2.0

5 years agoRemoving debug print messages ! V9_2_0a2 V9_2_0b1
abn [Tue, 30 Oct 2018 08:51:58 +0000 (09:51 +0100)]
Removing debug print messages !

5 years agoTest correction: Python3: print '...' -> print('...')
rnv [Tue, 30 Oct 2018 08:31:13 +0000 (11:31 +0300)]
Test correction: Python3: print '...' -> print('...')

5 years agoBug fix: IsPolygonWellOriented() was not working properly QPLOYG
abn [Mon, 29 Oct 2018 13:58:16 +0000 (14:58 +0100)]
Bug fix: IsPolygonWellOriented() was not working properly QPLOYG

If the linearized version was self-intersecting, algo was faulty.

5 years agoBug fix : Edge::sortIdAbs() was merging points too agressively.
abn [Wed, 24 Oct 2018 15:58:37 +0000 (17:58 +0200)]
Bug fix : Edge::sortIdAbs() was merging points too agressively.

5 years agoTest case for the prev fix of ComputeResidual ... never hurts ...
abn [Fri, 26 Oct 2018 15:02:26 +0000 (17:02 +0200)]
Test case for the prev fix of ComputeResidual ... never hurts ...

5 years agoIntersec bug fix: ComputeResidual buggy for quad polyg with 2 edges.
abn [Mon, 22 Oct 2018 14:57:40 +0000 (16:57 +0200)]
Intersec bug fix: ComputeResidual buggy for quad polyg with 2 edges.

5 years agoMove Case*.py installation directory from bin to lib/python-MinMag
Anthony Geay [Thu, 18 Oct 2018 09:13:51 +0000 (11:13 +0200)]
Move Case*.py installation directory from bin to lib/python-MinMag

5 years agoFix parallel compilation error on building of ParaMEDMEM python module.
Anthony Geay [Wed, 17 Oct 2018 09:07:22 +0000 (11:07 +0200)]
Fix parallel compilation error on building of ParaMEDMEM python module.

5 years agoTypo and whitespace fixes by Kunda
eap [Mon, 15 Oct 2018 12:01:31 +0000 (15:01 +0300)]
Typo and whitespace fixes by Kunda

http://www.salome-platform.org/forum/forum_9/454200149#834683007

5 years agoMinor doxygen fix
abn [Mon, 15 Oct 2018 08:22:28 +0000 (10:22 +0200)]
Minor doxygen fix

5 years agoWindows support
rnv [Wed, 10 Oct 2018 19:57:50 +0000 (22:57 +0300)]
Windows support

5 years agoMEDLoader is now able to export to 3.3 MED file version.
Anthony Geay [Tue, 9 Oct 2018 09:05:22 +0000 (11:05 +0200)]
MEDLoader is now able to export to 3.3 MED file version.

5 years agoA test of MEDCouplingUMesh::removeDegenerated1DCells
Anthony Geay [Thu, 27 Sep 2018 07:48:52 +0000 (09:48 +0200)]
A test of MEDCouplingUMesh::removeDegenerated1DCells

5 years agoContext manager for MEDFile*Field1TS
Anthony Geay [Thu, 27 Sep 2018 07:35:15 +0000 (09:35 +0200)]
Context manager for MEDFile*Field1TS

5 years agoNew MEDCouplingUMesh::removeDegenerated1DCells method V9_2_0a1
Anthony Geay [Mon, 24 Sep 2018 14:27:45 +0000 (16:27 +0200)]
New MEDCouplingUMesh::removeDegenerated1DCells method

5 years agoMerge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/medcoupling
abn [Fri, 14 Sep 2018 13:26:12 +0000 (15:26 +0200)]
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/medcoupling

5 years agoMinor bug fix : convertDegeneratedCellsAndRemoveFlatOnes()
abn [Fri, 14 Sep 2018 13:25:14 +0000 (15:25 +0200)]
Minor bug fix : convertDegeneratedCellsAndRemoveFlatOnes()

5 years agoTest of DataArrayDouble.ComputeIntegralOfSeg2IntoTri3 V9_1_0
Anthony Geay [Wed, 12 Sep 2018 07:15:47 +0000 (09:15 +0200)]
Test of DataArrayDouble.ComputeIntegralOfSeg2IntoTri3

5 years agoMerge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/medcoupling
Anthony Geay [Wed, 12 Sep 2018 06:22:20 +0000 (08:22 +0200)]
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/medcoupling

5 years agoTake advantage of a nice property of barycentric coords
Anthony Geay [Wed, 12 Sep 2018 06:22:06 +0000 (08:22 +0200)]
Take advantage of a nice property of barycentric coords

5 years agoIncrement version: 9.1.0
rnv [Tue, 11 Sep 2018 14:50:14 +0000 (17:50 +0300)]
Increment version: 9.1.0

5 years agoFurther fix for CaseReader Py3 ...
abn [Tue, 11 Sep 2018 13:21:47 +0000 (15:21 +0200)]
Further fix for CaseReader Py3 ...

5 years ago[EDF17279] : integration computation
Anthony Geay [Fri, 7 Sep 2018 14:46:29 +0000 (16:46 +0200)]
[EDF17279] : integration computation

5 years agoFinalizing windows porting.
rnv [Fri, 7 Sep 2018 07:58:49 +0000 (10:58 +0300)]
Finalizing windows porting.

5 years agoSacrifice of MEDRenumber python module for windows due to lack of time. medcoupling...
rnv [Thu, 6 Sep 2018 08:12:12 +0000 (11:12 +0300)]
Sacrifice of MEDRenumber python module for windows due to lack of time. medcoupling python module is now the right module.

5 years agoExtra deps update
Anthony Geay [Tue, 4 Sep 2018 14:46:11 +0000 (16:46 +0200)]
Extra deps update

5 years agoWindows porting
rnv [Wed, 29 Aug 2018 11:46:27 +0000 (14:46 +0300)]
Windows porting

5 years agoProposal SWIG CMake fix abn/cmake_swig_dpy
abn [Mon, 3 Sep 2018 13:50:51 +0000 (15:50 +0200)]
Proposal SWIG CMake fix

5 years agoCorrection of error during Py3 porting
Anthony Geay [Thu, 30 Aug 2018 12:06:41 +0000 (14:06 +0200)]
Correction of error during Py3 porting

5 years agoMEDCoupling python module is expected to be replaced by medcoupling python module SHAPER_V9_1_0RC1
Anthony Geay [Wed, 29 Aug 2018 14:32:07 +0000 (16:32 +0200)]
MEDCoupling python module is expected to be replaced by medcoupling python module

5 years agoAjouts des tests
Anthony Geay [Wed, 29 Aug 2018 08:31:00 +0000 (10:31 +0200)]
Ajouts des tests

5 years agogetCellsContainingPoints is sensitive to 2D quadratic static cells.
abn [Tue, 7 Aug 2018 14:17:35 +0000 (16:17 +0200)]
getCellsContainingPoints is sensitive to 2D quadratic static cells.

5 years ago- MEDLoader ReadField is now dealing int32, float64 and float32
Anthony Geay [Mon, 27 Aug 2018 15:55:00 +0000 (17:55 +0200)]
- MEDLoader ReadField is now dealing int32, float64 and float32
- Support of Gauss Points on SEG2 with ref coo equal to [0., 1.]
- Addition of DAI.giveN2OOptimized
- MEDCouplingPointSet.renumberNodesInConn support maps as input in python wrapping

5 years agoMerge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/medcoupling
abn [Mon, 27 Aug 2018 13:49:00 +0000 (15:49 +0200)]
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/medcoupling

5 years agoFurther porting to Python3 abn/med2case_py3
abn [Mon, 27 Aug 2018 13:42:49 +0000 (15:42 +0200)]
Further porting to Python3

5 years agoMerge branch 'abn/norm_max'
Anthony Geay [Mon, 27 Aug 2018 11:54:46 +0000 (13:54 +0200)]
Merge branch 'abn/norm_max'

5 years agoPorting Case tools to Python3
abn [Mon, 27 Aug 2018 11:33:24 +0000 (13:33 +0200)]
Porting Case tools to Python3

5 years ago1) Detect sphinx theme directly in conf.py.in file
rnv [Thu, 9 Aug 2018 16:40:02 +0000 (19:40 +0300)]
1) Detect sphinx theme directly in conf.py.in file
2) Migration to Sphinx-1.7.6: remove deprecated 'sphinx.ext.pngmath' extension

5 years agoAPI change: MEDCouplingFieldDouble::normMax is now aligned with normL1 and normL2 abn/norm_max
abn [Wed, 8 Aug 2018 15:04:49 +0000 (17:04 +0200)]
API change: MEDCouplingFieldDouble::normMax is now aligned with normL1 and normL2

5 years agoNew functionality: colinearizeKeepingConform2D().
abn [Mon, 6 Aug 2018 08:39:51 +0000 (10:39 +0200)]
New functionality: colinearizeKeepingConform2D().

5 years agoIntel17 portability.
abn [Thu, 2 Aug 2018 09:42:39 +0000 (11:42 +0200)]
Intel17 portability.

5 years agoFix failure of UsersGuideExamplesTest in MICROMED mode
eap [Thu, 26 Jul 2018 14:40:31 +0000 (17:40 +0300)]
Fix failure of UsersGuideExamplesTest in MICROMED mode

5 years agoAdditional check into MEDFileMesh.rearrangeFamilies thanks to Yutaka feedback
Anthony Geay [Mon, 23 Jul 2018 05:54:26 +0000 (07:54 +0200)]
Additional check into MEDFileMesh.rearrangeFamilies thanks to Yutaka feedback

5 years agoThank you to Yutaka Nishizawa for having report this bug (SALOME forum).
Anthony Geay [Fri, 20 Jul 2018 14:54:33 +0000 (16:54 +0200)]
Thank you to Yutaka Nishizawa for having report this bug (SALOME forum).

5 years agoA py3 translation of a forgotten test py file
Anthony Geay [Mon, 9 Jul 2018 07:34:40 +0000 (09:34 +0200)]
A py3 translation of a forgotten test py file

6 years agoMerge branch 'abn/seg_seg_intersec'
abn [Wed, 27 Jun 2018 12:07:41 +0000 (14:07 +0200)]
Merge branch 'abn/seg_seg_intersec'

6 years agoSegSegIntersector fix: fix eps comparison to detect seg/seg overlap
abn [Wed, 27 Jun 2018 12:03:14 +0000 (14:03 +0200)]
SegSegIntersector fix: fix eps comparison to detect seg/seg overlap

6 years agoGetting rid of QuadraticArcDetectionPrecision which is now merged with QuadraticPlana...
abn [Wed, 27 Jun 2018 09:25:47 +0000 (11:25 +0200)]
Getting rid of QuadraticArcDetectionPrecision which is now merged with QuadraticPlanarPrecision.

6 years agoSegSegIntersector areOverlappedOrOnlyColinears() and areColinears() now aligned.
abn [Wed, 27 Jun 2018 07:26:47 +0000 (09:26 +0200)]
SegSegIntersector areOverlappedOrOnlyColinears() and areColinears() now aligned.

getArcDetectionPrecision() is no more needed.

6 years agoTypo-fix by Kunda
eap [Mon, 25 Jun 2018 11:27:26 +0000 (14:27 +0300)]
Typo-fix by Kunda

http://www.salome-platform.org/forum/forum_9/625363577

6 years agoMerge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/medcoupling
abn [Wed, 20 Jun 2018 14:38:10 +0000 (16:38 +0200)]
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/medcoupling

6 years agoNew func: MEDCouplingUMesh::convertDegeneratedCellsAndRemoveFlatOnes
abn [Wed, 20 Jun 2018 14:34:25 +0000 (16:34 +0200)]
New func: MEDCouplingUMesh::convertDegeneratedCellsAndRemoveFlatOnes

- does the same as convertDegeneratedCells() but also remove cells which are exactly flat according to their connectivity
- also improved convertDegeneratedCells()

6 years agoC++11 for everybody ! youhouuuuu
Anthony Geay [Fri, 15 Jun 2018 13:23:58 +0000 (15:23 +0200)]
C++11 for everybody ! youhouuuuu

6 years agomedcoupling documentation modification agy/master_with_doc
eap [Tue, 15 May 2018 10:26:46 +0000 (13:26 +0300)]
medcoupling documentation modification

6 years agoArcCSegIntersector fix: more precise usage of machine epsilon.
abn [Thu, 7 Jun 2018 07:17:54 +0000 (09:17 +0200)]
ArcCSegIntersector fix: more precise usage of machine epsilon.

6 years agoMerge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/medcoupling
abn [Wed, 6 Jun 2018 15:18:13 +0000 (17:18 +0200)]
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/medcoupling

6 years agoArcCSegIntersector fix: tangent cases were not properly handled.
abn [Tue, 5 Jun 2018 15:07:31 +0000 (17:07 +0200)]
ArcCSegIntersector fix: tangent cases were not properly handled.

(also removed a duplicated test case)

6 years agoMerge branch 'V8_5_BR'
vsr [Thu, 31 May 2018 14:28:07 +0000 (17:28 +0300)]
Merge branch 'V8_5_BR'

6 years agoIncrement version: 8.5.0 V8_5_BR V8_5_0 V8_5_0rc1 V8_5_0rc2
vsr [Fri, 20 Apr 2018 06:30:59 +0000 (09:30 +0300)]
Increment version: 8.5.0

6 years agoMerge remote-tracking branch 'origin/abn/bug_fixes' into V8_5_BR
rnv [Thu, 19 Apr 2018 11:17:24 +0000 (14:17 +0300)]
Merge remote-tracking branch 'origin/abn/bug_fixes' into V8_5_BR

6 years agoClarification: 'Triangulation' intersection type is the only valid choice
abn [Thu, 12 Apr 2018 09:31:59 +0000 (11:31 +0200)]
Clarification: 'Triangulation' intersection type is the only valid choice
for non-unstruct/non-unstruct remapping.

6 years agoBug fix: SegSegIntersector::areColinears() was too tolerant.
abn [Thu, 12 Apr 2018 09:20:42 +0000 (11:20 +0200)]
Bug fix: SegSegIntersector::areColinears() was too tolerant.

(non homogeneous comparison of eps and quadratic term)

6 years agoBug fix: points located on the arc where wrongly detected by arc/arc intersector.
abn [Mon, 9 Apr 2018 15:12:30 +0000 (17:12 +0200)]
Bug fix: points located on the arc where wrongly detected by arc/arc intersector.

6 years agoBug fix: conformize3D() was not properly void returned array.
abn [Mon, 9 Apr 2018 14:19:29 +0000 (16:19 +0200)]
Bug fix: conformize3D() was not properly void returned array.

6 years agoBug fix: Intersect2DMeshWith1DLine now correctly handling closed lines ...
abn [Mon, 9 Apr 2018 14:16:16 +0000 (16:16 +0200)]
Bug fix: Intersect2DMeshWith1DLine now correctly handling closed lines ...

6 years agoBug fix in colinearize2D(): last seg not handled properly.
abn [Thu, 15 Mar 2018 14:07:34 +0000 (15:07 +0100)]
Bug fix in colinearize2D(): last seg not handled properly.

6 years agoBug correction for structure elt
Anthony Geay [Tue, 10 Apr 2018 08:17:15 +0000 (10:17 +0200)]
Bug correction for structure elt

6 years agoClarification: 'Triangulation' intersection type is the only valid choice abn/bug_fixes
abn [Thu, 12 Apr 2018 09:31:59 +0000 (11:31 +0200)]
Clarification: 'Triangulation' intersection type is the only valid choice
for non-unstruct/non-unstruct remapping.

6 years agoBug fix: SegSegIntersector::areColinears() was too tolerant.
abn [Thu, 12 Apr 2018 09:20:42 +0000 (11:20 +0200)]
Bug fix: SegSegIntersector::areColinears() was too tolerant.

(non homogeneous comparison of eps and quadratic term)

6 years agoBug correction for structure elt
Anthony Geay [Tue, 10 Apr 2018 08:17:15 +0000 (10:17 +0200)]
Bug correction for structure elt

6 years agoBug fix: points located on the arc where wrongly detected by arc/arc intersector.
abn [Mon, 9 Apr 2018 15:12:30 +0000 (17:12 +0200)]
Bug fix: points located on the arc where wrongly detected by arc/arc intersector.

6 years agoBug fix: conformize3D() was not properly void returned array.
abn [Mon, 9 Apr 2018 14:19:29 +0000 (16:19 +0200)]
Bug fix: conformize3D() was not properly void returned array.

6 years agoBug fix: Intersect2DMeshWith1DLine now correctly handling closed lines ...
abn [Mon, 9 Apr 2018 14:16:16 +0000 (16:16 +0200)]
Bug fix: Intersect2DMeshWith1DLine now correctly handling closed lines ...

6 years agoMEDCouplingRemapper::SetCrudeMatrix implementation V8_5_0a2 V8_5_0b1
Anthony Geay [Mon, 26 Mar 2018 13:23:26 +0000 (15:23 +0200)]
MEDCouplingRemapper::SetCrudeMatrix implementation

6 years agoSorry
Anthony Geay [Mon, 26 Mar 2018 07:22:14 +0000 (09:22 +0200)]
Sorry