Salome HOME
tools/medcoupling.git
4 years agoDeal with 2D/0D pointlocator into Remapper
Anthony Geay [Tue, 31 Dec 2019 09:28:23 +0000 (10:28 +0100)]
Deal with 2D/0D pointlocator into Remapper

4 years agoDeal with 3D/0D point locator intersection in Remapper + fix memory leak on getCrudeM...
Anthony Geay [Tue, 31 Dec 2019 09:16:34 +0000 (10:16 +0100)]
Deal with 3D/0D point locator intersection in Remapper + fix memory leak on getCrudeMatrix

4 years agoFix tests in the MICRO mode (part 3)
vsr [Fri, 20 Dec 2019 14:11:21 +0000 (17:11 +0300)]
Fix tests in the MICRO mode (part 3)

4 years agosizeof(med_int) accessor to ease checkup
Anthony Geay [Fri, 20 Dec 2019 10:14:08 +0000 (11:14 +0100)]
sizeof(med_int) accessor to ease checkup

4 years agoIndices are stored as mcIdType type instead of int to support switch to 64bits indexing
eap [Tue, 22 Oct 2019 06:08:38 +0000 (09:08 +0300)]
Indices are stored as mcIdType type instead of int to support switch to 64bits indexing

4 years agoFix tests in the MICRO mode (part 2)
vsr [Thu, 19 Dec 2019 14:09:11 +0000 (17:09 +0300)]
Fix tests in the MICRO mode (part 2)

4 years agoMerge branch 'V9_4_BR'
vsr [Fri, 6 Dec 2019 13:51:05 +0000 (16:51 +0300)]
Merge branch 'V9_4_BR'

4 years agoRemoving deprecated exception specifications
abn [Wed, 6 Nov 2019 14:18:13 +0000 (15:18 +0100)]
Removing deprecated exception specifications

4 years agoIncrement version: 9.4.0 V9_4_BR V9_4_0 V9_4_0rc1 V9_4_0rc2 V9_4_0rc3
rnv [Wed, 6 Nov 2019 06:54:39 +0000 (09:54 +0300)]
Increment version: 9.4.0

4 years agoThanks to Kanglong agy/doc_fix_0
Anthony Geay [Tue, 29 Oct 2019 15:41:27 +0000 (16:41 +0100)]
Thanks to Kanglong

4 years agoAddition of MEDFileMesh.zipFamilies
Anthony Geay [Fri, 18 Oct 2019 12:18:29 +0000 (14:18 +0200)]
Addition of MEDFileMesh.zipFamilies

4 years agoMerge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/medcoupling V9_4_0b1
Anthony Geay [Tue, 15 Oct 2019 07:09:46 +0000 (09:09 +0200)]
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/medcoupling

4 years agoLabels management of splitter
Anthony Geay [Tue, 15 Oct 2019 07:09:18 +0000 (09:09 +0200)]
Labels management of splitter

4 years agofix MEDFileUMesh::Aggregate(): groups with the same name were not handled properly. V9_4_0a1 V9_4_0a2
abn [Tue, 10 Sep 2019 14:56:29 +0000 (16:56 +0200)]
fix MEDFileUMesh::Aggregate(): groups with the same name were not handled properly.

4 years agoPortability GCC9 (spotted on Fedora 30)
abn [Mon, 2 Sep 2019 09:49:16 +0000 (11:49 +0200)]
Portability GCC9 (spotted on Fedora 30)

4 years agoMEDCouplingFieldTemplate is pickable + fix of memory leak in python wrapping linked...
Anthony Geay [Fri, 30 Aug 2019 08:54:17 +0000 (10:54 +0200)]
MEDCouplingFieldTemplate is pickable + fix of memory leak in python wrapping linked to pickelization of arrays

4 years agoMerge branch 'abn/aggreg'
Anthony Geay [Mon, 26 Aug 2019 12:58:58 +0000 (14:58 +0200)]
Merge branch 'abn/aggreg'

4 years agoFix due to last commit
Anthony Geay [Mon, 26 Aug 2019 11:28:44 +0000 (13:28 +0200)]
Fix due to last commit

4 years agoFix runtime warning about unclosed file descriptors vsr/close_file_descriptors
vsr [Fri, 23 Aug 2019 11:16:33 +0000 (14:16 +0300)]
Fix runtime warning about unclosed file descriptors

4 years agoBug fix: MEDFileUMesh::Aggregate was incorrectly merging groups abn/aggreg
abn [Wed, 21 Aug 2019 11:48:12 +0000 (13:48 +0200)]
Bug fix: MEDFileUMesh::Aggregate was incorrectly merging groups

+ family number conflicts were not handled properly.

4 years agoIndentation and white spaces ...
abn [Wed, 21 Aug 2019 11:41:06 +0000 (13:41 +0200)]
Indentation and white spaces ...

4 years ago[EDF19849] : more permissive MEDCouplingUMesh::computePlaneEquationOf3DFaces
Anthony Geay [Thu, 25 Jul 2019 14:56:31 +0000 (16:56 +0200)]
[EDF19849] : more permissive MEDCouplingUMesh::computePlaneEquationOf3DFaces

4 years ago[EDF19821] : 2 last vicious cases
Anthony Geay [Fri, 19 Jul 2019 07:26:42 +0000 (09:26 +0200)]
[EDF19821] : 2 last vicious cases

4 years ago[EDF19821] : Temp files for tests are no more created into the current directory...
Anthony Geay [Wed, 17 Jul 2019 15:00:37 +0000 (17:00 +0200)]
[EDF19821] : Temp files for tests are no more created into the current directory in the salome test context

4 years agoMerge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/medcoupling
Anthony Geay [Wed, 17 Jul 2019 08:49:07 +0000 (10:49 +0200)]
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/medcoupling

4 years agoTo more link pywrappers to libpythonX.Y.so for Linux platform agy/for_pip_install_tianyi
Anthony Geay [Wed, 17 Jul 2019 08:47:03 +0000 (10:47 +0200)]
To more link pywrappers to libpythonX.Y.so for Linux platform

4 years agoPython3.7 : PyUnicode_AsUTF8AndSize returns const char *
Anthony Geay [Wed, 17 Jul 2019 08:16:20 +0000 (10:16 +0200)]
Python3.7 : PyUnicode_AsUTF8AndSize returns const char *

4 years agorefs #17181: EDF - broken link in MEDCoupling doc
vsr [Wed, 10 Jul 2019 12:09:19 +0000 (15:09 +0300)]
refs #17181: EDF - broken link in MEDCoupling doc

5 years agoBug detected by Clang.
abn [Thu, 13 Jun 2019 10:25:39 +0000 (12:25 +0200)]
Bug detected by Clang.

5 years agoMerge branch 'V9_3_BR'
vsr [Mon, 6 May 2019 11:04:28 +0000 (14:04 +0300)]
Merge branch 'V9_3_BR'

5 years agoCaseReader: minor bug fix in reg exp ...
abn [Thu, 2 May 2019 09:20:00 +0000 (11:20 +0200)]
CaseReader: minor bug fix in reg exp ...

5 years agoSome helpers to convert VTK files to medcoupling mesh object in memory
Anthony Geay [Wed, 17 Apr 2019 14:53:57 +0000 (16:53 +0200)]
Some helpers to convert VTK files to medcoupling mesh object in memory

5 years agoIncrement version: 9.3.0 V9_3_BR V9_3_0 V9_3_0b2 V9_3_0rc1 V9_3_0rc2
vsr [Thu, 28 Mar 2019 07:00:51 +0000 (10:00 +0300)]
Increment version: 9.3.0

5 years agoBetter management of profiles
Anthony Geay [Wed, 27 Mar 2019 07:11:15 +0000 (08:11 +0100)]
Better management of profiles

5 years agoAttempt of Management of profiles in spliter
Anthony Geay [Fri, 22 Mar 2019 15:31:10 +0000 (16:31 +0100)]
Attempt of Management of profiles in spliter

5 years agoIntegration of [CEA 13233] support new xdr.h location
rnv [Tue, 19 Mar 2019 08:18:52 +0000 (11:18 +0300)]
Integration of [CEA 13233] support new xdr.h location

5 years agoCompilation under Windows. rnv/win_test_sauv_loader V9_3_0b1
rnv [Wed, 13 Mar 2019 13:12:22 +0000 (16:12 +0300)]
Compilation under Windows.

5 years agoFix compilation on Windows
rnv [Thu, 7 Mar 2019 10:45:22 +0000 (13:45 +0300)]
Fix compilation on Windows

5 years agoIntersect2DMeshes bug fix: mishandling of orientation in reconstruction. V9_3_0a2
abn [Wed, 6 Mar 2019 14:00:44 +0000 (15:00 +0100)]
Intersect2DMeshes bug fix: mishandling of orientation in reconstruction.

5 years agoMerge branch 'V9_2_2_BR'
vsr [Tue, 5 Mar 2019 06:34:31 +0000 (09:34 +0300)]
Merge branch 'V9_2_2_BR'

5 years agoIntersect2DMeshWith1DLine: more doc.
abn [Mon, 4 Mar 2019 12:45:42 +0000 (13:45 +0100)]
Intersect2DMeshWith1DLine: more doc.

5 years agoIntersect2DMeshWith1DLine bug fix: when a cell was cut more than 3 times.
abn [Mon, 4 Mar 2019 12:37:15 +0000 (13:37 +0100)]
Intersect2DMeshWith1DLine bug fix: when a cell was cut more than 3 times.

5 years agoWindows porting. Thanks to Roman.
Anthony Geay [Tue, 26 Feb 2019 06:29:27 +0000 (07:29 +0100)]
Windows porting. Thanks to Roman.

5 years agoIncrement version: 9.2.2 V9_2_2_BR vsr/v9_2_2_br V9_2_2
vsr [Mon, 25 Feb 2019 12:59:31 +0000 (15:59 +0300)]
Increment version: 9.2.2

5 years agoBuild MEDCOUPLING with numpy on Windows.
rnv [Wed, 20 Feb 2019 12:40:10 +0000 (15:40 +0300)]
Build MEDCOUPLING with numpy on Windows.

5 years agoIndexed arrays functions are now part of DataArrayInt but MEDCoupingUMesh Python... V9_3_0a1
abn [Mon, 18 Feb 2019 12:30:32 +0000 (13:30 +0100)]
Indexed arrays functions are now part of DataArrayInt but MEDCoupingUMesh Python interface still has them.

5 years agoNew functionality: computeCellCenterOfMassWithPrecision()
abn [Mon, 18 Feb 2019 09:47:50 +0000 (10:47 +0100)]
New functionality: computeCellCenterOfMassWithPrecision()

Same job as computeCellCenterOfMass, but sets quadratic precision
so that tolerance on arc of circle detection can be finely controlled.

5 years agoSWIG: Full clean up of "throw" specifications.
abn [Wed, 20 Feb 2019 14:19:36 +0000 (15:19 +0100)]
SWIG: Full clean up of "throw" specifications.

5 years agoSWIG exception: removing C++11 warnings, minimal work.
abn [Tue, 19 Feb 2019 12:41:05 +0000 (13:41 +0100)]
SWIG exception: removing C++11 warnings, minimal work.

+ removing C++11 warning about deprecated "auto_ptr"

5 years agoMEDCoupling becomes medcoupling in tests.
abn [Mon, 18 Feb 2019 12:34:31 +0000 (13:34 +0100)]
MEDCoupling becomes medcoupling in tests.

5 years agoRemapper: PointLocator method does not make sense for srcMeshDim=2, trgtMeshDim=3...
abn [Mon, 18 Feb 2019 10:29:55 +0000 (11:29 +0100)]
Remapper: PointLocator method does not make sense for srcMeshDim=2, trgtMeshDim=3, spaceDim=3

5 years agoIntersector: Earlier detection of merged nodes.
abn [Fri, 15 Feb 2019 13:08:51 +0000 (14:08 +0100)]
Intersector: Earlier detection of merged nodes.

Use a BBTreePoints to detect merged nodes.
Allows to more efficiently use identifyEarlyIntersection()
and avoid degenerated situations again.

5 years agoSWIG bug fix: DataArrayDouble::setValues()
abn [Wed, 20 Feb 2019 09:32:05 +0000 (10:32 +0100)]
SWIG bug fix: DataArrayDouble::setValues()

5 years agoUpdate copyrights
vsr [Thu, 14 Feb 2019 08:37:05 +0000 (11:37 +0300)]
Update copyrights

5 years agoIncrement version: 9.2.1 V9_2_1_BR V9_2_1
vsr [Fri, 8 Feb 2019 11:29:46 +0000 (14:29 +0300)]
Increment version: 9.2.1

5 years agoBug correction : Multi WriteField on field lying on mesh with duplicate nodes
Anthony Geay [Tue, 5 Feb 2019 07:38:23 +0000 (08:38 +0100)]
Bug correction : Multi WriteField on field lying on mesh with duplicate nodes

5 years agoint64 : update attributes
Anthony Geay [Fri, 1 Feb 2019 13:44:31 +0000 (14:44 +0100)]
int64 : update attributes

5 years agoPrepare int64 management
Anthony Geay [Fri, 1 Feb 2019 12:19:47 +0000 (13:19 +0100)]
Prepare int64 management

5 years agoPrepare int64 management
Anthony Geay [Fri, 1 Feb 2019 09:17:18 +0000 (10:17 +0100)]
Prepare int64 management

5 years agoPrepare int64 management - example 4
Anthony Geay [Fri, 1 Feb 2019 06:50:18 +0000 (07:50 +0100)]
Prepare int64 management - example 4

5 years agoPrepare int64 management - example 3
Anthony Geay [Thu, 31 Jan 2019 14:15:56 +0000 (15:15 +0100)]
Prepare int64 management - example 3

5 years agoPrepare int64 management - example 2
Anthony Geay [Thu, 31 Jan 2019 13:43:46 +0000 (14:43 +0100)]
Prepare int64 management - example 2

5 years agoPrepare int64 management - example 1
Anthony Geay [Thu, 31 Jan 2019 13:22:40 +0000 (14:22 +0100)]
Prepare int64 management - example 1

5 years agoPrepare int64 management
Anthony Geay [Thu, 31 Jan 2019 13:10:35 +0000 (14:10 +0100)]
Prepare int64 management

5 years agoFix tests in the MICRO mode.
rnv [Mon, 21 Jan 2019 09:48:25 +0000 (12:48 +0300)]
Fix tests in the MICRO mode.

5 years agoIntersector: optim for SegSeg and ArcCSeg when an extremity is shared.
abn [Thu, 17 Jan 2019 16:40:49 +0000 (17:40 +0100)]
Intersector: optim for SegSeg and ArcCSeg when an extremity is shared.

5 years agoSome cleanup : removing unused param
abn [Thu, 17 Jan 2019 16:13:42 +0000 (17:13 +0100)]
Some cleanup : removing unused param

5 years agoBug fix: BuildIntersectCells() should no try to merge points at all. Done before.
abn [Thu, 17 Jan 2019 12:47:03 +0000 (13:47 +0100)]
Bug fix: BuildIntersectCells() should no try to merge points at all. Done before.

5 years agosplitAbs(): Taking direction into account when skiping start/end nodes
abn [Thu, 17 Jan 2019 10:55:19 +0000 (11:55 +0100)]
splitAbs(): Taking direction into account when skiping start/end nodes

5 years agoorientCorreclty2DCells() -> bug fix: quadratic cell orientation not well handled.
abn [Wed, 16 Jan 2019 15:12:00 +0000 (16:12 +0100)]
orientCorreclty2DCells() -> bug fix: quadratic cell orientation not well handled.

5 years agorestoring intersect test Tmp10 with a little fix to help on non-conform mesh
abn [Wed, 16 Jan 2019 14:09:33 +0000 (15:09 +0100)]
restoring intersect test Tmp10 with a little fix to help on non-conform mesh

5 years agoMerge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/medcoupling
abn [Tue, 15 Jan 2019 16:25:30 +0000 (17:25 +0100)]
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/medcoupling

5 years agoRewrote eraseCurrent() in a more efficient way + disabling one test not stable enough...
abn [Tue, 15 Jan 2019 13:09:52 +0000 (14:09 +0100)]
Rewrote eraseCurrent() in a more efficient way + disabling one test not stable enough yet.

5 years agoBug correction into MEDCouplingUMesh::getMeasureFieldOnNode on non simplex cells...
Anthony Geay [Tue, 15 Jan 2019 08:48:28 +0000 (09:48 +0100)]
Bug correction into MEDCouplingUMesh::getMeasureFieldOnNode on non simplex cells. Consequence : FieldDouble::integral on P1 field may change in case of non simplex use.

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 !