From 1a4fa437b4f33832bc467feacb4a08e4eb09dc31 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Aguerre?= Date: Tue, 13 Oct 2015 17:47:17 +0200 Subject: [PATCH] Initiating medtool --- src/medtool/CMakeLists.txt | 359 ++++++++++++++++++ src/medtool/MEDtool_version.h.in | 44 +++ src/medtool/cmake_files/FindCppUnit.cmake | 95 +++++ src/medtool/cmake_files/FindGraphviz.cmake | 71 ++++ src/medtool/cmake_files/FindMEDFile.cmake | 54 +++ src/medtool/cmake_files/FindMetis.cmake | 50 +++ src/medtool/cmake_files/FindScotch.cmake | 35 ++ src/medtool/cmake_files/FindSphinx.cmake | 43 +++ src/medtool/cmake_files/FindXDR.cmake | 38 ++ src/medtool/cmake_files/MEDtoolMacros.cmake | 60 +++ src/medtool/resources/CMakeLists.txt | 235 ++++++++++++ .../medtool/resources}/LargeUnitTetra.med | Bin {resources => src/medtool/resources}/Pol1.fig | 0 {resources => src/medtool/resources}/Pol2.fig | 0 {resources => src/medtool/resources}/Pol3.fig | 0 {resources => src/medtool/resources}/Pol4.fig | 0 .../medtool/resources}/Test2D.med | Bin .../medtool/resources}/Test2Dpoly.med | Bin .../medtool/resources}/Test3D.med | Bin .../medtool/resources}/Test3Dpoly.med | Bin .../medtool/resources}/agitateur.med | Bin .../medtool/resources}/pointe.med | Bin .../medtool/resources}/square1.med | Bin .../medtool/resources}/square2.med | Bin src/medtool/src/CMakeLists.txt | 68 ++++ .../src}/CTestTestfileInstall.cmake | 0 .../CTestTestfileInstallMEDCoupling.cmake | 18 +- .../src}/INTERP_KERNEL/BBTree.txx | 0 .../src}/INTERP_KERNEL/BBTreeDst.txx | 0 .../src}/INTERP_KERNEL/BBTreePts.txx | 0 .../Barycentric3DIntersectorP1P1.hxx | 0 .../Barycentric3DIntersectorP1P1.txx | 0 .../Bases/InterpKernelAutoPtr.hxx | 0 .../Bases/InterpKernelException.cxx | 0 .../Bases/InterpKernelException.hxx | 0 .../Bases/InterpKernelHashFun.hxx | 0 .../Bases/InterpKernelHashMap.hxx | 0 .../Bases/InterpKernelHashTable.hxx | 0 .../Bases/InterpKernelStlExt.hxx | 0 .../Bases/NormalizedGeometricTypes | 0 .../Bases/NormalizedUnstructuredMesh.hxx | 0 .../src}/INTERP_KERNEL/BoundingBox.cxx | 0 .../src}/INTERP_KERNEL/BoundingBox.hxx | 0 .../INTERP_KERNEL/BoxSplittingOptions.cxx | 0 .../INTERP_KERNEL/BoxSplittingOptions.hxx | 0 .../src}/INTERP_KERNEL/CMakeLists.txt | 4 +- .../src}/INTERP_KERNEL/CellModel.cxx | 0 .../src}/INTERP_KERNEL/CellModel.hxx | 0 .../src}/INTERP_KERNEL/ConvexIntersector.hxx | 0 .../src}/INTERP_KERNEL/ConvexIntersector.txx | 0 .../src}/INTERP_KERNEL/CurveIntersector.hxx | 0 .../src}/INTERP_KERNEL/CurveIntersector.txx | 0 .../INTERP_KERNEL/CurveIntersectorP0P0.hxx | 0 .../INTERP_KERNEL/CurveIntersectorP0P0.txx | 0 .../INTERP_KERNEL/CurveIntersectorP0P1.hxx | 0 .../INTERP_KERNEL/CurveIntersectorP0P1.txx | 0 .../INTERP_KERNEL/CurveIntersectorP1P0.hxx | 0 .../INTERP_KERNEL/CurveIntersectorP1P0.txx | 0 .../INTERP_KERNEL/CurveIntersectorP1P1.hxx | 0 .../INTERP_KERNEL/CurveIntersectorP1P1.txx | 0 .../INTERP_KERNEL/CurveIntersectorP1P1PL.hxx | 0 .../INTERP_KERNEL/CurveIntersectorP1P1PL.txx | 0 .../src}/INTERP_KERNEL/DiameterCalculator.cxx | 0 .../src}/INTERP_KERNEL/DiameterCalculator.hxx | 0 .../INTERP_KERNEL/DirectedBoundingBox.cxx | 0 .../INTERP_KERNEL/DirectedBoundingBox.hxx | 0 .../ExprEval/InterpKernelAsmX86.cxx | 0 .../ExprEval/InterpKernelAsmX86.hxx | 0 .../ExprEval/InterpKernelExprParser.cxx | 0 .../ExprEval/InterpKernelExprParser.hxx | 0 .../ExprEval/InterpKernelFunction.cxx | 0 .../ExprEval/InterpKernelFunction.hxx | 0 .../ExprEval/InterpKernelUnit.cxx | 0 .../ExprEval/InterpKernelUnit.hxx | 0 .../ExprEval/InterpKernelValue.cxx | 0 .../ExprEval/InterpKernelValue.hxx | 0 .../GaussPoints/InterpKernelGaussCoords.cxx | 0 .../GaussPoints/InterpKernelGaussCoords.hxx | 0 .../src}/INTERP_KERNEL/GenMathFormulae.hxx | 0 .../InterpKernelGeo2DAbstractEdge.cxx | 0 .../InterpKernelGeo2DAbstractEdge.hxx | 0 .../Geometric2D/InterpKernelGeo2DBounds.cxx | 0 .../Geometric2D/InterpKernelGeo2DBounds.hxx | 0 .../InterpKernelGeo2DComposedEdge.cxx | 0 .../InterpKernelGeo2DComposedEdge.hxx | 0 .../Geometric2D/InterpKernelGeo2DEdge.cxx | 0 .../Geometric2D/InterpKernelGeo2DEdge.hxx | 0 .../Geometric2D/InterpKernelGeo2DEdge.txx | 0 .../InterpKernelGeo2DEdgeArcCircle.cxx | 0 .../InterpKernelGeo2DEdgeArcCircle.hxx | 0 .../InterpKernelGeo2DEdgeInfLin.cxx | 0 .../InterpKernelGeo2DEdgeInfLin.hxx | 0 .../Geometric2D/InterpKernelGeo2DEdgeLin.cxx | 0 .../Geometric2D/InterpKernelGeo2DEdgeLin.hxx | 0 .../InterpKernelGeo2DElementaryEdge.cxx | 0 .../InterpKernelGeo2DElementaryEdge.hxx | 0 .../Geometric2D/InterpKernelGeo2DNode.cxx | 0 .../Geometric2D/InterpKernelGeo2DNode.hxx | 0 .../InterpKernelGeo2DPrecision.cxx | 0 .../InterpKernelGeo2DPrecision.hxx | 0 .../InterpKernelGeo2DQuadraticPolygon.cxx | 0 .../InterpKernelGeo2DQuadraticPolygon.hxx | 0 .../INTERP_KERNEL/Geometric2DIntersector.hxx | 0 .../INTERP_KERNEL/Geometric2DIntersector.txx | 0 .../INTERP_KERNEL/INTERPKERNELDefines.hxx | 0 .../IntegralUniformIntersector.hxx | 0 .../IntegralUniformIntersector.txx | 0 .../InterpKernelCellSimplify.cxx | 0 .../InterpKernelCellSimplify.hxx | 0 .../src}/INTERP_KERNEL/InterpKernelMatrix.hxx | 0 .../INTERP_KERNEL/InterpKernelMatrixTools.cxx | 0 .../INTERP_KERNEL/InterpKernelMatrixTools.hxx | 0 .../INTERP_KERNEL/InterpKernelMeshQuality.cxx | 0 .../INTERP_KERNEL/InterpKernelMeshQuality.hxx | 0 .../INTERP_KERNEL/InterpKernelUtilities.hxx | 0 .../src}/INTERP_KERNEL/Interpolation.hxx | 0 .../src}/INTERP_KERNEL/Interpolation.txx | 0 .../src}/INTERP_KERNEL/Interpolation1D.hxx | 0 .../src}/INTERP_KERNEL/Interpolation1D.txx | 0 .../src}/INTERP_KERNEL/Interpolation2D.hxx | 0 .../src}/INTERP_KERNEL/Interpolation2D.txx | 0 .../src}/INTERP_KERNEL/Interpolation2D1D.hxx | 0 .../src}/INTERP_KERNEL/Interpolation2D1D.txx | 0 .../INTERP_KERNEL/Interpolation2DCurve.cxx | 0 .../INTERP_KERNEL/Interpolation2DCurve.hxx | 0 .../src}/INTERP_KERNEL/Interpolation3D.cxx | 0 .../src}/INTERP_KERNEL/Interpolation3D.hxx | 0 .../src}/INTERP_KERNEL/Interpolation3D.txx | 0 .../src}/INTERP_KERNEL/Interpolation3D2D.cxx | 0 .../src}/INTERP_KERNEL/Interpolation3D2D.hxx | 0 .../src}/INTERP_KERNEL/Interpolation3D2D.txx | 0 .../INTERP_KERNEL/Interpolation3DSurf.cxx | 0 .../INTERP_KERNEL/Interpolation3DSurf.hxx | 0 .../src}/INTERP_KERNEL/InterpolationCC.hxx | 0 .../src}/INTERP_KERNEL/InterpolationCC.txx | 0 .../src}/INTERP_KERNEL/InterpolationCU.hxx | 0 .../src}/INTERP_KERNEL/InterpolationCU.txx | 0 .../src}/INTERP_KERNEL/InterpolationCurve.hxx | 0 .../src}/INTERP_KERNEL/InterpolationCurve.txx | 0 .../INTERP_KERNEL/InterpolationOptions.cxx | 0 .../INTERP_KERNEL/InterpolationOptions.hxx | 0 .../INTERP_KERNEL/InterpolationPlanar.hxx | 0 .../INTERP_KERNEL/InterpolationPlanar.txx | 0 .../src}/INTERP_KERNEL/InterpolationUtils.hxx | 0 .../src}/INTERP_KERNEL/Intersector3D.hxx | 0 .../src}/INTERP_KERNEL/Intersector3D.txx | 0 .../src}/INTERP_KERNEL/Intersector3DP0P0.hxx | 0 .../src}/INTERP_KERNEL/Intersector3DP0P0.txx | 0 .../src}/INTERP_KERNEL/Intersector3DP0P1.hxx | 0 .../src}/INTERP_KERNEL/Intersector3DP0P1.txx | 0 .../src}/INTERP_KERNEL/Intersector3DP1P0.hxx | 0 .../src}/INTERP_KERNEL/Intersector3DP1P0.txx | 0 .../INTERP_KERNEL/Intersector3DP1P0Bary.hxx | 0 .../INTERP_KERNEL/Intersector3DP1P0Bary.txx | 0 .../src}/INTERP_KERNEL/Intersector3DP1P1.hxx | 0 .../src}/INTERP_KERNEL/Intersector3DP1P1.txx | 0 .../src}/INTERP_KERNEL/IntersectorCU.hxx | 0 .../src}/INTERP_KERNEL/IntersectorCU.txx | 0 .../src}/INTERP_KERNEL/IntersectorCU1D.hxx | 0 .../src}/INTERP_KERNEL/IntersectorCU1D.txx | 0 .../src}/INTERP_KERNEL/IntersectorCU2D.hxx | 0 .../src}/INTERP_KERNEL/IntersectorCU2D.txx | 0 .../src}/INTERP_KERNEL/IntersectorCU3D.hxx | 0 .../src}/INTERP_KERNEL/IntersectorCU3D.txx | 0 src/{ => medtool/src}/INTERP_KERNEL/Log.hxx | 0 .../src}/INTERP_KERNEL/MeshElement.cxx | 0 .../src}/INTERP_KERNEL/MeshElement.hxx | 0 .../src}/INTERP_KERNEL/MeshElement.txx | 0 .../src}/INTERP_KERNEL/MeshRegion.hxx | 0 .../src}/INTERP_KERNEL/MeshRegion.txx | 0 .../src}/INTERP_KERNEL/MeshUtils.hxx | 0 .../Planar2D1DIntersectorP0P0.hxx | 0 .../Planar2D1DIntersectorP0P0.txx | 0 .../src}/INTERP_KERNEL/PlanarIntersector.hxx | 0 .../src}/INTERP_KERNEL/PlanarIntersector.txx | 0 .../INTERP_KERNEL/PlanarIntersectorP0P0.hxx | 0 .../INTERP_KERNEL/PlanarIntersectorP0P0.txx | 0 .../INTERP_KERNEL/PlanarIntersectorP0P1.hxx | 0 .../INTERP_KERNEL/PlanarIntersectorP0P1.txx | 0 .../PlanarIntersectorP0P1Bary.hxx | 0 .../PlanarIntersectorP0P1Bary.txx | 0 .../INTERP_KERNEL/PlanarIntersectorP0P1PL.hxx | 0 .../INTERP_KERNEL/PlanarIntersectorP0P1PL.txx | 0 .../INTERP_KERNEL/PlanarIntersectorP1P0.hxx | 0 .../INTERP_KERNEL/PlanarIntersectorP1P0.txx | 0 .../PlanarIntersectorP1P0Bary.hxx | 0 .../PlanarIntersectorP1P0Bary.txx | 0 .../INTERP_KERNEL/PlanarIntersectorP1P0PL.hxx | 0 .../INTERP_KERNEL/PlanarIntersectorP1P0PL.txx | 0 .../INTERP_KERNEL/PlanarIntersectorP1P1.hxx | 0 .../INTERP_KERNEL/PlanarIntersectorP1P1.txx | 0 .../INTERP_KERNEL/PlanarIntersectorP1P1PL.hxx | 0 .../INTERP_KERNEL/PlanarIntersectorP1P1PL.txx | 0 .../PointLocator2DIntersector.hxx | 0 .../PointLocator2DIntersector.txx | 0 .../PointLocator3DIntersectorP0P0.hxx | 0 .../PointLocator3DIntersectorP0P0.txx | 0 .../PointLocator3DIntersectorP0P1.hxx | 0 .../PointLocator3DIntersectorP0P1.txx | 0 .../PointLocator3DIntersectorP1P0.hxx | 0 .../PointLocator3DIntersectorP1P0.txx | 0 .../PointLocator3DIntersectorP1P1.hxx | 0 .../PointLocator3DIntersectorP1P1.txx | 0 .../src}/INTERP_KERNEL/PointLocatorAlgos.txx | 0 .../src}/INTERP_KERNEL/PolygonAlgorithms.hxx | 0 .../src}/INTERP_KERNEL/PolygonAlgorithms.txx | 0 .../Polyhedron3D2DIntersectorP0P0.hxx | 0 .../Polyhedron3D2DIntersectorP0P0.txx | 0 .../PolyhedronIntersectorP0P0.hxx | 0 .../PolyhedronIntersectorP0P0.txx | 0 .../PolyhedronIntersectorP0P1.hxx | 0 .../PolyhedronIntersectorP0P1.txx | 0 .../PolyhedronIntersectorP1P0.hxx | 0 .../PolyhedronIntersectorP1P0.txx | 0 .../PolyhedronIntersectorP1P0Bary.hxx | 0 .../PolyhedronIntersectorP1P0Bary.txx | 0 .../PolyhedronIntersectorP1P1.hxx | 0 .../PolyhedronIntersectorP1P1.txx | 0 .../src}/INTERP_KERNEL/RegionNode.hxx | 0 .../src}/INTERP_KERNEL/SplitterTetra.cxx | 0 .../src}/INTERP_KERNEL/SplitterTetra.hxx | 0 .../src}/INTERP_KERNEL/SplitterTetra.txx | 0 .../src}/INTERP_KERNEL/TargetIntersector.hxx | 0 .../INTERP_KERNEL/TetraAffineTransform.cxx | 0 .../INTERP_KERNEL/TetraAffineTransform.hxx | 0 .../INTERP_KERNEL/TransformedTriangle.cxx | 0 .../INTERP_KERNEL/TransformedTriangle.hxx | 0 .../TransformedTriangleInline.hxx | 0 .../TransformedTriangleIntersect.cxx | 0 .../INTERP_KERNEL/TransformedTriangleMath.cxx | 0 .../TranslationRotationMatrix.cxx | 0 .../TranslationRotationMatrix.hxx | 0 .../TriangulationIntersector.hxx | 0 .../TriangulationIntersector.txx | 0 .../UnitTetraIntersectionBary.cxx | 0 .../UnitTetraIntersectionBary.hxx | 0 .../VTKNormalizedUnstructuredMesh.hxx | 0 .../VTKNormalizedUnstructuredMesh.txx | 0 .../src}/INTERP_KERNEL/VectorUtils.hxx | 0 .../src}/INTERP_KERNEL/VolSurfFormulae.hxx | 0 .../src}/INTERP_KERNEL/VolSurfUser.cxx | 0 .../src}/INTERP_KERNEL/VolSurfUser.hxx | 0 .../src}/INTERP_KERNEL/VolSurfUser.txx | 0 .../src}/INTERP_KERNELTest/BBTreeTest.cxx | 0 .../src}/INTERP_KERNELTest/BBTreeTest.hxx | 0 .../src}/INTERP_KERNELTest/BasicMainTest.hxx | 0 .../src}/INTERP_KERNELTest/CMakeLists.txt | 17 +- .../CTestTestfileInstall.cmake | 0 .../src}/INTERP_KERNELTest/CppUnitTest.cxx | 0 .../src}/INTERP_KERNELTest/CppUnitTest.hxx | 0 .../INTERP_KERNELTest/ExprEvalInterpTest.cxx | 0 .../INTERP_KERNELTest/ExprEvalInterpTest.hxx | 0 .../src}/INTERP_KERNELTest/HexaTests.hxx | 0 .../InterpKernelTestExport.hxx | 0 .../INTERP_KERNELTest/Interpolation3DTest.cxx | 0 .../INTERP_KERNELTest/Interpolation3DTest.hxx | 0 .../InterpolationOptionsTest.cxx | 0 .../InterpolationOptionsTest.hxx | 0 .../InterpolationPlanarTestSuite.hxx | 0 .../InterpolationTestSuite.hxx | 0 .../src}/INTERP_KERNELTest/MEDMeshMaker.cxx | 0 .../src}/INTERP_KERNELTest/MEDMeshMaker.hxx | 0 .../INTERP_KERNELTest/MeshTestToolkit.hxx | 0 .../INTERP_KERNELTest/MeshTestToolkit.txx | 0 .../INTERP_KERNELTest/MultiElement2DTests.hxx | 0 .../MultiElement3DSurfTests.hxx | 0 .../MultiElementTetraTests.hxx | 0 .../src}/INTERP_KERNELTest/PerfTest.cxx | 0 .../QuadraticPlanarInterpTest.cxx | 0 .../QuadraticPlanarInterpTest.hxx | 0 .../QuadraticPlanarInterpTest2.cxx | 0 .../QuadraticPlanarInterpTest3.cxx | 0 .../QuadraticPlanarInterpTest4.cxx | 0 .../QuadraticPlanarInterpTest5.cxx | 0 .../SingleElementPlanarTests.cxx | 0 .../SingleElementPlanarTests.hxx | 0 .../SingleElementTetraTests.hxx | 0 .../INTERP_KERNELTest/TestInterpKernel.cxx | 0 .../TestInterpKernelUtils.cxx | 0 .../TestInterpKernelUtils.hxx | 0 .../ThreeDSurfProjectionTest.cxx | 0 .../ThreeDSurfProjectionTest.hxx | 0 .../TransformedTriangleIntersectTest.cxx | 0 .../TransformedTriangleIntersectTest.hxx | 0 .../TransformedTriangleTest.cxx | 0 .../TransformedTriangleTest.hxx | 0 .../UnitTetra3D2DIntersectionTest.cxx | 0 .../UnitTetra3D2DIntersectionTest.hxx | 0 .../UnitTetraIntersectionBaryTest.cxx | 0 .../UnitTetraIntersectionBaryTest.hxx | 0 .../src}/INTERP_KERNELTest/perf_test.py | 0 .../src}/INTERP_KERNELTest/perf_test.sh | 0 .../src}/MEDCoupling/CMakeLists.txt | 6 +- .../src}/MEDCoupling/MEDCoupling.hxx | 0 .../src}/MEDCoupling/MEDCoupling1GTUMesh.cxx | 0 .../src}/MEDCoupling/MEDCoupling1GTUMesh.hxx | 0 .../MEDCoupling/MEDCouplingAMRAttribute.cxx | 0 .../MEDCoupling/MEDCouplingAMRAttribute.hxx | 0 .../MEDCouplingAutoRefCountObjectPtr.hxx | 0 .../src}/MEDCoupling/MEDCouplingCMesh.cxx | 0 .../src}/MEDCoupling/MEDCouplingCMesh.hxx | 0 .../MEDCouplingCartesianAMRMesh.cxx | 0 .../MEDCouplingCartesianAMRMesh.hxx | 0 .../MEDCouplingCurveLinearMesh.cxx | 0 .../MEDCouplingCurveLinearMesh.hxx | 0 .../MEDCoupling/MEDCouplingDefinitionTime.cxx | 0 .../MEDCoupling/MEDCouplingDefinitionTime.hxx | 0 .../MEDCoupling/MEDCouplingExtrudedMesh.cxx | 0 .../MEDCoupling/MEDCouplingExtrudedMesh.hxx | 0 .../src}/MEDCoupling/MEDCouplingField.cxx | 0 .../src}/MEDCoupling/MEDCouplingField.hxx | 0 .../MEDCouplingFieldDiscretization.cxx | 0 .../MEDCouplingFieldDiscretization.hxx | 0 .../MEDCoupling/MEDCouplingFieldDouble.cxx | 0 .../MEDCoupling/MEDCouplingFieldDouble.hxx | 0 .../MEDCoupling/MEDCouplingFieldOverTime.cxx | 0 .../MEDCoupling/MEDCouplingFieldOverTime.hxx | 0 .../MEDCoupling/MEDCouplingFieldTemplate.cxx | 0 .../MEDCoupling/MEDCouplingFieldTemplate.hxx | 0 .../MEDCouplingGaussLocalization.cxx | 0 .../MEDCouplingGaussLocalization.hxx | 0 .../src}/MEDCoupling/MEDCouplingIMesh.cxx | 0 .../src}/MEDCoupling/MEDCouplingIMesh.hxx | 0 .../src}/MEDCoupling/MEDCouplingMatrix.cxx | 0 .../src}/MEDCoupling/MEDCouplingMatrix.hxx | 0 .../src}/MEDCoupling/MEDCouplingMemArray.cxx | 0 .../src}/MEDCoupling/MEDCouplingMemArray.hxx | 0 .../src}/MEDCoupling/MEDCouplingMemArray.txx | 0 .../MEDCoupling/MEDCouplingMemArrayChar.cxx | 0 .../src}/MEDCoupling/MEDCouplingMesh.cxx | 0 .../src}/MEDCoupling/MEDCouplingMesh.hxx | 0 .../MEDCoupling/MEDCouplingMultiFields.cxx | 0 .../MEDCoupling/MEDCouplingMultiFields.hxx | 0 .../MEDCoupling/MEDCouplingNatureOfField.cxx | 0 .../MEDCoupling/MEDCouplingNatureOfField.hxx | 0 .../MEDCoupling/MEDCouplingNatureOfFieldEnum | 0 .../MEDCouplingNormalizedCartesianMesh.hxx | 0 .../MEDCouplingNormalizedCartesianMesh.txx | 0 .../MEDCouplingNormalizedUnstructuredMesh.hxx | 0 .../MEDCouplingNormalizedUnstructuredMesh.txx | 0 .../MEDCoupling/MEDCouplingPartDefinition.cxx | 0 .../MEDCoupling/MEDCouplingPartDefinition.hxx | 0 .../src}/MEDCoupling/MEDCouplingPointSet.cxx | 0 .../src}/MEDCoupling/MEDCouplingPointSet.hxx | 0 .../MEDCoupling/MEDCouplingRefCountObject.cxx | 8 +- .../MEDCoupling/MEDCouplingRefCountObject.hxx | 0 .../src}/MEDCoupling/MEDCouplingRemapper.cxx | 0 .../src}/MEDCoupling/MEDCouplingRemapper.hxx | 0 .../MEDCoupling/MEDCouplingSkyLineArray.cxx | 0 .../MEDCoupling/MEDCouplingSkyLineArray.hxx | 0 .../MEDCoupling/MEDCouplingStructuredMesh.cxx | 0 .../MEDCoupling/MEDCouplingStructuredMesh.hxx | 0 .../MEDCouplingTimeDiscretization.cxx | 0 .../MEDCouplingTimeDiscretization.hxx | 0 .../src}/MEDCoupling/MEDCouplingTimeLabel.cxx | 0 .../src}/MEDCoupling/MEDCouplingTimeLabel.hxx | 0 .../src}/MEDCoupling/MEDCouplingUMesh.cxx | 0 .../src}/MEDCoupling/MEDCouplingUMesh.hxx | 0 .../src}/MEDCoupling/Test/CMakeLists.txt | 6 +- .../Test/CTestTestfileInstall.cmake | 0 .../Test/MEDCouplingBasicsTest.hxx | 0 .../Test/MEDCouplingBasicsTest0.cxx | 0 .../Test/MEDCouplingBasicsTest1.cxx | 0 .../Test/MEDCouplingBasicsTest1.hxx | 0 .../Test/MEDCouplingBasicsTest2.cxx | 0 .../Test/MEDCouplingBasicsTest2.hxx | 0 .../Test/MEDCouplingBasicsTest3.cxx | 0 .../Test/MEDCouplingBasicsTest3.hxx | 0 .../Test/MEDCouplingBasicsTest4.cxx | 0 .../Test/MEDCouplingBasicsTest4.hxx | 0 .../Test/MEDCouplingBasicsTest5.cxx | 0 .../Test/MEDCouplingBasicsTest5.hxx | 0 .../Test/MEDCouplingBasicsTestData1.hxx | 0 .../Test/MEDCouplingBasicsTestInterp.cxx | 0 .../Test/MEDCouplingBasicsTestInterp.hxx | 0 .../Test/MEDCouplingExamplesTest.cxx | 0 .../Test/MEDCouplingRemapperTest.cxx | 0 .../Test/MEDCouplingRemapperTest.hxx | 0 .../src}/MEDCoupling/Test/TestMEDCoupling.cxx | 0 .../Test/TestMEDCouplingRemapper.cxx | 0 .../src}/MEDCoupling_Swig/CMakeLists.txt | 19 +- .../CTestTestfileInstall.cmake | 0 .../src}/MEDCoupling_Swig/MEDCoupling.i | 0 .../MEDCoupling_Swig/MEDCouplingBasicsTest.py | 0 .../src}/MEDCoupling_Swig/MEDCouplingCommon.i | 0 .../MEDCouplingDataArrayTypemaps.i | 0 .../MEDCouplingDataForTest.py | 0 .../MEDCouplingExamplesTest.py | 0 .../MEDCouplingFieldDiscretization.i | 0 .../MEDCoupling_Swig/MEDCouplingFinalize.i | 0 .../MEDCoupling_Swig/MEDCouplingMemArray.i | 0 .../MEDCoupling_Swig/MEDCouplingNumPyTest.py | 0 .../MEDCoupling_Swig/MEDCouplingPickleTest.py | 0 .../MEDCouplingRefCountObject.i | 0 .../MEDCoupling_Swig/MEDCouplingRemapper.i | 0 .../MEDCouplingRemapperTest.py | 0 .../MEDCouplingTimeDiscretization.i | 0 .../MEDCoupling_Swig/MEDCouplingTypemaps.i | 0 .../src}/MEDLoader/CMakeLists.txt | 4 +- .../src}/MEDLoader/MEDFileBasis.cxx | 0 .../src}/MEDLoader/MEDFileBasis.hxx | 0 .../src}/MEDLoader/MEDFileData.cxx | 0 .../src}/MEDLoader/MEDFileData.hxx | 0 .../src}/MEDLoader/MEDFileField.cxx | 0 .../src}/MEDLoader/MEDFileField.hxx | 0 .../src}/MEDLoader/MEDFileFieldOverView.cxx | 0 .../src}/MEDLoader/MEDFileFieldOverView.hxx | 0 .../src}/MEDLoader/MEDFileJoint.cxx | 0 .../src}/MEDLoader/MEDFileJoint.hxx | 0 .../src}/MEDLoader/MEDFileMesh.cxx | 0 .../src}/MEDLoader/MEDFileMesh.hxx | 0 .../src}/MEDLoader/MEDFileMeshElt.cxx | 0 .../src}/MEDLoader/MEDFileMeshElt.hxx | 0 .../src}/MEDLoader/MEDFileMeshLL.cxx | 0 .../src}/MEDLoader/MEDFileMeshLL.hxx | 0 .../MEDLoader/MEDFileMeshReadSelector.cxx | 0 .../MEDLoader/MEDFileMeshReadSelector.hxx | 0 .../src}/MEDLoader/MEDFileParameter.cxx | 0 .../src}/MEDLoader/MEDFileParameter.hxx | 0 .../src}/MEDLoader/MEDFileSafeCaller.txx | 0 .../src}/MEDLoader/MEDFileUtilities.cxx | 0 .../src}/MEDLoader/MEDFileUtilities.hxx | 0 src/{ => medtool/src}/MEDLoader/MEDLoader.cxx | 0 src/{ => medtool/src}/MEDLoader/MEDLoader.hxx | 0 .../src}/MEDLoader/MEDLoaderBase.cxx | 0 .../src}/MEDLoader/MEDLoaderBase.hxx | 0 .../src}/MEDLoader/MEDLoaderDefines.hxx | 0 .../src}/MEDLoader/SauvMedConvertor.cxx | 0 .../src}/MEDLoader/SauvMedConvertor.hxx | 0 .../src}/MEDLoader/SauvReader.cxx | 0 .../src}/MEDLoader/SauvReader.hxx | 0 .../src}/MEDLoader/SauvUtilities.hxx | 0 .../src}/MEDLoader/SauvWriter.cxx | 0 .../src}/MEDLoader/SauvWriter.hxx | 0 .../src}/MEDLoader/Swig/CMakeLists.txt | 26 +- .../MEDLoader/Swig/CTestTestfileInstall.cmake | 0 .../src}/MEDLoader/Swig/CaseIO.py | 0 .../src}/MEDLoader/Swig/CaseReader.py | 0 .../src}/MEDLoader/Swig/CaseWriter.py | 0 .../src}/MEDLoader/Swig/MEDLoader.i | 0 .../src}/MEDLoader/Swig/MEDLoaderCommon.i | 0 .../Swig/MEDLoaderCouplingTrainingSession.py | 0 .../MEDLoader/Swig/MEDLoaderDataForTest.py | 0 .../MEDLoader/Swig/MEDLoaderExamplesTest.py | 0 .../src}/MEDLoader/Swig/MEDLoaderSplitter.py | 0 .../src}/MEDLoader/Swig/MEDLoaderTest.py | 0 .../src}/MEDLoader/Swig/MEDLoaderTest2.py | 0 .../src}/MEDLoader/Swig/MEDLoaderTest3.py | 0 .../src}/MEDLoader/Swig/MEDLoaderTest4.py | 0 .../src}/MEDLoader/Swig/MEDLoaderTypemaps.i | 0 .../src}/MEDLoader/Swig/SauvLoaderTest.py | 0 .../src}/MEDLoader/Swig/VTKReader.py | 0 src/{ => medtool/src}/MEDLoader/Swig/case2med | 0 src/{ => medtool/src}/MEDLoader/Swig/med2case | 0 src/{ => medtool/src}/MEDLoader/Swig/med2sauv | 0 .../src}/MEDLoader/Swig/medutilities.py | 0 src/{ => medtool/src}/MEDLoader/Swig/sauv2med | 0 .../src}/MEDLoader/Test/CMakeLists.txt | 6 +- .../MEDLoader/Test/CTestTestfileInstall.cmake | 0 .../src}/MEDLoader/Test/MEDLoaderTest.cxx | 0 .../src}/MEDLoader/Test/MEDLoaderTest.hxx | 0 .../src}/MEDLoader/Test/SauvLoaderTest.cxx | 0 .../src}/MEDLoader/Test/SauvLoaderTest.hxx | 0 .../src}/MEDLoader/Test/TestMEDLoader.cxx | 0 .../src}/MEDLoader/Test/TestSauvLoader.cxx | 0 .../src}/MEDPartitioner/CMakeLists.txt | 14 +- .../src}/MEDPartitioner/MEDPARTITIONER.hxx | 0 .../MEDPARTITIONER_ConnectZone.cxx | 0 .../MEDPARTITIONER_ConnectZone.hxx | 0 .../MEDPartitioner/MEDPARTITIONER_Graph.cxx | 0 .../MEDPartitioner/MEDPARTITIONER_Graph.hxx | 0 .../MEDPARTITIONER_JointFinder.cxx | 0 .../MEDPARTITIONER_JointFinder.hxx | 0 .../MEDPARTITIONER_MEDPartitioner.cxx | 0 .../MEDPARTITIONER_MEDPartitioner.hxx | 0 .../MEDPARTITIONER_MeshCollection.cxx | 0 .../MEDPARTITIONER_MeshCollection.hxx | 0 .../MEDPARTITIONER_MeshCollectionDriver.cxx | 0 .../MEDPARTITIONER_MeshCollectionDriver.hxx | 0 ...RTITIONER_MeshCollectionMedAsciiDriver.cxx | 0 ...RTITIONER_MeshCollectionMedAsciiDriver.hxx | 0 ...PARTITIONER_MeshCollectionMedXmlDriver.cxx | 0 ...PARTITIONER_MeshCollectionMedXmlDriver.hxx | 0 .../MEDPARTITIONER_MetisGraph.cxx | 0 .../MEDPARTITIONER_MetisGraph.hxx | 0 .../MEDPARTITIONER_ParMetisGraph.cxx | 0 .../MEDPARTITIONER_ParMetisGraph.hxx | 0 .../MEDPARTITIONER_ParaDomainSelector.cxx | 0 .../MEDPARTITIONER_ParaDomainSelector.hxx | 0 .../MEDPARTITIONER_ParallelTopology.cxx | 0 .../MEDPARTITIONER_ParallelTopology.hxx | 0 .../MEDPARTITIONER_ScotchGraph.cxx | 0 .../MEDPARTITIONER_ScotchGraph.hxx | 0 .../MEDPARTITIONER_Topology.hxx | 0 .../MEDPARTITIONER_UserGraph.cxx | 0 .../MEDPARTITIONER_UserGraph.hxx | 0 .../MEDPartitioner/MEDPARTITIONER_Utils.cxx | 0 .../MEDPartitioner/MEDPARTITIONER_Utils.hxx | 0 .../MEDPARTITIONER_UtilsPara.cxx | 0 .../MEDPartitioner/MEDPARTITIONER_metis.c | 0 .../MEDPartitioner/MEDPARTITIONER_metis.h | 0 .../src}/MEDPartitioner/Test/CMakeLists.txt | 10 +- .../Test/CTestTestfileInstall.cmake | 0 .../Test/MEDPARTITIONERTest.cxx | 0 .../Test/MEDPARTITIONERTest.hxx | 0 .../Test/MEDPARTITIONERTestPara.cxx | 0 .../Test/TestMEDPARTITIONER.cxx | 0 .../src}/MEDPartitioner/medpartitioner.cxx | 0 .../MEDPartitioner/medpartitioner_para.cxx | 0 .../src}/MEDPartitioner_Swig/CMakeLists.txt | 15 +- .../CTestTestfileInstall.cmake | 0 .../src}/MEDPartitioner_Swig/MEDPartitioner.i | 0 .../MEDPartitionerCommon.i | 0 .../MEDPartitioner_Swig/MEDPartitionerTest.py | 0 src/medtool/src/ParaMEDMEMTest/CMakeLists.txt | 137 +++++++ src/{ => medtool/src}/RENUMBER/CMakeLists.txt | 10 +- .../src}/RENUMBER/RENUMBERDefines.hxx | 0 .../RENUMBER/RENUMBER_BOOSTRenumbering.cxx | 0 .../RENUMBER/RENUMBER_BOOSTRenumbering.hxx | 0 .../RENUMBER/RENUMBER_METISRenumbering.cxx | 0 .../RENUMBER/RENUMBER_METISRenumbering.hxx | 0 .../src}/RENUMBER/RENUMBER_Renumbering.cxx | 0 .../src}/RENUMBER/RENUMBER_Renumbering.hxx | 0 .../src}/RENUMBER/RenumberingFactory.cxx | 0 .../src}/RENUMBER/RenumberingFactory.hxx | 0 .../src}/RENUMBER/renumbering.cxx | 0 .../src}/RENUMBER/testRenumbering.py | 0 .../src}/RENUMBER_Swig/CMakeLists.txt | 15 +- .../RENUMBER_Swig/CTestTestfileInstall.cmake | 0 .../src}/RENUMBER_Swig/MEDRenumber.i | 0 .../src}/RENUMBER_Swig/MEDRenumberCommon.i | 0 .../src}/RENUMBER_Swig/MEDRenumberTest.py | 0 532 files changed, 1380 insertions(+), 87 deletions(-) create mode 100644 src/medtool/CMakeLists.txt create mode 100644 src/medtool/MEDtool_version.h.in create mode 100644 src/medtool/cmake_files/FindCppUnit.cmake create mode 100644 src/medtool/cmake_files/FindGraphviz.cmake create mode 100644 src/medtool/cmake_files/FindMEDFile.cmake create mode 100644 src/medtool/cmake_files/FindMetis.cmake create mode 100644 src/medtool/cmake_files/FindScotch.cmake create mode 100644 src/medtool/cmake_files/FindSphinx.cmake create mode 100644 src/medtool/cmake_files/FindXDR.cmake create mode 100644 src/medtool/cmake_files/MEDtoolMacros.cmake create mode 100644 src/medtool/resources/CMakeLists.txt rename {resources => src/medtool/resources}/LargeUnitTetra.med (100%) rename {resources => src/medtool/resources}/Pol1.fig (100%) rename {resources => src/medtool/resources}/Pol2.fig (100%) rename {resources => src/medtool/resources}/Pol3.fig (100%) rename {resources => src/medtool/resources}/Pol4.fig (100%) rename {resources => src/medtool/resources}/Test2D.med (100%) rename {resources => src/medtool/resources}/Test2Dpoly.med (100%) rename {resources => src/medtool/resources}/Test3D.med (100%) rename {resources => src/medtool/resources}/Test3Dpoly.med (100%) rename {resources => src/medtool/resources}/agitateur.med (100%) rename {resources => src/medtool/resources}/pointe.med (100%) rename {resources => src/medtool/resources}/square1.med (100%) rename {resources => src/medtool/resources}/square2.med (100%) create mode 100644 src/medtool/src/CMakeLists.txt rename src/{ => medtool/src}/CTestTestfileInstall.cmake (100%) rename src/{ => medtool/src}/CTestTestfileInstallMEDCoupling.cmake (77%) rename src/{ => medtool/src}/INTERP_KERNEL/BBTree.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/BBTreeDst.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/BBTreePts.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Barycentric3DIntersectorP1P1.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Barycentric3DIntersectorP1P1.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Bases/InterpKernelAutoPtr.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Bases/InterpKernelException.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Bases/InterpKernelException.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Bases/InterpKernelHashFun.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Bases/InterpKernelHashMap.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Bases/InterpKernelHashTable.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Bases/InterpKernelStlExt.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Bases/NormalizedGeometricTypes (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Bases/NormalizedUnstructuredMesh.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/BoundingBox.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/BoundingBox.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/BoxSplittingOptions.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/BoxSplittingOptions.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/CMakeLists.txt (96%) rename src/{ => medtool/src}/INTERP_KERNEL/CellModel.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/CellModel.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/ConvexIntersector.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/ConvexIntersector.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/CurveIntersector.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/CurveIntersector.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/CurveIntersectorP0P0.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/CurveIntersectorP0P0.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/CurveIntersectorP0P1.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/CurveIntersectorP0P1.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/CurveIntersectorP1P0.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/CurveIntersectorP1P0.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/CurveIntersectorP1P1.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/CurveIntersectorP1P1.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/CurveIntersectorP1P1PL.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/CurveIntersectorP1P1PL.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/DiameterCalculator.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/DiameterCalculator.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/DirectedBoundingBox.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/DirectedBoundingBox.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/ExprEval/InterpKernelAsmX86.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/ExprEval/InterpKernelAsmX86.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/ExprEval/InterpKernelExprParser.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/ExprEval/InterpKernelExprParser.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/ExprEval/InterpKernelFunction.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/ExprEval/InterpKernelFunction.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/ExprEval/InterpKernelUnit.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/ExprEval/InterpKernelUnit.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/ExprEval/InterpKernelValue.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/ExprEval/InterpKernelValue.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/GaussPoints/InterpKernelGaussCoords.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/GaussPoints/InterpKernelGaussCoords.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/GenMathFormulae.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DAbstractEdge.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DAbstractEdge.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DBounds.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DBounds.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DComposedEdge.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DComposedEdge.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdge.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdge.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdge.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeArcCircle.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeArcCircle.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeInfLin.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeInfLin.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeLin.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeLin.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DElementaryEdge.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DElementaryEdge.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DNode.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DNode.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DPrecision.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DPrecision.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DQuadraticPolygon.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DQuadraticPolygon.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2DIntersector.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Geometric2DIntersector.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/INTERPKERNELDefines.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/IntegralUniformIntersector.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/IntegralUniformIntersector.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/InterpKernelCellSimplify.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/InterpKernelCellSimplify.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/InterpKernelMatrix.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/InterpKernelMatrixTools.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/InterpKernelMatrixTools.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/InterpKernelMeshQuality.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/InterpKernelMeshQuality.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/InterpKernelUtilities.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Interpolation.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Interpolation.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Interpolation1D.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Interpolation1D.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Interpolation2D.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Interpolation2D.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Interpolation2D1D.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Interpolation2D1D.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Interpolation2DCurve.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Interpolation2DCurve.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Interpolation3D.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Interpolation3D.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Interpolation3D.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Interpolation3D2D.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Interpolation3D2D.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Interpolation3D2D.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Interpolation3DSurf.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Interpolation3DSurf.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/InterpolationCC.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/InterpolationCC.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/InterpolationCU.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/InterpolationCU.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/InterpolationCurve.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/InterpolationCurve.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/InterpolationOptions.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/InterpolationOptions.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/InterpolationPlanar.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/InterpolationPlanar.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/InterpolationUtils.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Intersector3D.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Intersector3D.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Intersector3DP0P0.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Intersector3DP0P0.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Intersector3DP0P1.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Intersector3DP0P1.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Intersector3DP1P0.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Intersector3DP1P0.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Intersector3DP1P0Bary.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Intersector3DP1P0Bary.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Intersector3DP1P1.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Intersector3DP1P1.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/IntersectorCU.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/IntersectorCU.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/IntersectorCU1D.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/IntersectorCU1D.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/IntersectorCU2D.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/IntersectorCU2D.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/IntersectorCU3D.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/IntersectorCU3D.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Log.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/MeshElement.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/MeshElement.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/MeshElement.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/MeshRegion.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/MeshRegion.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/MeshUtils.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Planar2D1DIntersectorP0P0.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Planar2D1DIntersectorP0P0.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersector.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersector.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersectorP0P0.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersectorP0P0.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersectorP0P1.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersectorP0P1.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersectorP0P1Bary.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersectorP0P1Bary.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersectorP0P1PL.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersectorP0P1PL.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersectorP1P0.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersectorP1P0.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersectorP1P0Bary.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersectorP1P0Bary.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersectorP1P0PL.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersectorP1P0PL.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersectorP1P1.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersectorP1P1.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersectorP1P1PL.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PlanarIntersectorP1P1PL.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PointLocator2DIntersector.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PointLocator2DIntersector.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PointLocator3DIntersectorP0P0.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PointLocator3DIntersectorP0P0.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PointLocator3DIntersectorP0P1.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PointLocator3DIntersectorP0P1.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PointLocator3DIntersectorP1P0.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PointLocator3DIntersectorP1P0.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PointLocator3DIntersectorP1P1.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PointLocator3DIntersectorP1P1.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PointLocatorAlgos.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PolygonAlgorithms.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PolygonAlgorithms.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Polyhedron3D2DIntersectorP0P0.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/Polyhedron3D2DIntersectorP0P0.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PolyhedronIntersectorP0P0.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PolyhedronIntersectorP0P0.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PolyhedronIntersectorP0P1.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PolyhedronIntersectorP0P1.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PolyhedronIntersectorP1P0.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PolyhedronIntersectorP1P0.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PolyhedronIntersectorP1P0Bary.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PolyhedronIntersectorP1P0Bary.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PolyhedronIntersectorP1P1.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/PolyhedronIntersectorP1P1.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/RegionNode.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/SplitterTetra.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/SplitterTetra.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/SplitterTetra.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/TargetIntersector.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/TetraAffineTransform.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/TetraAffineTransform.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/TransformedTriangle.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/TransformedTriangle.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/TransformedTriangleInline.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/TransformedTriangleIntersect.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/TransformedTriangleMath.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/TranslationRotationMatrix.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/TranslationRotationMatrix.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/TriangulationIntersector.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/TriangulationIntersector.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/UnitTetraIntersectionBary.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/UnitTetraIntersectionBary.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/VTKNormalizedUnstructuredMesh.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/VTKNormalizedUnstructuredMesh.txx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/VectorUtils.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/VolSurfFormulae.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/VolSurfUser.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/VolSurfUser.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNEL/VolSurfUser.txx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/BBTreeTest.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/BBTreeTest.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/BasicMainTest.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/CMakeLists.txt (83%) rename src/{ => medtool/src}/INTERP_KERNELTest/CTestTestfileInstall.cmake (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/CppUnitTest.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/CppUnitTest.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/ExprEvalInterpTest.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/ExprEvalInterpTest.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/HexaTests.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/InterpKernelTestExport.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/Interpolation3DTest.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/Interpolation3DTest.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/InterpolationOptionsTest.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/InterpolationOptionsTest.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/InterpolationPlanarTestSuite.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/InterpolationTestSuite.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/MEDMeshMaker.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/MEDMeshMaker.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/MeshTestToolkit.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/MeshTestToolkit.txx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/MultiElement2DTests.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/MultiElement3DSurfTests.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/MultiElementTetraTests.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/PerfTest.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/QuadraticPlanarInterpTest.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/QuadraticPlanarInterpTest.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/QuadraticPlanarInterpTest2.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/QuadraticPlanarInterpTest3.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/QuadraticPlanarInterpTest4.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/QuadraticPlanarInterpTest5.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/SingleElementPlanarTests.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/SingleElementPlanarTests.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/SingleElementTetraTests.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/TestInterpKernel.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/TestInterpKernelUtils.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/TestInterpKernelUtils.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/ThreeDSurfProjectionTest.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/ThreeDSurfProjectionTest.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/TransformedTriangleIntersectTest.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/TransformedTriangleIntersectTest.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/TransformedTriangleTest.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/TransformedTriangleTest.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/UnitTetra3D2DIntersectionTest.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/UnitTetra3D2DIntersectionTest.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/UnitTetraIntersectionBaryTest.cxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/UnitTetraIntersectionBaryTest.hxx (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/perf_test.py (100%) rename src/{ => medtool/src}/INTERP_KERNELTest/perf_test.sh (100%) rename src/{ => medtool/src}/MEDCoupling/CMakeLists.txt (95%) rename src/{ => medtool/src}/MEDCoupling/MEDCoupling.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCoupling1GTUMesh.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCoupling1GTUMesh.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingAMRAttribute.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingAMRAttribute.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingAutoRefCountObjectPtr.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingCMesh.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingCMesh.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingCartesianAMRMesh.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingCartesianAMRMesh.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingCurveLinearMesh.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingCurveLinearMesh.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingDefinitionTime.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingDefinitionTime.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingExtrudedMesh.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingExtrudedMesh.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingField.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingField.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingFieldDiscretization.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingFieldDiscretization.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingFieldDouble.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingFieldDouble.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingFieldOverTime.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingFieldOverTime.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingFieldTemplate.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingFieldTemplate.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingGaussLocalization.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingGaussLocalization.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingIMesh.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingIMesh.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingMatrix.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingMatrix.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingMemArray.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingMemArray.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingMemArray.txx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingMemArrayChar.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingMesh.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingMesh.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingMultiFields.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingMultiFields.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingNatureOfField.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingNatureOfField.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingNatureOfFieldEnum (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingNormalizedCartesianMesh.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingNormalizedCartesianMesh.txx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingNormalizedUnstructuredMesh.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingNormalizedUnstructuredMesh.txx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingPartDefinition.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingPartDefinition.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingPointSet.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingPointSet.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingRefCountObject.cxx (98%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingRefCountObject.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingRemapper.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingRemapper.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingSkyLineArray.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingSkyLineArray.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingStructuredMesh.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingStructuredMesh.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingTimeDiscretization.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingTimeDiscretization.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingTimeLabel.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingTimeLabel.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingUMesh.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/MEDCouplingUMesh.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/CMakeLists.txt (94%) rename src/{ => medtool/src}/MEDCoupling/Test/CTestTestfileInstall.cmake (100%) rename src/{ => medtool/src}/MEDCoupling/Test/MEDCouplingBasicsTest.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/MEDCouplingBasicsTest0.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/MEDCouplingBasicsTest1.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/MEDCouplingBasicsTest1.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/MEDCouplingBasicsTest2.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/MEDCouplingBasicsTest2.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/MEDCouplingBasicsTest3.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/MEDCouplingBasicsTest3.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/MEDCouplingBasicsTest4.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/MEDCouplingBasicsTest4.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/MEDCouplingBasicsTest5.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/MEDCouplingBasicsTest5.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/MEDCouplingBasicsTestData1.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/MEDCouplingBasicsTestInterp.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/MEDCouplingBasicsTestInterp.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/MEDCouplingExamplesTest.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/MEDCouplingRemapperTest.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/MEDCouplingRemapperTest.hxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/TestMEDCoupling.cxx (100%) rename src/{ => medtool/src}/MEDCoupling/Test/TestMEDCouplingRemapper.cxx (100%) rename src/{ => medtool/src}/MEDCoupling_Swig/CMakeLists.txt (86%) rename src/{ => medtool/src}/MEDCoupling_Swig/CTestTestfileInstall.cmake (100%) rename src/{ => medtool/src}/MEDCoupling_Swig/MEDCoupling.i (100%) rename src/{ => medtool/src}/MEDCoupling_Swig/MEDCouplingBasicsTest.py (100%) rename src/{ => medtool/src}/MEDCoupling_Swig/MEDCouplingCommon.i (100%) rename src/{ => medtool/src}/MEDCoupling_Swig/MEDCouplingDataArrayTypemaps.i (100%) rename src/{ => medtool/src}/MEDCoupling_Swig/MEDCouplingDataForTest.py (100%) rename src/{ => medtool/src}/MEDCoupling_Swig/MEDCouplingExamplesTest.py (100%) rename src/{ => medtool/src}/MEDCoupling_Swig/MEDCouplingFieldDiscretization.i (100%) rename src/{ => medtool/src}/MEDCoupling_Swig/MEDCouplingFinalize.i (100%) rename src/{ => medtool/src}/MEDCoupling_Swig/MEDCouplingMemArray.i (100%) rename src/{ => medtool/src}/MEDCoupling_Swig/MEDCouplingNumPyTest.py (100%) rename src/{ => medtool/src}/MEDCoupling_Swig/MEDCouplingPickleTest.py (100%) rename src/{ => medtool/src}/MEDCoupling_Swig/MEDCouplingRefCountObject.i (100%) rename src/{ => medtool/src}/MEDCoupling_Swig/MEDCouplingRemapper.i (100%) rename src/{ => medtool/src}/MEDCoupling_Swig/MEDCouplingRemapperTest.py (100%) rename src/{ => medtool/src}/MEDCoupling_Swig/MEDCouplingTimeDiscretization.i (100%) rename src/{ => medtool/src}/MEDCoupling_Swig/MEDCouplingTypemaps.i (100%) rename src/{ => medtool/src}/MEDLoader/CMakeLists.txt (96%) rename src/{ => medtool/src}/MEDLoader/MEDFileBasis.cxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileBasis.hxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileData.cxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileData.hxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileField.cxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileField.hxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileFieldOverView.cxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileFieldOverView.hxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileJoint.cxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileJoint.hxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileMesh.cxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileMesh.hxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileMeshElt.cxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileMeshElt.hxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileMeshLL.cxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileMeshLL.hxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileMeshReadSelector.cxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileMeshReadSelector.hxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileParameter.cxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileParameter.hxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileSafeCaller.txx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileUtilities.cxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDFileUtilities.hxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDLoader.cxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDLoader.hxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDLoaderBase.cxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDLoaderBase.hxx (100%) rename src/{ => medtool/src}/MEDLoader/MEDLoaderDefines.hxx (100%) rename src/{ => medtool/src}/MEDLoader/SauvMedConvertor.cxx (100%) rename src/{ => medtool/src}/MEDLoader/SauvMedConvertor.hxx (100%) rename src/{ => medtool/src}/MEDLoader/SauvReader.cxx (100%) rename src/{ => medtool/src}/MEDLoader/SauvReader.hxx (100%) rename src/{ => medtool/src}/MEDLoader/SauvUtilities.hxx (100%) rename src/{ => medtool/src}/MEDLoader/SauvWriter.cxx (100%) rename src/{ => medtool/src}/MEDLoader/SauvWriter.hxx (100%) rename src/{ => medtool/src}/MEDLoader/Swig/CMakeLists.txt (86%) rename src/{ => medtool/src}/MEDLoader/Swig/CTestTestfileInstall.cmake (100%) rename src/{ => medtool/src}/MEDLoader/Swig/CaseIO.py (100%) rename src/{ => medtool/src}/MEDLoader/Swig/CaseReader.py (100%) rename src/{ => medtool/src}/MEDLoader/Swig/CaseWriter.py (100%) rename src/{ => medtool/src}/MEDLoader/Swig/MEDLoader.i (100%) rename src/{ => medtool/src}/MEDLoader/Swig/MEDLoaderCommon.i (100%) rename src/{ => medtool/src}/MEDLoader/Swig/MEDLoaderCouplingTrainingSession.py (100%) rename src/{ => medtool/src}/MEDLoader/Swig/MEDLoaderDataForTest.py (100%) rename src/{ => medtool/src}/MEDLoader/Swig/MEDLoaderExamplesTest.py (100%) rename src/{ => medtool/src}/MEDLoader/Swig/MEDLoaderSplitter.py (100%) rename src/{ => medtool/src}/MEDLoader/Swig/MEDLoaderTest.py (100%) rename src/{ => medtool/src}/MEDLoader/Swig/MEDLoaderTest2.py (100%) rename src/{ => medtool/src}/MEDLoader/Swig/MEDLoaderTest3.py (100%) rename src/{ => medtool/src}/MEDLoader/Swig/MEDLoaderTest4.py (100%) rename src/{ => medtool/src}/MEDLoader/Swig/MEDLoaderTypemaps.i (100%) rename src/{ => medtool/src}/MEDLoader/Swig/SauvLoaderTest.py (100%) rename src/{ => medtool/src}/MEDLoader/Swig/VTKReader.py (100%) rename src/{ => medtool/src}/MEDLoader/Swig/case2med (100%) rename src/{ => medtool/src}/MEDLoader/Swig/med2case (100%) rename src/{ => medtool/src}/MEDLoader/Swig/med2sauv (100%) rename src/{ => medtool/src}/MEDLoader/Swig/medutilities.py (100%) rename src/{ => medtool/src}/MEDLoader/Swig/sauv2med (100%) rename src/{ => medtool/src}/MEDLoader/Test/CMakeLists.txt (90%) rename src/{ => medtool/src}/MEDLoader/Test/CTestTestfileInstall.cmake (100%) rename src/{ => medtool/src}/MEDLoader/Test/MEDLoaderTest.cxx (100%) rename src/{ => medtool/src}/MEDLoader/Test/MEDLoaderTest.hxx (100%) rename src/{ => medtool/src}/MEDLoader/Test/SauvLoaderTest.cxx (100%) rename src/{ => medtool/src}/MEDLoader/Test/SauvLoaderTest.hxx (100%) rename src/{ => medtool/src}/MEDLoader/Test/TestMEDLoader.cxx (100%) rename src/{ => medtool/src}/MEDLoader/Test/TestSauvLoader.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/CMakeLists.txt (94%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER.hxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_ConnectZone.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_ConnectZone.hxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_Graph.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_Graph.hxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_JointFinder.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_JointFinder.hxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.hxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_MeshCollection.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_MeshCollection.hxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_MeshCollectionDriver.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_MeshCollectionDriver.hxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedAsciiDriver.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedAsciiDriver.hxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedXmlDriver.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedXmlDriver.hxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_MetisGraph.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_MetisGraph.hxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_ParMetisGraph.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_ParMetisGraph.hxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_ParaDomainSelector.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_ParaDomainSelector.hxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_ParallelTopology.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_ParallelTopology.hxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_ScotchGraph.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_ScotchGraph.hxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_Topology.hxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_UserGraph.hxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_Utils.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_Utils.hxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_UtilsPara.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_metis.c (100%) rename src/{ => medtool/src}/MEDPartitioner/MEDPARTITIONER_metis.h (100%) rename src/{ => medtool/src}/MEDPartitioner/Test/CMakeLists.txt (85%) rename src/{ => medtool/src}/MEDPartitioner/Test/CTestTestfileInstall.cmake (100%) rename src/{ => medtool/src}/MEDPartitioner/Test/MEDPARTITIONERTest.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/Test/MEDPARTITIONERTest.hxx (100%) rename src/{ => medtool/src}/MEDPartitioner/Test/MEDPARTITIONERTestPara.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/Test/TestMEDPARTITIONER.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/medpartitioner.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner/medpartitioner_para.cxx (100%) rename src/{ => medtool/src}/MEDPartitioner_Swig/CMakeLists.txt (86%) rename src/{ => medtool/src}/MEDPartitioner_Swig/CTestTestfileInstall.cmake (100%) rename src/{ => medtool/src}/MEDPartitioner_Swig/MEDPartitioner.i (100%) rename src/{ => medtool/src}/MEDPartitioner_Swig/MEDPartitionerCommon.i (100%) rename src/{ => medtool/src}/MEDPartitioner_Swig/MEDPartitionerTest.py (100%) create mode 100644 src/medtool/src/ParaMEDMEMTest/CMakeLists.txt rename src/{ => medtool/src}/RENUMBER/CMakeLists.txt (93%) rename src/{ => medtool/src}/RENUMBER/RENUMBERDefines.hxx (100%) rename src/{ => medtool/src}/RENUMBER/RENUMBER_BOOSTRenumbering.cxx (100%) rename src/{ => medtool/src}/RENUMBER/RENUMBER_BOOSTRenumbering.hxx (100%) rename src/{ => medtool/src}/RENUMBER/RENUMBER_METISRenumbering.cxx (100%) rename src/{ => medtool/src}/RENUMBER/RENUMBER_METISRenumbering.hxx (100%) rename src/{ => medtool/src}/RENUMBER/RENUMBER_Renumbering.cxx (100%) rename src/{ => medtool/src}/RENUMBER/RENUMBER_Renumbering.hxx (100%) rename src/{ => medtool/src}/RENUMBER/RenumberingFactory.cxx (100%) rename src/{ => medtool/src}/RENUMBER/RenumberingFactory.hxx (100%) rename src/{ => medtool/src}/RENUMBER/renumbering.cxx (100%) rename src/{ => medtool/src}/RENUMBER/testRenumbering.py (100%) rename src/{ => medtool/src}/RENUMBER_Swig/CMakeLists.txt (82%) rename src/{ => medtool/src}/RENUMBER_Swig/CTestTestfileInstall.cmake (100%) rename src/{ => medtool/src}/RENUMBER_Swig/MEDRenumber.i (100%) rename src/{ => medtool/src}/RENUMBER_Swig/MEDRenumberCommon.i (100%) rename src/{ => medtool/src}/RENUMBER_Swig/MEDRenumberTest.py (100%) diff --git a/src/medtool/CMakeLists.txt b/src/medtool/CMakeLists.txt new file mode 100644 index 000000000..4bbaae984 --- /dev/null +++ b/src/medtool/CMakeLists.txt @@ -0,0 +1,359 @@ +# Copyright (C) 2015 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + +CMAKE_MINIMUM_REQUIRED(VERSION 2.8.2 FATAL_ERROR) +#INCLUDE(CMakeDependentOption) +PROJECT(MEDtool C CXX) + +# Ensure a proper linker behavior: +CMAKE_POLICY(SET CMP0003 NEW) + +# Versioning +# =========== +# Project name, upper case +STRING(TOUPPER ${PROJECT_NAME} PROJECT_NAME_UC) + +SET(${PROJECT_NAME_UC}_MAJOR_VERSION 1) +SET(${PROJECT_NAME_UC}_MINOR_VERSION 0) +SET(${PROJECT_NAME_UC}_PATCH_VERSION 0) +SET(${PROJECT_NAME_UC}_VERSION + ${${PROJECT_NAME_UC}_MAJOR_VERSION}.${${PROJECT_NAME_UC}_MINOR_VERSION}.${${PROJECT_NAME_UC}_PATCH_VERSION}) +SET(${PROJECT_NAME_UC}_VERSION_DEV 1) + +# Our own set of macros: +LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake_files") +INCLUDE(MEDtoolMacros) + +# Platform setup +# ============== +#INCLUDE(SalomeSetupPlatform) + +# +# User options +# ============ +INCLUDE(CMakeDependentOption) +OPTION(SALOME_MED_MICROMED "Build MED without MED file dependancy." OFF) +OPTION(SALOME_MED_ENABLE_PYTHON "Build PYTHON bindings." ON) +OPTION(SALOME_MED_ENABLE_PARTITIONER "Build MEDPartitioner." ON) +OPTION(SALOME_MED_ENABLE_RENUMBER "Build Renumber." ON) +OPTION(SALOME_MED_WITH_FILE_EXAMPLES "Install examples of files containing meshes and fields of different formats." ON) +OPTION(SALOME_USE_MPI "(Use MPI containers) - For MED this triggers the build of ParaMEDMEM." OFF) +OPTION(SALOME_BUILD_TESTS "Build MED tests." ON) +OPTION(SALOME_BUILD_DOC "Build MED doc." ON) +CMAKE_DEPENDENT_OPTION(SALOME_MED_PARTITIONER_METIS "Enable metis graph library in MEDPartitioner." ON "SALOME_MED_ENABLE_PARTITIONER" OFF) +CMAKE_DEPENDENT_OPTION(SALOME_MED_PARTITIONER_SCOTCH "Enable scotch graph library in MEDPartitioner." ON "SALOME_MED_ENABLE_PARTITIONER;NOT SALOME_USE_MPI" OFF) +CMAKE_DEPENDENT_OPTION(SALOME_MED_PARTITIONER_PARMETIS "Enable parmetis graph library in MEDPartitioner." ON "SALOME_MED_ENABLE_PARTITIONER;SALOME_USE_MPI" OFF) +IF(WIN32) + CMAKE_DEPENDENT_OPTION(SALOME_MED_MEDLOADER_USE_XDR "Enable use of XDR for SauvReader." ON "NOT SALOME_MED_MICROMED" OFF) +ENDIF(WIN32) + +# +# Set list of prerequisites +# ========================= + +LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake_files") + +IF(NOT SALOME_MED_MICROMED) + #FIND_PACKAGE(SalomeHDF5 REQUIRED) + #FIND_PACKAGE(SalomeMEDFile REQUIRED) + FIND_PACKAGE(HDF5 REQUIRED) + FIND_PACKAGE(MEDFile REQUIRED) + # XDR stuff + IF(NOT WIN32) + #FIND_PACKAGE(SalomeXDR REQUIRED) + FIND_PACKAGE(XDR REQUIRED) + ELSE(NOT WIN32) + IF(SALOME_MED_MEDLOADER_USE_XDR) + FIND_PACKAGE(SalomeXDR REQUIRED) + ENDIF(SALOME_MED_MEDLOADER_USE_XDR) + ENDIF(NOT WIN32) + # End of XDR Stuff + IF(SALOME_MED_ENABLE_PARTITIONER) + #FIND_PACKAGE(SalomeLibXml2) + #SALOME_LOG_OPTIONAL_PACKAGE(LibXml2 SALOME_MED_ENABLE_PARTITIONER) + IF(DEFINED ENV{LIBXML2_ROOT_DIR}) + SET(CMAKE_PREFIX_PATH "$ENV{LIBXML2_ROOT_DIR}") + ENDIF() + FIND_PACKAGE(LibXml2) + MESSAGE("LIBXML2_FOUND: ${LIBXML2_FOUND}") + MESSAGE("LIBXML2_INCLUDE_DIR: ${LIBXML2_INCLUDE_DIR}") + MESSAGE("LIBXML2_LIBRARIES: ${LIBXML2_LIBRARIES}") + MESSAGE("LIBXML2_DEFINITIONS: ${LIBXML2_DEFINITIONS}") + MESSAGE("LIBXML2_XMLLINT_EXECUTABLE: ${LIBXML2_XMLLINT_EXECUTABLE}") + MESSAGE("LIBXML2_VERSION_STRING: ${LIBXML2_VERSION_STRING}") + + IF(SALOME_MED_PARTITIONER_METIS) + #FIND_PACKAGE(SalomeMetis) + #SALOME_LOG_OPTIONAL_PACKAGE(Metis SALOME_MED_PARTITIONER_METIS) + FIND_PACKAGE(Metis) + ADD_DEFINITIONS("-DMED_ENABLE_METIS") + ENDIF(SALOME_MED_PARTITIONER_METIS) + IF(SALOME_MED_PARTITIONER_SCOTCH) + #FIND_PACKAGE(SalomeScotch) + #SALOME_LOG_OPTIONAL_PACKAGE(Scotch SALOME_MED_PARTITIONER_SCOTCH) + FIND_PACKAGE(Scotch) + ADD_DEFINITIONS("-DMED_ENABLE_SCOTCH") + ENDIF(SALOME_MED_PARTITIONER_SCOTCH) + ENDIF(SALOME_MED_ENABLE_PARTITIONER) +ENDIF(NOT SALOME_MED_MICROMED) + +ENABLE_TESTING() # let it outsite because even if SALOME_BUILD_TESTS is OFF, python tests that not need additional compilation can be run. + +IF(SALOME_BUILD_TESTS) + #FIND_PACKAGE(SalomeCppUnit) + #SALOME_LOG_OPTIONAL_PACKAGE(CppUnit SALOME_BUILD_TESTS) + FIND_PACKAGE(CppUnit) +ENDIF(SALOME_BUILD_TESTS) + +IF(SALOME_USE_MPI) + FIND_PACKAGE(SalomeMPI REQUIRED) + ADD_DEFINITIONS("-DHAVE_MPI") + IF(SALOME_MED_PARTITIONER_PARMETIS) + FIND_PACKAGE(SalomeParMetis) + SALOME_LOG_OPTIONAL_PACKAGE(ParMetis SALOME_MED_PARTITIONER_PARMETIS) + ADD_DEFINITIONS("-DMED_ENABLE_PARMETIS") + ENDIF(SALOME_MED_PARTITIONER_PARMETIS) +ENDIF(SALOME_USE_MPI) + +IF(SALOME_MED_ENABLE_RENUMBER) + #FIND_PACKAGE(SalomeBoost) + #SALOME_LOG_OPTIONAL_PACKAGE(Boost SALOME_MED_ENABLE_RENUMBER) + IF(DEFINED ENV{BOOST_ROOT_DIR}) + SET(CMAKE_PREFIX_PATH "$ENV{BOOST_ROOT_DIR}") + ENDIF() + SET(Boost_USE_STATIC_LIBS OFF) + SET(Boost_USE_MULTITHREADED ON) + SET(Boost_USE_STATIC_RUNTIME OFF) + SET(Boost_NO_BOOST_CMAKE ON) + SET(SalomeBoost_FIND_COMPONENTS filesystem regex signals system thread date_time chrono) + FIND_PACKAGE(Boost) +ENDIF(SALOME_MED_ENABLE_RENUMBER) + +IF(SALOME_BUILD_DOC) + #FIND_PACKAGE(SalomeDoxygen) + #FIND_PACKAGE(SalomeGraphviz) + #FIND_PACKAGE(SalomeSphinx) + #SALOME_LOG_OPTIONAL_PACKAGE(Doxygen SALOME_BUILD_DOC) + #SALOME_LOG_OPTIONAL_PACKAGE(Graphviz SALOME_BUILD_DOC) + #SALOME_LOG_OPTIONAL_PACKAGE(Sphinx SALOME_BUILD_DOC) + FIND_PACKAGE(Doxygen) + IF(DEFINED ENV{GRAPHVIZ_ROOT_DIR}) + SET(CMAKE_PREFIX_PATH "$ENV{GRAPHVIZ_ROOT_DIR}") + ENDIF() + FIND_PACKAGE(Graphviz) + FIND_PACKAGE(Sphinx) +ENDIF(SALOME_BUILD_DOC) + +IF(SALOME_MED_ENABLE_PYTHON) + #FIND_PACKAGE(SalomePython) + #FIND_PACKAGE(SalomeSWIG) + #SALOME_LOG_OPTIONAL_PACKAGE(Python SALOME_MED_ENABLE_PYTHON) + #SALOME_LOG_OPTIONAL_PACKAGE(SWIG SALOME_MED_ENABLE_PYTHON) + FIND_PACKAGE(PythonInterp) + GET_FILENAME_COMPONENT(_python_dir "${PYTHON_EXECUTABLE}" PATH) + GET_FILENAME_COMPONENT(CMAKE_INCLUDE_PATH "${_python_dir}/../include/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}" ABSOLUTE) + GET_FILENAME_COMPONENT(CMAKE_LIBRARY_PATH "${_python_dir}/../lib" ABSOLUTE) + SET(PythonLibs_FIND_VERSION "${PYTHON_VERSION}") + FIND_PACKAGE(PythonLibs) + + FIND_PACKAGE(SWIG) + # Set the extra flags for SWIG for numpy and scipy + SET(SWIG_EXTRA_FLAGS_FOR_NUMPYANDSCIPY) + IF(NUMPY_FOUND) + SET(SWIG_EXTRA_FLAGS_FOR_NUMPYANDSCIPY "-DWITH_NUMPY") + ENDIF(NUMPY_FOUND) + IF(SCIPY_FOUND) + SET(SWIG_EXTRA_FLAGS_FOR_NUMPYANDSCIPY "${SWIG_EXTRA_FLAGS_FOR_NUMPYANDSCIPY};-DWITH_SCIPY") + ENDIF(SCIPY_FOUND) +ENDIF(SALOME_MED_ENABLE_PYTHON) + +# Detection report +#SALOME_PACKAGE_REPORT_AND_CHECK() + +# Directories +# +# Directories have to be given after prerequisites (to be able to use +# Python version string for example). +# =========== +SET(MEDTOOL_INSTALL_BINS bin CACHE PATH "Install path: MEDtool binaries") +SET(MEDTOOL_INSTALL_LIBS lib CACHE PATH "Install path: MEDtool libs") +SET(MEDTOOL_INSTALL_HEADERS include CACHE PATH "Install path: MEDtool headers") +SET(MEDTOOL_INSTALL_SCRIPT_SCRIPTS ${MEDTOOL_INSTALL_BINS} CACHE PATH "Install path: MEDtool scripts") +SET(MEDTOOL_INSTALL_TESTS tests CACHE PATH "Install path: MEDtool tests") +# SET(SALOME_INSTALL_SCRIPT_DATA ${SALOME_INSTALL_BINS} CACHE PATH +# "Install path: SALOME script data") +SET(MEDTOOL_INSTALL_SCRIPT_PYTHON ${MEDTOOL_INSTALL_BINS} CACHE PATH "Install path: MEDtool Python scripts") +# SET(SALOME_INSTALL_APPLISKEL_SCRIPTS ${SALOME_INSTALL_BINS}/appliskel CACHE PATH +# "Install path: SALOME application skeleton - scripts") +# SET(SALOME_INSTALL_APPLISKEL_PYTHON ${SALOME_INSTALL_BINS}/appliskel CACHE PATH +# "Install path: SALOME application skeleton - Python") +# SET(SALOME_INSTALL_CMAKE salome_adm/cmake_files CACHE PATH "Install path: SALOME CMake files") +# SET(SALOME_INSTALL_CMAKE_LOCAL adm_local/cmake_files CACHE PATH +# "Install path: local SALOME CMake files") + +IF(SALOME_MED_ENABLE_PYTHON) + SET(_pydir lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages) + SET(MEDTOOL_INSTALL_PYTHON ${_pydir} CACHE PATH "Install path: MEDtool Python stuff") + SET(MEDTOOL_INSTALL_PYTHON_SHARED ${MEDTOOL_INSTALL_PYTHON}/shared_modules CACHE PATH + "Install path: MEDtool Python shared modules") +ENDIF(SALOME_MED_ENABLE_PYTHON) + +SET(MEDTOOL_INSTALL_RES share/resources CACHE PATH "Install path: MEDTOOL resources") +SET(MEDTOOL_INSTALL_DOC share/doc CACHE PATH "Install path: MEDTOOL documentation") + +# Med specific: + +SET(MEDTOOL_INSTALL_RES_DATA "${MEDTOOL_INSTALL_RES}/med" CACHE PATH "Install path: MEDTOOL specific data") +#SET(SALOME_MED_INSTALL_RES_SCRIPTS "${SALOME_INSTALL_RES}/med" CACHE PATH "Install path: SALOME MED specific scripts") + +#MARK_AS_ADVANCED(SALOME_INSTALL_BINS SALOME_INSTALL_LIBS SALOME_INSTALL_IDLS SALOME_INSTALL_HEADERS) +#MARK_AS_ADVANCED(SALOME_INSTALL_SCRIPT_SCRIPTS SALOME_INSTALL_SCRIPT_DATA SALOME_INSTALL_SCRIPT_PYTHON) +#MARK_AS_ADVANCED(SALOME_INSTALL_APPLISKEL_SCRIPTS SALOME_INSTALL_APPLISKEL_PYTHON SALOME_INSTALL_CMAKE SALOME_INSTALL_CMAKE_LOCAL SALOME_INSTALL_RES) +#MARK_AS_ADVANCED(SALOME_INSTALL_PYTHON SALOME_INSTALL_PYTHON_SHARED SALOME_MED_INSTALL_RES_DATA SALOME_MED_INSTALL_RES_SCRIPTS SALOME_INSTALL_DOC) + +# Header configuration +# ==================== +MEDTOOL_XVERSION(${PROJECT_NAME}) +#SALOME_CONFIGURE_FILE(MED_version.h.in MED_version.h INSTALL ${SALOME_INSTALL_HEADERS}) +#SALOME_CONFIGURE_FILE(VERSION.in VERSION INSTALL ${SALOME_INSTALL_BINS}) +CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/MEDtool_version.h.in ${CMAKE_CURRENT_BINARY_DIR}/MEDtool_version.h) +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/MEDtool_version.h DESTINATION ${MEDTOOL_INSTALL_HEADERS}) + +# Accumulate environment variables for MED module +#SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH NOCHECK ${CMAKE_INSTALL_PREFIX}/${SALOME_INSTALL_BINS} +# ${CMAKE_INSTALL_PREFIX}/${SALOME_INSTALL_PYTHON}) +#SALOME_ACCUMULATE_ENVIRONMENT(LD_LIBRARY_PATH NOCHECK ${CMAKE_INSTALL_PREFIX}/${SALOME_INSTALL_LIBS}) + + +# Sources +# ======== +IF(WIN32) + ADD_DEFINITIONS("-D_USE_MATH_DEFINES") +ENDIF(WIN32) + +ADD_SUBDIRECTORY(src) +#ADD_SUBDIRECTORY(adm_local) + +IF(SALOME_BUILD_DOC) + ADD_SUBDIRECTORY(doc) +ENDIF(SALOME_BUILD_DOC) + +#ADD_SUBDIRECTORY(adm_local_without_kernel) + +IF(NOT SALOME_MED_MICROMED) + IF(SALOME_MED_WITH_FILE_EXAMPLES) + ADD_SUBDIRECTORY(resources) + ENDIF(SALOME_MED_WITH_FILE_EXAMPLES) +ENDIF(NOT SALOME_MED_MICROMED) + +# Configuration export +# ==================== + +# List of targets in this project we want to make visible to the rest of the world. +# They all have to be INSTALL'd with the option "EXPORT ${PROJECT_NAME}TargetGroup" +SET(_${PROJECT_NAME}_exposed_targets + interpkernel medcoupling medcouplingremapper) + +IF(NOT SALOME_MED_MICROMED) + LIST(APPEND _${PROJECT_NAME}_exposed_targets medloader) + IF(SALOME_MED_ENABLE_RENUMBER) + LIST(APPEND _${PROJECT_NAME}_exposed_targets renumbercpp) + ENDIF() + IF(SALOME_MED_ENABLE_PARTITIONER) + LIST(APPEND _${PROJECT_NAME}_exposed_targets medpartitionercpp) + IF(SALOME_BUILD_TESTS) + LIST(APPEND _${PROJECT_NAME}_exposed_targets MEDPARTITIONERTest) + ENDIF() + ENDIF() + IF(SALOME_BUILD_TESTS) + LIST(APPEND _${PROJECT_NAME}_exposed_targets InterpKernelTest) + ENDIF() +ENDIF() + +IF(SALOME_USE_MPI) + LIST(APPEND _${PROJECT_NAME}_exposed_targets paramedmem) + IF(NOT SALOME_MED_MICROMED) + LIST(APPEND _${PROJECT_NAME}_exposed_targets paramedloader) + ENDIF() + IF(SALOME_BUILD_TESTS) + IF(NOT SALOME_MED_MICROMED) + LIST(APPEND _${PROJECT_NAME}_exposed_targets ParaMEDMEMTest) + ENDIF() + ENDIF() +ENDIF() + +# Add all targets to the build-tree export set + +EXPORT(TARGETS ${_${PROJECT_NAME}_exposed_targets} + FILE ${PROJECT_BINARY_DIR}/${PROJECT_NAME}Targets.cmake) + +# Create the configuration files: +# - in the build tree: + +# Ensure the variables are always defined for the configure (even if empty): +# SET(KERNEL_ROOT_DIR "${KERNEL_ROOT_DIR}") +# SET(GUI_ROOT_DIR "${GUI_ROOT_DIR}") +# SET(MEDFILE_ROOT_DIR "${MEDFILE_ROOT_DIR}") +# SET(MPI_ROOT_DIR "${MPI_ROOT_DIR}") +# SET(HDF5_ROOT_DIR "${HDF5_ROOT_DIR}") +# SET(OMNIORB_ROOT_DIR "${OMNIORB_ROOT_DIR}") +# SET(PTHREAD_ROOT_DIR "${PTHREAD_ROOT_DIR}") +# SET(BOOST_ROOT_DIR "${BOOST_ROOT_DIR}") +# SET(SWIG_ROOT_DIR "${SWIG_ROOT_DIR}") +# SET(PYTHON_ROOT_DIR "${PYTHON_ROOT_DIR}") +# SET(CPPUNIT_ROOT_DIR "${CPPUNIT_ROOT_DIR}") +# SET(GRAPHVIZ_ROOT_DIR "${GRAPHVIZ_ROOT_DIR}") +# SET(DOXYGEN_ROOT_DIR "${DOXYGEN_ROOT_DIR}") +# SET(SPHINX_ROOT_DIR "${SPHINX_ROOT_DIR}") + +# SET(METIS_ROOT_DIR "${METIS_ROOT_DIR}") +# SET(PARMETIS_ROOT_DIR "${PARMETIS_ROOT_DIR}") +# SET(SCOTCH_ROOT_DIR "${SCOTCH_ROOT_DIR}") +# SET(XDR_ROOT_DIR "${XDR_ROOT_DIR}") + +# - in the install tree: +# Get the relative path of the include directory so +# we can register it in the generated configuration files: +SET(CONF_INCLUDE_DIRS "${CMAKE_INSTALL_PREFIX}/${INSTALL_INCLUDE_DIR}") + +# Build variables that will be expanded when configuring SalomeConfig.cmake: +# SALOME_CONFIGURE_PREPARE(Metis ParMetis Scotch XDR CAS Qt4 CppUnit Graphviz Doxygen Sphinx MPI omniORB +# PThread Boost libXml2 Python HDF5 MEDFile) + +# INCLUDE(CMakePackageConfigHelpers) +# CONFIGURE_PACKAGE_CONFIG_FILE(${PROJECT_NAME}Config.cmake.in +# ${PROJECT_BINARY_DIR}/to_install/${PROJECT_NAME}Config.cmake +# INSTALL_DESTINATION "${SALOME_INSTALL_CMAKE}_LOCAL" +# PATH_VARS CONF_INCLUDE_DIRS SALOME_INSTALL_CMAKE_LOCAL CMAKE_INSTALL_PREFIX +# KERNEL_ROOT_DIR GUI_ROOT_DIR MEDFILE_ROOT_DIR MPI_ROOT_DIR +# HDF5_ROOT_DIR OMNIORB_ROOT_DIR PTHREAD_ROOT_DIR BOOST_ROOT_DIR +# SWIG_ROOT_DIR PYTHON_ROOT_DIR CPPUNIT_ROOT_DIR GRAPHVIZ_ROOT_DIR DOXYGEN_ROOT_DIR +# SPHINX_ROOT_DIR METIS_ROOT_DIR PARMETIS_ROOT_DIR SCOTCH_ROOT_DIR XDR_ROOT_DIR) + +#WRITE_BASIC_PACKAGE_VERSION_FILE(${PROJECT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake +# VERSION ${${PROJECT_NAME_UC}_VERSION} +# COMPATIBILITY AnyNewerVersion) + +# Install the CMake configuration files: +# INSTALL(FILES +# "${PROJECT_BINARY_DIR}/to_install/${PROJECT_NAME}Config.cmake" +# "${PROJECT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake" +# DESTINATION "${SALOME_INSTALL_CMAKE_LOCAL}") + +# Install the export set for use with the install-tree +#INSTALL(EXPORT ${PROJECT_NAME}TargetGroup DESTINATION "${SALOME_INSTALL_CMAKE_LOCAL}" +# FILE ${PROJECT_NAME}Targets.cmake) diff --git a/src/medtool/MEDtool_version.h.in b/src/medtool/MEDtool_version.h.in new file mode 100644 index 000000000..701912571 --- /dev/null +++ b/src/medtool/MEDtool_version.h.in @@ -0,0 +1,44 @@ +// Copyright (C) 2015 CEA/DEN, EDF R&D, OPEN CASCADE +// +// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// + +#if !defined(__MEDTOOL_VERSION_H__) +#define __MEDTOOL_VERSION_H__ + +/*! + Specify version of MEDtool, as follows + + MEDTOOL_VERSION_MAJOR : (integer) number identifying major version + MEDTOOL_VERSION_MINOR : (integer) number identifying minor version + MEDTOOL_VERSION_MAINTENANCE : (integer) number identifying maintenance version + MEDTOOL_VERSION_STR : (string) complete version number "major.minor.maintenance" + MEDTOOL_VERSION : (hex) complete version number (major << 16) + (minor << 8) + maintenance + MEDTOOL_DEVELOPMENT : (integer) indicates development version when set to 1 +*/ + +#define MEDTOOL_VERSION_MAJOR @MEDTOOL_MAJOR_VERSION@ +#define MEDTOOL_VERSION_MINOR @MEDTOOL_MINOR_VERSION@ +#define MEDTOOL_VERSION_MAINTENANCE @MEDTOOL_PATCH_VERSION@ +#define MEDTOOL_VERSION_STR "@MEDTOOL_VERSION@" +#define MEDTOOL_VERSION @MEDTOOL_XVERSION@ +#define MEDTOOL_DEVELOPMENT @MEDTOOL_VERSION_DEV@ + +#endif // __MEDTOOL_VERSION_H__ diff --git a/src/medtool/cmake_files/FindCppUnit.cmake b/src/medtool/cmake_files/FindCppUnit.cmake new file mode 100644 index 000000000..7e68e5645 --- /dev/null +++ b/src/medtool/cmake_files/FindCppUnit.cmake @@ -0,0 +1,95 @@ +# - Find CppUnit +# Sets the following variables: +# CPPUNIT_INCLUDE_DIRS - path to the CppUnit include directory +# CPPUNIT_LIBRARIES - path to the CppUnit libraries to be linked against +# CPPUNIT_DEFINITIONS - specific CppUnit definitions to be added +# +# The header cppunit/extensions/HelperMacros.h is looked for. +# The following libraries are searched +# cppunit_dll, or cppunitd_dll (Windows) +# cppunit (Linux) +# + +######################################################################### +# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# +# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +IF(NOT CppUnit_FIND_QUIETLY) + MESSAGE(STATUS "Looking for CppUnit ...") +ENDIF() + +# Headers +SET(CPPUNIT_ROOT_DIR $ENV{CPPUNIT_ROOT_DIR} CACHE PATH "Path to the CPPUNIT.") +IF(CPPUNIT_ROOT_DIR) + LIST(APPEND CMAKE_INCLUDE_PATH "${CPPUNIT_ROOT_DIR}/include") + LIST(APPEND CMAKE_PROGRAM_PATH "${CPPUNIT_ROOT_DIR}/bin") +ENDIF(CPPUNIT_ROOT_DIR) + +SET(CPPUNIT_INCLUDE_TO_FIND cppunit/extensions/HelperMacros.h) +FIND_PATH(CPPUNIT_INCLUDE_DIRS ${CPPUNIT_INCLUDE_TO_FIND}) + +# Libraries +IF(WIN32) + IF(CMAKE_BUILD_TYPE STREQUAL Debug) + FIND_LIBRARY(CPPUNIT_LIBRARIES cppunitd_dll) + ELSE(CMAKE_BUILD_TYPE STREQUAL Debug) + FIND_LIBRARY(CPPUNIT_LIBRARIES cppunit_dll) + ENDIF(CMAKE_BUILD_TYPE STREQUAL Debug) +ELSE(WIN32) + FIND_PROGRAM(CPPUNIT_CONFIG_BIN cppunit-config) + IF(NOT CPPUNIT_CONFIG_BIN) + MESSAGE(FATAL_ERROR "Error in CPPUNIT detection ! cppunit-config executable not found !") + ENDIF(NOT CPPUNIT_CONFIG_BIN) + EXECUTE_PROCESS(COMMAND ${CPPUNIT_CONFIG_BIN} --libs OUTPUT_VARIABLE CPPUNIT_LDFLAGS) + STRING(STRIP ${CPPUNIT_LDFLAGS} CPPUNIT_LDFLAGS) + STRING(REPLACE " " ";" LDFLAGS_LIST ${CPPUNIT_LDFLAGS}) + FOREACH(LDFLAG ${LDFLAGS_LIST}) + STRING(REGEX MATCH "^-L.*" LIBDIR "${LDFLAG}") + STRING(REGEX MATCH "^-l.*" LIB "${LDFLAG}") + IF(LIBDIR) + STRING(REGEX REPLACE "^-L" "" LIBDIR ${LIBDIR}) + LIST(APPEND CMAKE_LIBRARY_PATH ${LIBDIR}) + ELSEIF(LIB) + STRING(REGEX REPLACE "^-l" "" LIB ${LIB}) + LIST(APPEND LIBS ${LIB}) + ELSE() + MESSAGE(FATAL_ERROR "Unrecognized token \"${LDFLAG}\" in the output of cppunit-config --libs") + ENDIF() + ENDFOREACH(LDFLAG ${LDFLAGS_LIST}) + FOREACH(LIB ${LIBS}) + FIND_LIBRARY(CPPUNIT_SUBLIB_${LIB} ${LIB}) + IF(NOT CPPUNIT_SUBLIB_${LIB}) + MESSAGE(FATAL_ERROR "Error in CPPUNIT detection! Fail to locate the needed library ${LIB}!") + ENDIF(NOT CPPUNIT_SUBLIB_${LIB}) + LIST(APPEND CPPUNIT_LIBRARIES ${CPPUNIT_SUBLIB_${LIB}}) + ENDFOREACH(LIB ${LIBS}) +# MESSAGE("**** ${CPPUNIT_LIBRARIES}") +ENDIF(WIN32) + +# Global variables +SET(CPPUNIT_DEFINITIONS) +IF(WIN32) + SET(CPPUNIT_DEFINITIONS -DCPPUNIT_DLL) +ENDIF(WIN32) + +INCLUDE(FindPackageHandleStandardArgs) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(CppUnit REQUIRED_VARS CPPUNIT_INCLUDE_DIRS CPPUNIT_LIBRARIES) diff --git a/src/medtool/cmake_files/FindGraphviz.cmake b/src/medtool/cmake_files/FindGraphviz.cmake new file mode 100644 index 000000000..be92feb5f --- /dev/null +++ b/src/medtool/cmake_files/FindGraphviz.cmake @@ -0,0 +1,71 @@ +# - Graphviz detection +# +# Output variables: GRAPHVIZ_EXECUTABLE - where is executable 'dot' takes place. +# GRAPHVIZ_INCLUDE_DIRS - where to find headers. +# GRAPHVIZ_LIBRARIES - where to get libraries. +# GRAPHVIZ_VERSION - Graphviz version +# GRAPHVIZ_DEFINITIONS - Graphviz definitions +# GRAPHVIZ_FOUND - True if Graphviz was found. +# +########################################################################### +# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# +# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +FIND_PROGRAM(GRAPHVIZ_EXECUTABLE dot) + +FIND_PATH(GRAPHVIZ_INCLUDE_DIR NAMES graphviz/cgraph.h) +SET(GRAPHVIZ_INCLUDE_DIRS ${GRAPHVIZ_INCLUDE_DIR} ${GRAPHVIZ_INCLUDE_DIR}/graphviz) + +FIND_LIBRARY(GRAPHVIZ_cdt_LIBRARY NAMES cdt PATH_SUFFIXES bin) +FIND_LIBRARY(GRAPHVIZ_graph_LIBRARY NAMES cgraph PATH_SUFFIXES bin) +FIND_LIBRARY(GRAPHVIZ_gvc_LIBRARY NAMES gvc PATH_SUFFIXES bin) +FIND_LIBRARY(GRAPHVIZ_pathplan_LIBRARY NAMES pathplan PATH_SUFFIXES bin) + +SET(GRAPHVIZ_LIBRARIES + ${GRAPHVIZ_cdt_LIBRARY} + ${GRAPHVIZ_graph_LIBRARY} + ${GRAPHVIZ_gvc_LIBRARY} + ${GRAPHVIZ_pathplan_LIBRARY} + ) + +IF(GRAPHVIZ_EXECUTABLE) + EXECUTE_PROCESS(COMMAND ${GRAPHVIZ_EXECUTABLE} "-V" ERROR_VARIABLE GRAPHVIZ_VERSION ERROR_STRIP_TRAILING_WHITESPACE) + STRING(REGEX REPLACE ".* ([0-9.]+) .*" "\\1" GRAPHVIZ_VERSION "${GRAPHVIZ_VERSION}") +ENDIF() + +SET(GRAPHVIZ_DEFINITIONS) +IF("${GRAPHVIZ_VERSION}" VERSION_LESS "2.36.0") + SET(GRAPHVIZ_DEFINITIONS -DWITH_CGRAPH) +ENDIF() + +## Don't detect cgraph on Windows +#IF(NOT WIN32) +# FIND_LIBRARY(GRAPHVIZ_cgraph_LIBRARY NAMES cgraph PATH_SUFFIXES bin) +# SET(GRAPHVIZ_LIBRARIES ${GRAPHVIZ_cgraph_LIBRARY}) +#ENDIF() + +# Handle the standard arguments of the find_package() command: +INCLUDE(FindPackageHandleStandardArgs) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(Graphviz REQUIRED_VARS + GRAPHVIZ_EXECUTABLE + GRAPHVIZ_LIBRARIES + GRAPHVIZ_INCLUDE_DIRS) diff --git a/src/medtool/cmake_files/FindMEDFile.cmake b/src/medtool/cmake_files/FindMEDFile.cmake new file mode 100644 index 000000000..82b8eee53 --- /dev/null +++ b/src/medtool/cmake_files/FindMEDFile.cmake @@ -0,0 +1,54 @@ +# - Find MED file installation +# +# The following variable are set: +# MEDFILE_INCLUDE_DIRS +# MEDFILE_LIBRARIES +# MEDFILE_C_LIBRARIES +# MEDFILE_F_LIBRARIES +# +# The CMake (or environment) variable MEDFILE_ROOT_DIR can be set to +# guide the detection and indicate a root directory to look into. +# +############################################################################ +# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# ------ + +MESSAGE(STATUS "Check for medfile ...") + +# ------ + +SET(MEDFILE_ROOT_DIR $ENV{MEDFILE_ROOT_DIR} CACHE PATH "Path to the MEDFile.") +IF(MEDFILE_ROOT_DIR) + LIST(APPEND CMAKE_PREFIX_PATH "${MEDFILE_ROOT_DIR}") +ENDIF(MEDFILE_ROOT_DIR) + +FIND_PATH(MEDFILE_INCLUDE_DIRS med.h) +#FIND_PROGRAM(MDUMP mdump) +FIND_LIBRARY(MEDFILE_C_LIBRARIES NAMES medC) +FIND_LIBRARY(MEDFILE_F_LIBRARIES NAMES med) +IF(MEDFILE_F_LIBRARIES) + SET(MEDFILE_LIBRARIES ${MEDFILE_C_LIBRARIES} ${MEDFILE_F_LIBRARIES}) +ELSE(MEDFILE_F_LIBRARIES) + SET(MEDFILE_LIBRARIES ${MEDFILE_C_LIBRARIES}) +ENDIF(MEDFILE_F_LIBRARIES) + +INCLUDE(FindPackageHandleStandardArgs) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(MEDFile REQUIRED_VARS MEDFILE_INCLUDE_DIRS MEDFILE_LIBRARIES) diff --git a/src/medtool/cmake_files/FindMetis.cmake b/src/medtool/cmake_files/FindMetis.cmake new file mode 100644 index 000000000..5173cba6d --- /dev/null +++ b/src/medtool/cmake_files/FindMetis.cmake @@ -0,0 +1,50 @@ +# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# ------ + +MESSAGE(STATUS "Check for metis ...") + +SET(METIS_ROOT_DIR $ENV{METIS_ROOT_DIR} CACHE PATH "Path to the METIS.") +IF(METIS_ROOT_DIR) + LIST(APPEND CMAKE_LIBRARY_PATH "${METIS_ROOT_DIR}") + LIST(APPEND CMAKE_LIBRARY_PATH "${METIS_ROOT_DIR}/lib") + LIST(APPEND CMAKE_INCLUDE_PATH "${METIS_ROOT_DIR}/Lib") + LIST(APPEND CMAKE_INCLUDE_PATH "${METIS_ROOT_DIR}/include") +ENDIF(METIS_ROOT_DIR) + +FIND_LIBRARY(METIS_LIBRARIES metis) +FIND_PATH(METIS_INCLUDE_DIRS metis.h) + +INCLUDE(FindPackageHandleStandardArgs) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(Metis REQUIRED_VARS METIS_INCLUDE_DIRS METIS_LIBRARIES) +FILE(READ ${METIS_INCLUDE_DIRS}/metis.h metis_h_content) +STRING(REPLACE "\n" ";" list_metis_h_content ${metis_h_content}) +FOREACH(ln ${list_metis_h_content}) + IF("${ln}" MATCHES "^#define METIS_VER_MAJOR") + STRING(REPLACE "#define METIS_VER_MAJOR" "" metis_major_version "${ln}") + STRING(STRIP "${metis_major_version}" metis_major_version) + ENDIF("${ln}" MATCHES "^#define METIS_VER_MAJOR") +ENDFOREACH(ln ${list_metis_h_content}) +IF(metis_major_version STREQUAL 5) + SET(MEDTOOL_METIS_V5 1) + MESSAGE(STATUS "Metis maj version 5 detected.") +ELSE(metis_major_version STREQUAL 5) + MESSAGE(STATUS "Metis maj version 4 detected.") +ENDIF(metis_major_version STREQUAL 5) diff --git a/src/medtool/cmake_files/FindScotch.cmake b/src/medtool/cmake_files/FindScotch.cmake new file mode 100644 index 000000000..b63d30dcb --- /dev/null +++ b/src/medtool/cmake_files/FindScotch.cmake @@ -0,0 +1,35 @@ +# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# ------ + +MESSAGE(STATUS "Check for scotch ...") + +SET(SCOTCH_ROOT_DIR $ENV{SCOTCH_ROOT_DIR} CACHE PATH "Path to the SCOTCH.") +IF(SCOTCH_ROOT_DIR) + LIST(APPEND CMAKE_PREFIX_PATH "${SCOTCH_ROOT_DIR}") +ENDIF(SCOTCH_ROOT_DIR) + +FIND_LIBRARY(SCOTCH_LIBRARIES scotch) +FIND_LIBRARY(SCOTCH_ERR_LIBRARIES scotcherr) +SET(SCOTCH_LIBRARIES ${SCOTCH_LIBRARIES} ${SCOTCH_ERR_LIBRARIES}) +FIND_PATH(SCOTCH_INCLUDE_DIRS scotch.h PATH_SUFFIXES "/scotch") + +INCLUDE(FindPackageHandleStandardArgs) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(Scotch REQUIRED_VARS SCOTCH_INCLUDE_DIRS SCOTCH_LIBRARIES) diff --git a/src/medtool/cmake_files/FindSphinx.cmake b/src/medtool/cmake_files/FindSphinx.cmake new file mode 100644 index 000000000..94cc2ae05 --- /dev/null +++ b/src/medtool/cmake_files/FindSphinx.cmake @@ -0,0 +1,43 @@ +# - Sphinx detection +# +# Output variables: +# SPHINX_EXECUTABLE - path to the Sphinx executable +# SPHINX_PYTHONPATH - path to the Sphinx Python modules +# +########################################################################### +# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# +# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +FIND_PROGRAM(SPHINX_EXECUTABLE sphinx-build PATH_SUFFIXES Scripts) +FIND_PROGRAM(SPHINX_APIDOC_EXECUTABLE sphinx-apidoc PATH_SUFFIXES Scripts) + +# Get root dir locally, going up two levels from the exec: +GET_FILENAME_COMPONENT(_tmp_ROOT_DIR "${SPHINX_EXECUTABLE}" PATH) +GET_FILENAME_COMPONENT(_tmp_ROOT_DIR "${_tmp_ROOT_DIR}" PATH) +IF(WIN32) + SET(SPHINX_PYTHONPATH "${_tmp_ROOT_DIR}/lib/site-packages") +ELSE() + SET(SPHINX_PYTHONPATH "${_tmp_ROOT_DIR}/lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages") +ENDIF() +# Handle the standard arguments of the find_package() command: +INCLUDE(FindPackageHandleStandardArgs) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(Sphinx REQUIRED_VARS SPHINX_EXECUTABLE SPHINX_APIDOC_EXECUTABLE) diff --git a/src/medtool/cmake_files/FindXDR.cmake b/src/medtool/cmake_files/FindXDR.cmake new file mode 100644 index 000000000..c0eaf86e1 --- /dev/null +++ b/src/medtool/cmake_files/FindXDR.cmake @@ -0,0 +1,38 @@ +# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +MESSAGE(STATUS "Check for XDR ...") + +FIND_PATH(XDR_INCLUDE_DIRS rpc/xdr.h) +SET(XDR_DEFINITIONS "-DHAS_XDR") + +IF(WIN32) + FIND_LIBRARY(XDR_LIBRARIES xdr) # To get the .lib file from XDR + FIND_PATH(XDR_INCLUDE_DIRS2 stdint.h PATH_SUFFIXES src/msvc) # To get the stdint.h from XDR (needed by types.h) + IF(XDR_INCLUDE_DIRS) + IF(XDR_INCLUDE_DIRS2) + LIST(APPEND XDR_INCLUDE_DIRS "${XDR_INCLUDE_DIRS2}") + ELSE() + SET(XDR_INCLUDE_DIRS "${XDR_INCLUDE_DIRS2}") # Make the detection fail + ENDIF() + ENDIF() +ENDIF(WIN32) + +INCLUDE(FindPackageHandleStandardArgs) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(XDR REQUIRED_VARS XDR_INCLUDE_DIRS) diff --git a/src/medtool/cmake_files/MEDtoolMacros.cmake b/src/medtool/cmake_files/MEDtoolMacros.cmake new file mode 100644 index 000000000..ee476091f --- /dev/null +++ b/src/medtool/cmake_files/MEDtoolMacros.cmake @@ -0,0 +1,60 @@ +# Copyright (C) 2015 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + +#################################################################### +# _TOHEXA() +# Convert a number (smaller than 16) into hexadecimal representation +# with a leading 0. +MACRO(_TOHEXA num result) + SET(_hexa_map a b c d e f) + IF(${num} LESS 10) + SET(${result} "0${num}") + ELSE() + MATH(EXPR _res "${num}-10" ) + LIST(GET _hexa_map ${_res} _out) + SET(${result} "0${_out}") + ENDIF() +ENDMACRO(_TOHEXA) + +#################################################################### +# MEDTOOL_XVERSION() +# +# Computes hexadecimal version of MEDTOOL package +# +# USAGE: MEDTOOL_XVERSION(package) +# +# ARGUMENTS: +# +# package: IN: MEDTOOL package name +# +# The macro reads MEDTOOL package version from PACKAGE_VERSION variable +# (note package name are uppercase); +# hexadecimal version value in form 0xAABBCC (where AA, BB and CC are +# major, minor and maintenance components of package version in +# hexadecimal form) is put to the PACKAGE_XVERSION variable +MACRO(MEDTOOL_XVERSION pkg) + STRING(TOUPPER ${pkg} _pkg_UC) + IF(${_pkg_UC}_VERSION) + SET(_major) + SET(_minor) + SET(_patch) + _TOHEXA(${${_pkg_UC}_MAJOR_VERSION} _major) + _TOHEXA(${${_pkg_UC}_MINOR_VERSION} _minor) + _TOHEXA(${${_pkg_UC}_PATCH_VERSION} _patch) + SET(${_pkg_UC}_XVERSION "0x${_major}${_minor}${_patch}") + ENDIF() +ENDMACRO(MEDTOOL_XVERSION) diff --git a/src/medtool/resources/CMakeLists.txt b/src/medtool/resources/CMakeLists.txt new file mode 100644 index 000000000..6d185dc17 --- /dev/null +++ b/src/medtool/resources/CMakeLists.txt @@ -0,0 +1,235 @@ +# Copyright (C) 2012-2015 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +SET(MED_RESOURCES_FILES + #boitenew.cnc + #boitenew.inp + #boitenew.xyz + #Case1.cnc + #Case1.inp + #Case1.xyz + #cube.cnc + #cube.inp + #cube.xyz + #test3.cnc + #test3.inp + #test3.xyz + #titi.cnc + #titi.inp + #titi.xyz + #carre_en_quad4.med + #carre_en_quad4_seg2.med + #cas_defaut_domaine_fluide.med + #ChampsDarcy.med + #cube_hexa8.med + #cube_hexa8_quad4.med + #darcy_1.1_res.med + #darcy_1.3_resCASTEM.med + #darcy_1.3_resPORFLOW.med + #darcy_1.3_resTRACES.med + #darcy2_Castem_EFMH.med + #darcy2_Castem_qua_EFMH.med + #darcy2_Castem_qua_VF.med + #Darcy3_3D_H_10x10x10_2.med + #Darcy3_3D_H_10x10x10.sauve + #dx200_dy1_avec_2couches.sauve + #elle_2D_QT_10x10.sauve + #elle_2D_QT_2x2.sauve + #elle_2D_QT_40x40.sauve + #elle_2D_QT_4x4.sauve + #elle_3D_HPr_10x10x10_2.med + #elle_3D_HPr_10x10x10.sauve + #elle_3D_HPr_2x2x2_2.med + #elle_3D_HPr_2x2x2.sauve + #elle_3D_HPr_4x4x4_2.med + #elle_3D_HPr_4x4x4.sauve + #extendedtransport53_triangles.med + #geomMesh_nomorereadable21.med + #geomMesh22.med + #H_CastCast_EFMH_I129_COUPLEX1.med + #H_CastCast_VF_I129_COUPLEX1.med + #H_CastCast_VF_Se79_COUPLEX1.med + #H_CastPorf_I129_COUPLEX1.med + #H_CastPorf_Se79_COUPLEX1.med + #H_PorfCast_EFMH_I129_COUPLEX1.med + #H_PorfCast_EFMH_Se79_COUPLEX1.med + #H_PorfPorf_I129_COUPLEX1.med + #H_Traces_I129_COUPLEX1.med + #H_Traces_Se79_COUPLEX1.med + # inclusion_2d_raf.sauve + # inclusion_2d.sauve + # mail_ktest1-3-hexa.sauve + # mail_ktest1-3-tetra.sauve + # mail_ktest3-1.sauve + # mail_ktest3-2.sauve + # maill.00.med + # maill.00_nofield.med + # maill.00_nomesh.med + # maill.00_without_seg2.med + # maill.0.med + # maillage_5_5_5.med + # maillage_andra2_100elts.sauve + # maillage_cas2_2d.sauve + # maillage_cas4_234elts.sauve + # maillage_CHEMVAL_100elts.sauve + # maillage_CHEMVAL_40elts.sauve + # maillage_chemvalIV_cas1_100elts.sauve + # maillage_chemvalIV_cas1_40elts.med + # maillage_chemvalIV_cas1_40elts.sauve + # maillage_UniSegFam.med + # mail_test1-1-qua.sauve + # mail_test1-1-tri.sauve + # mail_test1-2-qua.sauve + # mail_test1-2-tri.sauve + # mail-test1-4-1.sauve + # mail-test1-4-2.sauve + # mesh_nomorereadable21.med + # mesh.med + # Mistrat.med + #Old_ChampsDarcy.med + #Old_darcy_1.1_res.med + #Old_darcy_1.3_resCASTEM.med + #Old_darcy_1.3_resPORFLOW.med + #Old_darcy_1.3_resTRACES.med + #Old_darcy2_Castem_EFMH.med + #Old_darcy2_Castem_qua_EFMH.med + #Old_darcy2_Castem_qua_VF.med + #Old_H_CastCast_EFMH_I129_COUPLEX1.med + #Old_H_CastCast_VF_I129_COUPLEX1.med + #Old_H_CastCast_VF_Se79_COUPLEX1.med + #Old_H_CastPorf_I129_COUPLEX1.med + #Old_H_CastPorf_Se79_COUPLEX1.med + #Old_H_PorfCast_EFMH_I129_COUPLEX1.med + #Old_H_PorfCast_EFMH_Se79_COUPLEX1.med + #Old_H_PorfPorf_I129_COUPLEX1.med + #Old_H_PorfPorf_Se79_COUPLEX1.med + #Old_H_Traces_I129_COUPLEX1.med + #Old_H_Traces_Se79_COUPLEX1.med + #Old_maillage_chemvalIV_cas1_40elts.med + #pointe_nomorereadable21.med + pointe.med + #poly3D.med + #polyedres.med + #polygones.med + #recoll_bord.med + #test19.med + # test_2D.med + # trio_2D.med + # TimeStamps.med + # zzzz121b.med + # zzzz121b_without_tr6.med + # UnitTetra.med + # GeneralTetra.med + # NudgedSimpler.med + # NudgedTetra.med + # CornerTetra.med + # SimpleIncludedTetra.med + # SimpleIncludingTetra.med + Test2D.med + Test2Dpoly.med + Test3D.med + Test3Dpoly.med + #UnitTetraDegenT.med + # DegenEdgeXY.med + # DegenFaceXYZ.med + # DegenTranslatedInPlane.med + # ComplexIncludedTetra.med + # ComplexIncludingTetra.med + # HalfstripOnly.med + # HalfstripOnly2.med + #SimpleHalfstripOnly.med + #GenTetra1.med + #GenTetra2.med + #TrickyTetra1.med + LargeUnitTetra.med + # LargeInconsistentTetra.med + # DividedUnitTetraSimpler.med + # DividedUnitTetra.med + # NudgedDividedUnitTetra.med + # NudgedDividedUnitTetraSimpler.med + # DividedGenTetra1.med + # DividedGenTetra2.med + # Box1.med + # Box2.med + # Box3.med + # Box1Moderate.med + # Box2Moderate.med + # BoxModSmall1.med + # BoxModSmall2.med + # BoxEvenSmaller1.med + # TinyBox.med + # BoxHexa1.med + # BoxHexa2.med + # MovedHexaBox1.med + # MovedHexaBox2.med + # BoxTetra2.med + square1.med + # square1_split + # square1_split1.med + # square1_split2.med + # square1_split3.med + square2.med + # square2_split + # square2_split1.med + # square2_split2.med + # testStructCart3D.med + # Mesh3D_10_2d1.med + # Mesh3D_10_2d2.med + # Mesh3D_11.med + Pol1.fig + Pol2.fig + Pol3.fig + Pol4.fig + # blow5_ascii.case + # blow5_ascii.geo + # blow5_ascii_cd_displacement + # blow5_ascii_cd_thickness + # blow5_ascii_pd_displacement + # blow5_ascii_pd_thickness + #test_2D.sauve + #allPillesTest.sauv + #BDC-714.sauv + #portico_3subs.sauv + agitateur.med + ) + +# IF(MED_ENABLE_GUI) +# FILE(GLOB MED_RESOURCES_PNG "${CMAKE_CURRENT_SOURCE_DIR}/*.png") +# SET(MED_RESOURCES_FILES +# ${MED_RESOURCES_FILES} +# ModuleMed.png +# Data.png +# Infos.png +# Structure.png +# explore_med_file.png +# field_selection.png +# med_mesh.png +# med_field.png +# mesh_selection.png +# ) +# ENDIF(MED_ENABLE_GUI) + +INSTALL(FILES ${MED_RESOURCES_FILES} DESTINATION ${MEDTOOL_INSTALL_RES_DATA}) + +#MESSAGE(STATUS "Creation of ${CMAKE_CURRENT_BINARY_DIR}/MEDCatalog.xml") +#CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/MEDCatalog.xml.in ${CMAKE_CURRENT_BINARY_DIR}/MEDCatalog.xml @ONLY) +#MESSAGE(STATUS "Creation of ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml") +#CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/SalomeApp.xml.in ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml @ONLY) + +#INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/MEDCatalog.xml ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml DESTINATION ${SALOME_MED_INSTALL_RES_DATA}) diff --git a/resources/LargeUnitTetra.med b/src/medtool/resources/LargeUnitTetra.med similarity index 100% rename from resources/LargeUnitTetra.med rename to src/medtool/resources/LargeUnitTetra.med diff --git a/resources/Pol1.fig b/src/medtool/resources/Pol1.fig similarity index 100% rename from resources/Pol1.fig rename to src/medtool/resources/Pol1.fig diff --git a/resources/Pol2.fig b/src/medtool/resources/Pol2.fig similarity index 100% rename from resources/Pol2.fig rename to src/medtool/resources/Pol2.fig diff --git a/resources/Pol3.fig b/src/medtool/resources/Pol3.fig similarity index 100% rename from resources/Pol3.fig rename to src/medtool/resources/Pol3.fig diff --git a/resources/Pol4.fig b/src/medtool/resources/Pol4.fig similarity index 100% rename from resources/Pol4.fig rename to src/medtool/resources/Pol4.fig diff --git a/resources/Test2D.med b/src/medtool/resources/Test2D.med similarity index 100% rename from resources/Test2D.med rename to src/medtool/resources/Test2D.med diff --git a/resources/Test2Dpoly.med b/src/medtool/resources/Test2Dpoly.med similarity index 100% rename from resources/Test2Dpoly.med rename to src/medtool/resources/Test2Dpoly.med diff --git a/resources/Test3D.med b/src/medtool/resources/Test3D.med similarity index 100% rename from resources/Test3D.med rename to src/medtool/resources/Test3D.med diff --git a/resources/Test3Dpoly.med b/src/medtool/resources/Test3Dpoly.med similarity index 100% rename from resources/Test3Dpoly.med rename to src/medtool/resources/Test3Dpoly.med diff --git a/resources/agitateur.med b/src/medtool/resources/agitateur.med similarity index 100% rename from resources/agitateur.med rename to src/medtool/resources/agitateur.med diff --git a/resources/pointe.med b/src/medtool/resources/pointe.med similarity index 100% rename from resources/pointe.med rename to src/medtool/resources/pointe.med diff --git a/resources/square1.med b/src/medtool/resources/square1.med similarity index 100% rename from resources/square1.med rename to src/medtool/resources/square1.med diff --git a/resources/square2.med b/src/medtool/resources/square2.med similarity index 100% rename from resources/square2.med rename to src/medtool/resources/square2.med diff --git a/src/medtool/src/CMakeLists.txt b/src/medtool/src/CMakeLists.txt new file mode 100644 index 000000000..725c1e0db --- /dev/null +++ b/src/medtool/src/CMakeLists.txt @@ -0,0 +1,68 @@ +# Copyright (C) 2015 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + +SET(MED_ENABLE_MICROMED ${SALOME_MED_MICROMED}) + +ADD_SUBDIRECTORY(INTERP_KERNEL) +IF(SALOME_BUILD_TESTS) + ADD_SUBDIRECTORY(INTERP_KERNELTest) +ENDIF(SALOME_BUILD_TESTS) +ADD_SUBDIRECTORY(MEDCoupling) + +IF(SALOME_MED_ENABLE_PYTHON) + ADD_SUBDIRECTORY(MEDCoupling_Swig) +ENDIF(SALOME_MED_ENABLE_PYTHON) + +IF(NOT SALOME_MED_MICROMED) + ADD_SUBDIRECTORY(MEDLoader) + IF(SALOME_MED_ENABLE_RENUMBER) + ADD_SUBDIRECTORY(RENUMBER) + IF(SALOME_MED_ENABLE_PYTHON) + ADD_SUBDIRECTORY(RENUMBER_Swig) + ENDIF(SALOME_MED_ENABLE_PYTHON) + ENDIF(SALOME_MED_ENABLE_RENUMBER) + IF(SALOME_MED_ENABLE_PARTITIONER) + ADD_SUBDIRECTORY(MEDPartitioner) + IF(SALOME_MED_ENABLE_PYTHON) + ADD_SUBDIRECTORY(MEDPartitioner_Swig) + ENDIF(SALOME_MED_ENABLE_PYTHON) + ENDIF(SALOME_MED_ENABLE_PARTITIONER) +ENDIF(NOT SALOME_MED_MICROMED) + +IF(SALOME_USE_MPI) + ADD_SUBDIRECTORY(ParaMEDMEM) + IF(NOT SALOME_MED_MICROMED) + ADD_SUBDIRECTORY(ParaMEDLoader) + ENDIF(NOT SALOME_MED_MICROMED) + IF(SALOME_MED_ENABLE_PYTHON) + ADD_SUBDIRECTORY(ParaMEDMEM_Swig) + ENDIF(SALOME_MED_ENABLE_PYTHON) + IF(SALOME_BUILD_TESTS) + IF(NOT SALOME_MED_MICROMED) + ADD_SUBDIRECTORY(ParaMEDMEMTest) + ENDIF(NOT SALOME_MED_MICROMED) + ENDIF(SALOME_BUILD_TESTS) +ENDIF(SALOME_USE_MPI) + +# Application tests +INSTALL(FILES CTestTestfileInstall.cmake + DESTINATION ${MEDTOOL_INSTALL_TESTS} + RENAME CTestTestfile.cmake) + +INSTALL(FILES CTestTestfileInstallMEDCoupling.cmake + DESTINATION ${MEDTOOL_INSTALL_TESTS}/MEDCoupling + RENAME CTestTestfile.cmake) diff --git a/src/CTestTestfileInstall.cmake b/src/medtool/src/CTestTestfileInstall.cmake similarity index 100% rename from src/CTestTestfileInstall.cmake rename to src/medtool/src/CTestTestfileInstall.cmake diff --git a/src/CTestTestfileInstallMEDCoupling.cmake b/src/medtool/src/CTestTestfileInstallMEDCoupling.cmake similarity index 77% rename from src/CTestTestfileInstallMEDCoupling.cmake rename to src/medtool/src/CTestTestfileInstallMEDCoupling.cmake index 498ec4ba1..b1a8785b6 100644 --- a/src/CTestTestfileInstallMEDCoupling.cmake +++ b/src/medtool/src/CTestTestfileInstallMEDCoupling.cmake @@ -19,17 +19,13 @@ SET(COMPONENT_NAME MEDCOUPLING) -SUBDIRS(INTERP_KERNELTest) -SUBDIRS(MEDCalculator) +#SUBDIRS(INTERP_KERNELTest) SUBDIRS(MEDCoupling) -#SUBDIRS(MEDCouplingCorba) -#SUBDIRS(MEDCouplingCorba_Swig) -SUBDIRS(MEDCoupling_Swig) -SUBDIRS(MEDLoader) -SUBDIRS(MEDLoader/Swig) -#SUBDIRS(MEDCalc) -SUBDIRS(MEDPartitioner) +#SUBDIRS(MEDCoupling_Swig) +#SUBDIRS(MEDLoader) +#SUBDIRS(MEDLoader/Swig) +#SUBDIRS(MEDPartitioner) #SUBDIRS(ParaMEDMEM_Swig) #SUBDIRS(ParaMEDMEMTest) -SUBDIRS(MEDPartitioner_Swig) -SUBDIRS(RENUMBER_Swig) +#SUBDIRS(MEDPartitioner_Swig) +#SUBDIRS(RENUMBER_Swig) diff --git a/src/INTERP_KERNEL/BBTree.txx b/src/medtool/src/INTERP_KERNEL/BBTree.txx similarity index 100% rename from src/INTERP_KERNEL/BBTree.txx rename to src/medtool/src/INTERP_KERNEL/BBTree.txx diff --git a/src/INTERP_KERNEL/BBTreeDst.txx b/src/medtool/src/INTERP_KERNEL/BBTreeDst.txx similarity index 100% rename from src/INTERP_KERNEL/BBTreeDst.txx rename to src/medtool/src/INTERP_KERNEL/BBTreeDst.txx diff --git a/src/INTERP_KERNEL/BBTreePts.txx b/src/medtool/src/INTERP_KERNEL/BBTreePts.txx similarity index 100% rename from src/INTERP_KERNEL/BBTreePts.txx rename to src/medtool/src/INTERP_KERNEL/BBTreePts.txx diff --git a/src/INTERP_KERNEL/Barycentric3DIntersectorP1P1.hxx b/src/medtool/src/INTERP_KERNEL/Barycentric3DIntersectorP1P1.hxx similarity index 100% rename from src/INTERP_KERNEL/Barycentric3DIntersectorP1P1.hxx rename to src/medtool/src/INTERP_KERNEL/Barycentric3DIntersectorP1P1.hxx diff --git a/src/INTERP_KERNEL/Barycentric3DIntersectorP1P1.txx b/src/medtool/src/INTERP_KERNEL/Barycentric3DIntersectorP1P1.txx similarity index 100% rename from src/INTERP_KERNEL/Barycentric3DIntersectorP1P1.txx rename to src/medtool/src/INTERP_KERNEL/Barycentric3DIntersectorP1P1.txx diff --git a/src/INTERP_KERNEL/Bases/InterpKernelAutoPtr.hxx b/src/medtool/src/INTERP_KERNEL/Bases/InterpKernelAutoPtr.hxx similarity index 100% rename from src/INTERP_KERNEL/Bases/InterpKernelAutoPtr.hxx rename to src/medtool/src/INTERP_KERNEL/Bases/InterpKernelAutoPtr.hxx diff --git a/src/INTERP_KERNEL/Bases/InterpKernelException.cxx b/src/medtool/src/INTERP_KERNEL/Bases/InterpKernelException.cxx similarity index 100% rename from src/INTERP_KERNEL/Bases/InterpKernelException.cxx rename to src/medtool/src/INTERP_KERNEL/Bases/InterpKernelException.cxx diff --git a/src/INTERP_KERNEL/Bases/InterpKernelException.hxx b/src/medtool/src/INTERP_KERNEL/Bases/InterpKernelException.hxx similarity index 100% rename from src/INTERP_KERNEL/Bases/InterpKernelException.hxx rename to src/medtool/src/INTERP_KERNEL/Bases/InterpKernelException.hxx diff --git a/src/INTERP_KERNEL/Bases/InterpKernelHashFun.hxx b/src/medtool/src/INTERP_KERNEL/Bases/InterpKernelHashFun.hxx similarity index 100% rename from src/INTERP_KERNEL/Bases/InterpKernelHashFun.hxx rename to src/medtool/src/INTERP_KERNEL/Bases/InterpKernelHashFun.hxx diff --git a/src/INTERP_KERNEL/Bases/InterpKernelHashMap.hxx b/src/medtool/src/INTERP_KERNEL/Bases/InterpKernelHashMap.hxx similarity index 100% rename from src/INTERP_KERNEL/Bases/InterpKernelHashMap.hxx rename to src/medtool/src/INTERP_KERNEL/Bases/InterpKernelHashMap.hxx diff --git a/src/INTERP_KERNEL/Bases/InterpKernelHashTable.hxx b/src/medtool/src/INTERP_KERNEL/Bases/InterpKernelHashTable.hxx similarity index 100% rename from src/INTERP_KERNEL/Bases/InterpKernelHashTable.hxx rename to src/medtool/src/INTERP_KERNEL/Bases/InterpKernelHashTable.hxx diff --git a/src/INTERP_KERNEL/Bases/InterpKernelStlExt.hxx b/src/medtool/src/INTERP_KERNEL/Bases/InterpKernelStlExt.hxx similarity index 100% rename from src/INTERP_KERNEL/Bases/InterpKernelStlExt.hxx rename to src/medtool/src/INTERP_KERNEL/Bases/InterpKernelStlExt.hxx diff --git a/src/INTERP_KERNEL/Bases/NormalizedGeometricTypes b/src/medtool/src/INTERP_KERNEL/Bases/NormalizedGeometricTypes similarity index 100% rename from src/INTERP_KERNEL/Bases/NormalizedGeometricTypes rename to src/medtool/src/INTERP_KERNEL/Bases/NormalizedGeometricTypes diff --git a/src/INTERP_KERNEL/Bases/NormalizedUnstructuredMesh.hxx b/src/medtool/src/INTERP_KERNEL/Bases/NormalizedUnstructuredMesh.hxx similarity index 100% rename from src/INTERP_KERNEL/Bases/NormalizedUnstructuredMesh.hxx rename to src/medtool/src/INTERP_KERNEL/Bases/NormalizedUnstructuredMesh.hxx diff --git a/src/INTERP_KERNEL/BoundingBox.cxx b/src/medtool/src/INTERP_KERNEL/BoundingBox.cxx similarity index 100% rename from src/INTERP_KERNEL/BoundingBox.cxx rename to src/medtool/src/INTERP_KERNEL/BoundingBox.cxx diff --git a/src/INTERP_KERNEL/BoundingBox.hxx b/src/medtool/src/INTERP_KERNEL/BoundingBox.hxx similarity index 100% rename from src/INTERP_KERNEL/BoundingBox.hxx rename to src/medtool/src/INTERP_KERNEL/BoundingBox.hxx diff --git a/src/INTERP_KERNEL/BoxSplittingOptions.cxx b/src/medtool/src/INTERP_KERNEL/BoxSplittingOptions.cxx similarity index 100% rename from src/INTERP_KERNEL/BoxSplittingOptions.cxx rename to src/medtool/src/INTERP_KERNEL/BoxSplittingOptions.cxx diff --git a/src/INTERP_KERNEL/BoxSplittingOptions.hxx b/src/medtool/src/INTERP_KERNEL/BoxSplittingOptions.hxx similarity index 100% rename from src/INTERP_KERNEL/BoxSplittingOptions.hxx rename to src/medtool/src/INTERP_KERNEL/BoxSplittingOptions.hxx diff --git a/src/INTERP_KERNEL/CMakeLists.txt b/src/medtool/src/INTERP_KERNEL/CMakeLists.txt similarity index 96% rename from src/INTERP_KERNEL/CMakeLists.txt rename to src/medtool/src/INTERP_KERNEL/CMakeLists.txt index 1fe07853b..0afa489f5 100644 --- a/src/INTERP_KERNEL/CMakeLists.txt +++ b/src/medtool/src/INTERP_KERNEL/CMakeLists.txt @@ -77,11 +77,11 @@ ENDIF(NOT WIN32) ADD_LIBRARY(interpkernel SHARED ${interpkernel_SOURCES}) SET_TARGET_PROPERTIES(interpkernel PROPERTIES COMPILE_FLAGS "${PLATFORM_MMAP}") TARGET_LINK_LIBRARIES(interpkernel ${PLATFORM_LIBS}) -INSTALL(TARGETS interpkernel EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) +INSTALL(TARGETS interpkernel EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${MEDTOOL_INSTALL_LIBS}) FILE(GLOB_RECURSE interpkernel_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx") FILE(GLOB_RECURSE interpkernel_HEADERS_TXX "${CMAKE_CURRENT_SOURCE_DIR}/*.txx") -INSTALL(FILES ${interpkernel_HEADERS_HXX} ${interpkernel_HEADERS_TXX} Bases/NormalizedGeometricTypes DESTINATION ${SALOME_INSTALL_HEADERS}) +INSTALL(FILES ${interpkernel_HEADERS_HXX} ${interpkernel_HEADERS_TXX} Bases/NormalizedGeometricTypes DESTINATION ${MEDTOOL_INSTALL_HEADERS}) # Will be used for SWIG dependencies: SET (interpkernel_HEADERS_HXX PARENT_SCOPE) diff --git a/src/INTERP_KERNEL/CellModel.cxx b/src/medtool/src/INTERP_KERNEL/CellModel.cxx similarity index 100% rename from src/INTERP_KERNEL/CellModel.cxx rename to src/medtool/src/INTERP_KERNEL/CellModel.cxx diff --git a/src/INTERP_KERNEL/CellModel.hxx b/src/medtool/src/INTERP_KERNEL/CellModel.hxx similarity index 100% rename from src/INTERP_KERNEL/CellModel.hxx rename to src/medtool/src/INTERP_KERNEL/CellModel.hxx diff --git a/src/INTERP_KERNEL/ConvexIntersector.hxx b/src/medtool/src/INTERP_KERNEL/ConvexIntersector.hxx similarity index 100% rename from src/INTERP_KERNEL/ConvexIntersector.hxx rename to src/medtool/src/INTERP_KERNEL/ConvexIntersector.hxx diff --git a/src/INTERP_KERNEL/ConvexIntersector.txx b/src/medtool/src/INTERP_KERNEL/ConvexIntersector.txx similarity index 100% rename from src/INTERP_KERNEL/ConvexIntersector.txx rename to src/medtool/src/INTERP_KERNEL/ConvexIntersector.txx diff --git a/src/INTERP_KERNEL/CurveIntersector.hxx b/src/medtool/src/INTERP_KERNEL/CurveIntersector.hxx similarity index 100% rename from src/INTERP_KERNEL/CurveIntersector.hxx rename to src/medtool/src/INTERP_KERNEL/CurveIntersector.hxx diff --git a/src/INTERP_KERNEL/CurveIntersector.txx b/src/medtool/src/INTERP_KERNEL/CurveIntersector.txx similarity index 100% rename from src/INTERP_KERNEL/CurveIntersector.txx rename to src/medtool/src/INTERP_KERNEL/CurveIntersector.txx diff --git a/src/INTERP_KERNEL/CurveIntersectorP0P0.hxx b/src/medtool/src/INTERP_KERNEL/CurveIntersectorP0P0.hxx similarity index 100% rename from src/INTERP_KERNEL/CurveIntersectorP0P0.hxx rename to src/medtool/src/INTERP_KERNEL/CurveIntersectorP0P0.hxx diff --git a/src/INTERP_KERNEL/CurveIntersectorP0P0.txx b/src/medtool/src/INTERP_KERNEL/CurveIntersectorP0P0.txx similarity index 100% rename from src/INTERP_KERNEL/CurveIntersectorP0P0.txx rename to src/medtool/src/INTERP_KERNEL/CurveIntersectorP0P0.txx diff --git a/src/INTERP_KERNEL/CurveIntersectorP0P1.hxx b/src/medtool/src/INTERP_KERNEL/CurveIntersectorP0P1.hxx similarity index 100% rename from src/INTERP_KERNEL/CurveIntersectorP0P1.hxx rename to src/medtool/src/INTERP_KERNEL/CurveIntersectorP0P1.hxx diff --git a/src/INTERP_KERNEL/CurveIntersectorP0P1.txx b/src/medtool/src/INTERP_KERNEL/CurveIntersectorP0P1.txx similarity index 100% rename from src/INTERP_KERNEL/CurveIntersectorP0P1.txx rename to src/medtool/src/INTERP_KERNEL/CurveIntersectorP0P1.txx diff --git a/src/INTERP_KERNEL/CurveIntersectorP1P0.hxx b/src/medtool/src/INTERP_KERNEL/CurveIntersectorP1P0.hxx similarity index 100% rename from src/INTERP_KERNEL/CurveIntersectorP1P0.hxx rename to src/medtool/src/INTERP_KERNEL/CurveIntersectorP1P0.hxx diff --git a/src/INTERP_KERNEL/CurveIntersectorP1P0.txx b/src/medtool/src/INTERP_KERNEL/CurveIntersectorP1P0.txx similarity index 100% rename from src/INTERP_KERNEL/CurveIntersectorP1P0.txx rename to src/medtool/src/INTERP_KERNEL/CurveIntersectorP1P0.txx diff --git a/src/INTERP_KERNEL/CurveIntersectorP1P1.hxx b/src/medtool/src/INTERP_KERNEL/CurveIntersectorP1P1.hxx similarity index 100% rename from src/INTERP_KERNEL/CurveIntersectorP1P1.hxx rename to src/medtool/src/INTERP_KERNEL/CurveIntersectorP1P1.hxx diff --git a/src/INTERP_KERNEL/CurveIntersectorP1P1.txx b/src/medtool/src/INTERP_KERNEL/CurveIntersectorP1P1.txx similarity index 100% rename from src/INTERP_KERNEL/CurveIntersectorP1P1.txx rename to src/medtool/src/INTERP_KERNEL/CurveIntersectorP1P1.txx diff --git a/src/INTERP_KERNEL/CurveIntersectorP1P1PL.hxx b/src/medtool/src/INTERP_KERNEL/CurveIntersectorP1P1PL.hxx similarity index 100% rename from src/INTERP_KERNEL/CurveIntersectorP1P1PL.hxx rename to src/medtool/src/INTERP_KERNEL/CurveIntersectorP1P1PL.hxx diff --git a/src/INTERP_KERNEL/CurveIntersectorP1P1PL.txx b/src/medtool/src/INTERP_KERNEL/CurveIntersectorP1P1PL.txx similarity index 100% rename from src/INTERP_KERNEL/CurveIntersectorP1P1PL.txx rename to src/medtool/src/INTERP_KERNEL/CurveIntersectorP1P1PL.txx diff --git a/src/INTERP_KERNEL/DiameterCalculator.cxx b/src/medtool/src/INTERP_KERNEL/DiameterCalculator.cxx similarity index 100% rename from src/INTERP_KERNEL/DiameterCalculator.cxx rename to src/medtool/src/INTERP_KERNEL/DiameterCalculator.cxx diff --git a/src/INTERP_KERNEL/DiameterCalculator.hxx b/src/medtool/src/INTERP_KERNEL/DiameterCalculator.hxx similarity index 100% rename from src/INTERP_KERNEL/DiameterCalculator.hxx rename to src/medtool/src/INTERP_KERNEL/DiameterCalculator.hxx diff --git a/src/INTERP_KERNEL/DirectedBoundingBox.cxx b/src/medtool/src/INTERP_KERNEL/DirectedBoundingBox.cxx similarity index 100% rename from src/INTERP_KERNEL/DirectedBoundingBox.cxx rename to src/medtool/src/INTERP_KERNEL/DirectedBoundingBox.cxx diff --git a/src/INTERP_KERNEL/DirectedBoundingBox.hxx b/src/medtool/src/INTERP_KERNEL/DirectedBoundingBox.hxx similarity index 100% rename from src/INTERP_KERNEL/DirectedBoundingBox.hxx rename to src/medtool/src/INTERP_KERNEL/DirectedBoundingBox.hxx diff --git a/src/INTERP_KERNEL/ExprEval/InterpKernelAsmX86.cxx b/src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelAsmX86.cxx similarity index 100% rename from src/INTERP_KERNEL/ExprEval/InterpKernelAsmX86.cxx rename to src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelAsmX86.cxx diff --git a/src/INTERP_KERNEL/ExprEval/InterpKernelAsmX86.hxx b/src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelAsmX86.hxx similarity index 100% rename from src/INTERP_KERNEL/ExprEval/InterpKernelAsmX86.hxx rename to src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelAsmX86.hxx diff --git a/src/INTERP_KERNEL/ExprEval/InterpKernelExprParser.cxx b/src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelExprParser.cxx similarity index 100% rename from src/INTERP_KERNEL/ExprEval/InterpKernelExprParser.cxx rename to src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelExprParser.cxx diff --git a/src/INTERP_KERNEL/ExprEval/InterpKernelExprParser.hxx b/src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelExprParser.hxx similarity index 100% rename from src/INTERP_KERNEL/ExprEval/InterpKernelExprParser.hxx rename to src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelExprParser.hxx diff --git a/src/INTERP_KERNEL/ExprEval/InterpKernelFunction.cxx b/src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelFunction.cxx similarity index 100% rename from src/INTERP_KERNEL/ExprEval/InterpKernelFunction.cxx rename to src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelFunction.cxx diff --git a/src/INTERP_KERNEL/ExprEval/InterpKernelFunction.hxx b/src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelFunction.hxx similarity index 100% rename from src/INTERP_KERNEL/ExprEval/InterpKernelFunction.hxx rename to src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelFunction.hxx diff --git a/src/INTERP_KERNEL/ExprEval/InterpKernelUnit.cxx b/src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelUnit.cxx similarity index 100% rename from src/INTERP_KERNEL/ExprEval/InterpKernelUnit.cxx rename to src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelUnit.cxx diff --git a/src/INTERP_KERNEL/ExprEval/InterpKernelUnit.hxx b/src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelUnit.hxx similarity index 100% rename from src/INTERP_KERNEL/ExprEval/InterpKernelUnit.hxx rename to src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelUnit.hxx diff --git a/src/INTERP_KERNEL/ExprEval/InterpKernelValue.cxx b/src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelValue.cxx similarity index 100% rename from src/INTERP_KERNEL/ExprEval/InterpKernelValue.cxx rename to src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelValue.cxx diff --git a/src/INTERP_KERNEL/ExprEval/InterpKernelValue.hxx b/src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelValue.hxx similarity index 100% rename from src/INTERP_KERNEL/ExprEval/InterpKernelValue.hxx rename to src/medtool/src/INTERP_KERNEL/ExprEval/InterpKernelValue.hxx diff --git a/src/INTERP_KERNEL/GaussPoints/InterpKernelGaussCoords.cxx b/src/medtool/src/INTERP_KERNEL/GaussPoints/InterpKernelGaussCoords.cxx similarity index 100% rename from src/INTERP_KERNEL/GaussPoints/InterpKernelGaussCoords.cxx rename to src/medtool/src/INTERP_KERNEL/GaussPoints/InterpKernelGaussCoords.cxx diff --git a/src/INTERP_KERNEL/GaussPoints/InterpKernelGaussCoords.hxx b/src/medtool/src/INTERP_KERNEL/GaussPoints/InterpKernelGaussCoords.hxx similarity index 100% rename from src/INTERP_KERNEL/GaussPoints/InterpKernelGaussCoords.hxx rename to src/medtool/src/INTERP_KERNEL/GaussPoints/InterpKernelGaussCoords.hxx diff --git a/src/INTERP_KERNEL/GenMathFormulae.hxx b/src/medtool/src/INTERP_KERNEL/GenMathFormulae.hxx similarity index 100% rename from src/INTERP_KERNEL/GenMathFormulae.hxx rename to src/medtool/src/INTERP_KERNEL/GenMathFormulae.hxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DAbstractEdge.cxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DAbstractEdge.cxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DAbstractEdge.cxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DAbstractEdge.cxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DAbstractEdge.hxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DAbstractEdge.hxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DAbstractEdge.hxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DAbstractEdge.hxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DBounds.cxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DBounds.cxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DBounds.cxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DBounds.cxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DBounds.hxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DBounds.hxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DBounds.hxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DBounds.hxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DComposedEdge.cxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DComposedEdge.cxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DComposedEdge.cxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DComposedEdge.cxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DComposedEdge.hxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DComposedEdge.hxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DComposedEdge.hxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DComposedEdge.hxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdge.cxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdge.cxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdge.cxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdge.cxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdge.hxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdge.hxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdge.hxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdge.hxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdge.txx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdge.txx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdge.txx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdge.txx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeArcCircle.cxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeArcCircle.cxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeArcCircle.cxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeArcCircle.cxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeArcCircle.hxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeArcCircle.hxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeArcCircle.hxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeArcCircle.hxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeInfLin.cxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeInfLin.cxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeInfLin.cxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeInfLin.cxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeInfLin.hxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeInfLin.hxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeInfLin.hxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeInfLin.hxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeLin.cxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeLin.cxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeLin.cxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeLin.cxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeLin.hxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeLin.hxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeLin.hxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeLin.hxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DElementaryEdge.cxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DElementaryEdge.cxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DElementaryEdge.cxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DElementaryEdge.cxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DElementaryEdge.hxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DElementaryEdge.hxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DElementaryEdge.hxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DElementaryEdge.hxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DNode.cxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DNode.cxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DNode.cxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DNode.cxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DNode.hxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DNode.hxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DNode.hxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DNode.hxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DPrecision.cxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DPrecision.cxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DPrecision.cxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DPrecision.cxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DPrecision.hxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DPrecision.hxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DPrecision.hxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DPrecision.hxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DQuadraticPolygon.cxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DQuadraticPolygon.cxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DQuadraticPolygon.cxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DQuadraticPolygon.cxx diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DQuadraticPolygon.hxx b/src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DQuadraticPolygon.hxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DQuadraticPolygon.hxx rename to src/medtool/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DQuadraticPolygon.hxx diff --git a/src/INTERP_KERNEL/Geometric2DIntersector.hxx b/src/medtool/src/INTERP_KERNEL/Geometric2DIntersector.hxx similarity index 100% rename from src/INTERP_KERNEL/Geometric2DIntersector.hxx rename to src/medtool/src/INTERP_KERNEL/Geometric2DIntersector.hxx diff --git a/src/INTERP_KERNEL/Geometric2DIntersector.txx b/src/medtool/src/INTERP_KERNEL/Geometric2DIntersector.txx similarity index 100% rename from src/INTERP_KERNEL/Geometric2DIntersector.txx rename to src/medtool/src/INTERP_KERNEL/Geometric2DIntersector.txx diff --git a/src/INTERP_KERNEL/INTERPKERNELDefines.hxx b/src/medtool/src/INTERP_KERNEL/INTERPKERNELDefines.hxx similarity index 100% rename from src/INTERP_KERNEL/INTERPKERNELDefines.hxx rename to src/medtool/src/INTERP_KERNEL/INTERPKERNELDefines.hxx diff --git a/src/INTERP_KERNEL/IntegralUniformIntersector.hxx b/src/medtool/src/INTERP_KERNEL/IntegralUniformIntersector.hxx similarity index 100% rename from src/INTERP_KERNEL/IntegralUniformIntersector.hxx rename to src/medtool/src/INTERP_KERNEL/IntegralUniformIntersector.hxx diff --git a/src/INTERP_KERNEL/IntegralUniformIntersector.txx b/src/medtool/src/INTERP_KERNEL/IntegralUniformIntersector.txx similarity index 100% rename from src/INTERP_KERNEL/IntegralUniformIntersector.txx rename to src/medtool/src/INTERP_KERNEL/IntegralUniformIntersector.txx diff --git a/src/INTERP_KERNEL/InterpKernelCellSimplify.cxx b/src/medtool/src/INTERP_KERNEL/InterpKernelCellSimplify.cxx similarity index 100% rename from src/INTERP_KERNEL/InterpKernelCellSimplify.cxx rename to src/medtool/src/INTERP_KERNEL/InterpKernelCellSimplify.cxx diff --git a/src/INTERP_KERNEL/InterpKernelCellSimplify.hxx b/src/medtool/src/INTERP_KERNEL/InterpKernelCellSimplify.hxx similarity index 100% rename from src/INTERP_KERNEL/InterpKernelCellSimplify.hxx rename to src/medtool/src/INTERP_KERNEL/InterpKernelCellSimplify.hxx diff --git a/src/INTERP_KERNEL/InterpKernelMatrix.hxx b/src/medtool/src/INTERP_KERNEL/InterpKernelMatrix.hxx similarity index 100% rename from src/INTERP_KERNEL/InterpKernelMatrix.hxx rename to src/medtool/src/INTERP_KERNEL/InterpKernelMatrix.hxx diff --git a/src/INTERP_KERNEL/InterpKernelMatrixTools.cxx b/src/medtool/src/INTERP_KERNEL/InterpKernelMatrixTools.cxx similarity index 100% rename from src/INTERP_KERNEL/InterpKernelMatrixTools.cxx rename to src/medtool/src/INTERP_KERNEL/InterpKernelMatrixTools.cxx diff --git a/src/INTERP_KERNEL/InterpKernelMatrixTools.hxx b/src/medtool/src/INTERP_KERNEL/InterpKernelMatrixTools.hxx similarity index 100% rename from src/INTERP_KERNEL/InterpKernelMatrixTools.hxx rename to src/medtool/src/INTERP_KERNEL/InterpKernelMatrixTools.hxx diff --git a/src/INTERP_KERNEL/InterpKernelMeshQuality.cxx b/src/medtool/src/INTERP_KERNEL/InterpKernelMeshQuality.cxx similarity index 100% rename from src/INTERP_KERNEL/InterpKernelMeshQuality.cxx rename to src/medtool/src/INTERP_KERNEL/InterpKernelMeshQuality.cxx diff --git a/src/INTERP_KERNEL/InterpKernelMeshQuality.hxx b/src/medtool/src/INTERP_KERNEL/InterpKernelMeshQuality.hxx similarity index 100% rename from src/INTERP_KERNEL/InterpKernelMeshQuality.hxx rename to src/medtool/src/INTERP_KERNEL/InterpKernelMeshQuality.hxx diff --git a/src/INTERP_KERNEL/InterpKernelUtilities.hxx b/src/medtool/src/INTERP_KERNEL/InterpKernelUtilities.hxx similarity index 100% rename from src/INTERP_KERNEL/InterpKernelUtilities.hxx rename to src/medtool/src/INTERP_KERNEL/InterpKernelUtilities.hxx diff --git a/src/INTERP_KERNEL/Interpolation.hxx b/src/medtool/src/INTERP_KERNEL/Interpolation.hxx similarity index 100% rename from src/INTERP_KERNEL/Interpolation.hxx rename to src/medtool/src/INTERP_KERNEL/Interpolation.hxx diff --git a/src/INTERP_KERNEL/Interpolation.txx b/src/medtool/src/INTERP_KERNEL/Interpolation.txx similarity index 100% rename from src/INTERP_KERNEL/Interpolation.txx rename to src/medtool/src/INTERP_KERNEL/Interpolation.txx diff --git a/src/INTERP_KERNEL/Interpolation1D.hxx b/src/medtool/src/INTERP_KERNEL/Interpolation1D.hxx similarity index 100% rename from src/INTERP_KERNEL/Interpolation1D.hxx rename to src/medtool/src/INTERP_KERNEL/Interpolation1D.hxx diff --git a/src/INTERP_KERNEL/Interpolation1D.txx b/src/medtool/src/INTERP_KERNEL/Interpolation1D.txx similarity index 100% rename from src/INTERP_KERNEL/Interpolation1D.txx rename to src/medtool/src/INTERP_KERNEL/Interpolation1D.txx diff --git a/src/INTERP_KERNEL/Interpolation2D.hxx b/src/medtool/src/INTERP_KERNEL/Interpolation2D.hxx similarity index 100% rename from src/INTERP_KERNEL/Interpolation2D.hxx rename to src/medtool/src/INTERP_KERNEL/Interpolation2D.hxx diff --git a/src/INTERP_KERNEL/Interpolation2D.txx b/src/medtool/src/INTERP_KERNEL/Interpolation2D.txx similarity index 100% rename from src/INTERP_KERNEL/Interpolation2D.txx rename to src/medtool/src/INTERP_KERNEL/Interpolation2D.txx diff --git a/src/INTERP_KERNEL/Interpolation2D1D.hxx b/src/medtool/src/INTERP_KERNEL/Interpolation2D1D.hxx similarity index 100% rename from src/INTERP_KERNEL/Interpolation2D1D.hxx rename to src/medtool/src/INTERP_KERNEL/Interpolation2D1D.hxx diff --git a/src/INTERP_KERNEL/Interpolation2D1D.txx b/src/medtool/src/INTERP_KERNEL/Interpolation2D1D.txx similarity index 100% rename from src/INTERP_KERNEL/Interpolation2D1D.txx rename to src/medtool/src/INTERP_KERNEL/Interpolation2D1D.txx diff --git a/src/INTERP_KERNEL/Interpolation2DCurve.cxx b/src/medtool/src/INTERP_KERNEL/Interpolation2DCurve.cxx similarity index 100% rename from src/INTERP_KERNEL/Interpolation2DCurve.cxx rename to src/medtool/src/INTERP_KERNEL/Interpolation2DCurve.cxx diff --git a/src/INTERP_KERNEL/Interpolation2DCurve.hxx b/src/medtool/src/INTERP_KERNEL/Interpolation2DCurve.hxx similarity index 100% rename from src/INTERP_KERNEL/Interpolation2DCurve.hxx rename to src/medtool/src/INTERP_KERNEL/Interpolation2DCurve.hxx diff --git a/src/INTERP_KERNEL/Interpolation3D.cxx b/src/medtool/src/INTERP_KERNEL/Interpolation3D.cxx similarity index 100% rename from src/INTERP_KERNEL/Interpolation3D.cxx rename to src/medtool/src/INTERP_KERNEL/Interpolation3D.cxx diff --git a/src/INTERP_KERNEL/Interpolation3D.hxx b/src/medtool/src/INTERP_KERNEL/Interpolation3D.hxx similarity index 100% rename from src/INTERP_KERNEL/Interpolation3D.hxx rename to src/medtool/src/INTERP_KERNEL/Interpolation3D.hxx diff --git a/src/INTERP_KERNEL/Interpolation3D.txx b/src/medtool/src/INTERP_KERNEL/Interpolation3D.txx similarity index 100% rename from src/INTERP_KERNEL/Interpolation3D.txx rename to src/medtool/src/INTERP_KERNEL/Interpolation3D.txx diff --git a/src/INTERP_KERNEL/Interpolation3D2D.cxx b/src/medtool/src/INTERP_KERNEL/Interpolation3D2D.cxx similarity index 100% rename from src/INTERP_KERNEL/Interpolation3D2D.cxx rename to src/medtool/src/INTERP_KERNEL/Interpolation3D2D.cxx diff --git a/src/INTERP_KERNEL/Interpolation3D2D.hxx b/src/medtool/src/INTERP_KERNEL/Interpolation3D2D.hxx similarity index 100% rename from src/INTERP_KERNEL/Interpolation3D2D.hxx rename to src/medtool/src/INTERP_KERNEL/Interpolation3D2D.hxx diff --git a/src/INTERP_KERNEL/Interpolation3D2D.txx b/src/medtool/src/INTERP_KERNEL/Interpolation3D2D.txx similarity index 100% rename from src/INTERP_KERNEL/Interpolation3D2D.txx rename to src/medtool/src/INTERP_KERNEL/Interpolation3D2D.txx diff --git a/src/INTERP_KERNEL/Interpolation3DSurf.cxx b/src/medtool/src/INTERP_KERNEL/Interpolation3DSurf.cxx similarity index 100% rename from src/INTERP_KERNEL/Interpolation3DSurf.cxx rename to src/medtool/src/INTERP_KERNEL/Interpolation3DSurf.cxx diff --git a/src/INTERP_KERNEL/Interpolation3DSurf.hxx b/src/medtool/src/INTERP_KERNEL/Interpolation3DSurf.hxx similarity index 100% rename from src/INTERP_KERNEL/Interpolation3DSurf.hxx rename to src/medtool/src/INTERP_KERNEL/Interpolation3DSurf.hxx diff --git a/src/INTERP_KERNEL/InterpolationCC.hxx b/src/medtool/src/INTERP_KERNEL/InterpolationCC.hxx similarity index 100% rename from src/INTERP_KERNEL/InterpolationCC.hxx rename to src/medtool/src/INTERP_KERNEL/InterpolationCC.hxx diff --git a/src/INTERP_KERNEL/InterpolationCC.txx b/src/medtool/src/INTERP_KERNEL/InterpolationCC.txx similarity index 100% rename from src/INTERP_KERNEL/InterpolationCC.txx rename to src/medtool/src/INTERP_KERNEL/InterpolationCC.txx diff --git a/src/INTERP_KERNEL/InterpolationCU.hxx b/src/medtool/src/INTERP_KERNEL/InterpolationCU.hxx similarity index 100% rename from src/INTERP_KERNEL/InterpolationCU.hxx rename to src/medtool/src/INTERP_KERNEL/InterpolationCU.hxx diff --git a/src/INTERP_KERNEL/InterpolationCU.txx b/src/medtool/src/INTERP_KERNEL/InterpolationCU.txx similarity index 100% rename from src/INTERP_KERNEL/InterpolationCU.txx rename to src/medtool/src/INTERP_KERNEL/InterpolationCU.txx diff --git a/src/INTERP_KERNEL/InterpolationCurve.hxx b/src/medtool/src/INTERP_KERNEL/InterpolationCurve.hxx similarity index 100% rename from src/INTERP_KERNEL/InterpolationCurve.hxx rename to src/medtool/src/INTERP_KERNEL/InterpolationCurve.hxx diff --git a/src/INTERP_KERNEL/InterpolationCurve.txx b/src/medtool/src/INTERP_KERNEL/InterpolationCurve.txx similarity index 100% rename from src/INTERP_KERNEL/InterpolationCurve.txx rename to src/medtool/src/INTERP_KERNEL/InterpolationCurve.txx diff --git a/src/INTERP_KERNEL/InterpolationOptions.cxx b/src/medtool/src/INTERP_KERNEL/InterpolationOptions.cxx similarity index 100% rename from src/INTERP_KERNEL/InterpolationOptions.cxx rename to src/medtool/src/INTERP_KERNEL/InterpolationOptions.cxx diff --git a/src/INTERP_KERNEL/InterpolationOptions.hxx b/src/medtool/src/INTERP_KERNEL/InterpolationOptions.hxx similarity index 100% rename from src/INTERP_KERNEL/InterpolationOptions.hxx rename to src/medtool/src/INTERP_KERNEL/InterpolationOptions.hxx diff --git a/src/INTERP_KERNEL/InterpolationPlanar.hxx b/src/medtool/src/INTERP_KERNEL/InterpolationPlanar.hxx similarity index 100% rename from src/INTERP_KERNEL/InterpolationPlanar.hxx rename to src/medtool/src/INTERP_KERNEL/InterpolationPlanar.hxx diff --git a/src/INTERP_KERNEL/InterpolationPlanar.txx b/src/medtool/src/INTERP_KERNEL/InterpolationPlanar.txx similarity index 100% rename from src/INTERP_KERNEL/InterpolationPlanar.txx rename to src/medtool/src/INTERP_KERNEL/InterpolationPlanar.txx diff --git a/src/INTERP_KERNEL/InterpolationUtils.hxx b/src/medtool/src/INTERP_KERNEL/InterpolationUtils.hxx similarity index 100% rename from src/INTERP_KERNEL/InterpolationUtils.hxx rename to src/medtool/src/INTERP_KERNEL/InterpolationUtils.hxx diff --git a/src/INTERP_KERNEL/Intersector3D.hxx b/src/medtool/src/INTERP_KERNEL/Intersector3D.hxx similarity index 100% rename from src/INTERP_KERNEL/Intersector3D.hxx rename to src/medtool/src/INTERP_KERNEL/Intersector3D.hxx diff --git a/src/INTERP_KERNEL/Intersector3D.txx b/src/medtool/src/INTERP_KERNEL/Intersector3D.txx similarity index 100% rename from src/INTERP_KERNEL/Intersector3D.txx rename to src/medtool/src/INTERP_KERNEL/Intersector3D.txx diff --git a/src/INTERP_KERNEL/Intersector3DP0P0.hxx b/src/medtool/src/INTERP_KERNEL/Intersector3DP0P0.hxx similarity index 100% rename from src/INTERP_KERNEL/Intersector3DP0P0.hxx rename to src/medtool/src/INTERP_KERNEL/Intersector3DP0P0.hxx diff --git a/src/INTERP_KERNEL/Intersector3DP0P0.txx b/src/medtool/src/INTERP_KERNEL/Intersector3DP0P0.txx similarity index 100% rename from src/INTERP_KERNEL/Intersector3DP0P0.txx rename to src/medtool/src/INTERP_KERNEL/Intersector3DP0P0.txx diff --git a/src/INTERP_KERNEL/Intersector3DP0P1.hxx b/src/medtool/src/INTERP_KERNEL/Intersector3DP0P1.hxx similarity index 100% rename from src/INTERP_KERNEL/Intersector3DP0P1.hxx rename to src/medtool/src/INTERP_KERNEL/Intersector3DP0P1.hxx diff --git a/src/INTERP_KERNEL/Intersector3DP0P1.txx b/src/medtool/src/INTERP_KERNEL/Intersector3DP0P1.txx similarity index 100% rename from src/INTERP_KERNEL/Intersector3DP0P1.txx rename to src/medtool/src/INTERP_KERNEL/Intersector3DP0P1.txx diff --git a/src/INTERP_KERNEL/Intersector3DP1P0.hxx b/src/medtool/src/INTERP_KERNEL/Intersector3DP1P0.hxx similarity index 100% rename from src/INTERP_KERNEL/Intersector3DP1P0.hxx rename to src/medtool/src/INTERP_KERNEL/Intersector3DP1P0.hxx diff --git a/src/INTERP_KERNEL/Intersector3DP1P0.txx b/src/medtool/src/INTERP_KERNEL/Intersector3DP1P0.txx similarity index 100% rename from src/INTERP_KERNEL/Intersector3DP1P0.txx rename to src/medtool/src/INTERP_KERNEL/Intersector3DP1P0.txx diff --git a/src/INTERP_KERNEL/Intersector3DP1P0Bary.hxx b/src/medtool/src/INTERP_KERNEL/Intersector3DP1P0Bary.hxx similarity index 100% rename from src/INTERP_KERNEL/Intersector3DP1P0Bary.hxx rename to src/medtool/src/INTERP_KERNEL/Intersector3DP1P0Bary.hxx diff --git a/src/INTERP_KERNEL/Intersector3DP1P0Bary.txx b/src/medtool/src/INTERP_KERNEL/Intersector3DP1P0Bary.txx similarity index 100% rename from src/INTERP_KERNEL/Intersector3DP1P0Bary.txx rename to src/medtool/src/INTERP_KERNEL/Intersector3DP1P0Bary.txx diff --git a/src/INTERP_KERNEL/Intersector3DP1P1.hxx b/src/medtool/src/INTERP_KERNEL/Intersector3DP1P1.hxx similarity index 100% rename from src/INTERP_KERNEL/Intersector3DP1P1.hxx rename to src/medtool/src/INTERP_KERNEL/Intersector3DP1P1.hxx diff --git a/src/INTERP_KERNEL/Intersector3DP1P1.txx b/src/medtool/src/INTERP_KERNEL/Intersector3DP1P1.txx similarity index 100% rename from src/INTERP_KERNEL/Intersector3DP1P1.txx rename to src/medtool/src/INTERP_KERNEL/Intersector3DP1P1.txx diff --git a/src/INTERP_KERNEL/IntersectorCU.hxx b/src/medtool/src/INTERP_KERNEL/IntersectorCU.hxx similarity index 100% rename from src/INTERP_KERNEL/IntersectorCU.hxx rename to src/medtool/src/INTERP_KERNEL/IntersectorCU.hxx diff --git a/src/INTERP_KERNEL/IntersectorCU.txx b/src/medtool/src/INTERP_KERNEL/IntersectorCU.txx similarity index 100% rename from src/INTERP_KERNEL/IntersectorCU.txx rename to src/medtool/src/INTERP_KERNEL/IntersectorCU.txx diff --git a/src/INTERP_KERNEL/IntersectorCU1D.hxx b/src/medtool/src/INTERP_KERNEL/IntersectorCU1D.hxx similarity index 100% rename from src/INTERP_KERNEL/IntersectorCU1D.hxx rename to src/medtool/src/INTERP_KERNEL/IntersectorCU1D.hxx diff --git a/src/INTERP_KERNEL/IntersectorCU1D.txx b/src/medtool/src/INTERP_KERNEL/IntersectorCU1D.txx similarity index 100% rename from src/INTERP_KERNEL/IntersectorCU1D.txx rename to src/medtool/src/INTERP_KERNEL/IntersectorCU1D.txx diff --git a/src/INTERP_KERNEL/IntersectorCU2D.hxx b/src/medtool/src/INTERP_KERNEL/IntersectorCU2D.hxx similarity index 100% rename from src/INTERP_KERNEL/IntersectorCU2D.hxx rename to src/medtool/src/INTERP_KERNEL/IntersectorCU2D.hxx diff --git a/src/INTERP_KERNEL/IntersectorCU2D.txx b/src/medtool/src/INTERP_KERNEL/IntersectorCU2D.txx similarity index 100% rename from src/INTERP_KERNEL/IntersectorCU2D.txx rename to src/medtool/src/INTERP_KERNEL/IntersectorCU2D.txx diff --git a/src/INTERP_KERNEL/IntersectorCU3D.hxx b/src/medtool/src/INTERP_KERNEL/IntersectorCU3D.hxx similarity index 100% rename from src/INTERP_KERNEL/IntersectorCU3D.hxx rename to src/medtool/src/INTERP_KERNEL/IntersectorCU3D.hxx diff --git a/src/INTERP_KERNEL/IntersectorCU3D.txx b/src/medtool/src/INTERP_KERNEL/IntersectorCU3D.txx similarity index 100% rename from src/INTERP_KERNEL/IntersectorCU3D.txx rename to src/medtool/src/INTERP_KERNEL/IntersectorCU3D.txx diff --git a/src/INTERP_KERNEL/Log.hxx b/src/medtool/src/INTERP_KERNEL/Log.hxx similarity index 100% rename from src/INTERP_KERNEL/Log.hxx rename to src/medtool/src/INTERP_KERNEL/Log.hxx diff --git a/src/INTERP_KERNEL/MeshElement.cxx b/src/medtool/src/INTERP_KERNEL/MeshElement.cxx similarity index 100% rename from src/INTERP_KERNEL/MeshElement.cxx rename to src/medtool/src/INTERP_KERNEL/MeshElement.cxx diff --git a/src/INTERP_KERNEL/MeshElement.hxx b/src/medtool/src/INTERP_KERNEL/MeshElement.hxx similarity index 100% rename from src/INTERP_KERNEL/MeshElement.hxx rename to src/medtool/src/INTERP_KERNEL/MeshElement.hxx diff --git a/src/INTERP_KERNEL/MeshElement.txx b/src/medtool/src/INTERP_KERNEL/MeshElement.txx similarity index 100% rename from src/INTERP_KERNEL/MeshElement.txx rename to src/medtool/src/INTERP_KERNEL/MeshElement.txx diff --git a/src/INTERP_KERNEL/MeshRegion.hxx b/src/medtool/src/INTERP_KERNEL/MeshRegion.hxx similarity index 100% rename from src/INTERP_KERNEL/MeshRegion.hxx rename to src/medtool/src/INTERP_KERNEL/MeshRegion.hxx diff --git a/src/INTERP_KERNEL/MeshRegion.txx b/src/medtool/src/INTERP_KERNEL/MeshRegion.txx similarity index 100% rename from src/INTERP_KERNEL/MeshRegion.txx rename to src/medtool/src/INTERP_KERNEL/MeshRegion.txx diff --git a/src/INTERP_KERNEL/MeshUtils.hxx b/src/medtool/src/INTERP_KERNEL/MeshUtils.hxx similarity index 100% rename from src/INTERP_KERNEL/MeshUtils.hxx rename to src/medtool/src/INTERP_KERNEL/MeshUtils.hxx diff --git a/src/INTERP_KERNEL/Planar2D1DIntersectorP0P0.hxx b/src/medtool/src/INTERP_KERNEL/Planar2D1DIntersectorP0P0.hxx similarity index 100% rename from src/INTERP_KERNEL/Planar2D1DIntersectorP0P0.hxx rename to src/medtool/src/INTERP_KERNEL/Planar2D1DIntersectorP0P0.hxx diff --git a/src/INTERP_KERNEL/Planar2D1DIntersectorP0P0.txx b/src/medtool/src/INTERP_KERNEL/Planar2D1DIntersectorP0P0.txx similarity index 100% rename from src/INTERP_KERNEL/Planar2D1DIntersectorP0P0.txx rename to src/medtool/src/INTERP_KERNEL/Planar2D1DIntersectorP0P0.txx diff --git a/src/INTERP_KERNEL/PlanarIntersector.hxx b/src/medtool/src/INTERP_KERNEL/PlanarIntersector.hxx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersector.hxx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersector.hxx diff --git a/src/INTERP_KERNEL/PlanarIntersector.txx b/src/medtool/src/INTERP_KERNEL/PlanarIntersector.txx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersector.txx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersector.txx diff --git a/src/INTERP_KERNEL/PlanarIntersectorP0P0.hxx b/src/medtool/src/INTERP_KERNEL/PlanarIntersectorP0P0.hxx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersectorP0P0.hxx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersectorP0P0.hxx diff --git a/src/INTERP_KERNEL/PlanarIntersectorP0P0.txx b/src/medtool/src/INTERP_KERNEL/PlanarIntersectorP0P0.txx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersectorP0P0.txx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersectorP0P0.txx diff --git a/src/INTERP_KERNEL/PlanarIntersectorP0P1.hxx b/src/medtool/src/INTERP_KERNEL/PlanarIntersectorP0P1.hxx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersectorP0P1.hxx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersectorP0P1.hxx diff --git a/src/INTERP_KERNEL/PlanarIntersectorP0P1.txx b/src/medtool/src/INTERP_KERNEL/PlanarIntersectorP0P1.txx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersectorP0P1.txx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersectorP0P1.txx diff --git a/src/INTERP_KERNEL/PlanarIntersectorP0P1Bary.hxx b/src/medtool/src/INTERP_KERNEL/PlanarIntersectorP0P1Bary.hxx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersectorP0P1Bary.hxx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersectorP0P1Bary.hxx diff --git a/src/INTERP_KERNEL/PlanarIntersectorP0P1Bary.txx b/src/medtool/src/INTERP_KERNEL/PlanarIntersectorP0P1Bary.txx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersectorP0P1Bary.txx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersectorP0P1Bary.txx diff --git a/src/INTERP_KERNEL/PlanarIntersectorP0P1PL.hxx b/src/medtool/src/INTERP_KERNEL/PlanarIntersectorP0P1PL.hxx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersectorP0P1PL.hxx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersectorP0P1PL.hxx diff --git a/src/INTERP_KERNEL/PlanarIntersectorP0P1PL.txx b/src/medtool/src/INTERP_KERNEL/PlanarIntersectorP0P1PL.txx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersectorP0P1PL.txx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersectorP0P1PL.txx diff --git a/src/INTERP_KERNEL/PlanarIntersectorP1P0.hxx b/src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P0.hxx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersectorP1P0.hxx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P0.hxx diff --git a/src/INTERP_KERNEL/PlanarIntersectorP1P0.txx b/src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P0.txx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersectorP1P0.txx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P0.txx diff --git a/src/INTERP_KERNEL/PlanarIntersectorP1P0Bary.hxx b/src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P0Bary.hxx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersectorP1P0Bary.hxx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P0Bary.hxx diff --git a/src/INTERP_KERNEL/PlanarIntersectorP1P0Bary.txx b/src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P0Bary.txx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersectorP1P0Bary.txx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P0Bary.txx diff --git a/src/INTERP_KERNEL/PlanarIntersectorP1P0PL.hxx b/src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P0PL.hxx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersectorP1P0PL.hxx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P0PL.hxx diff --git a/src/INTERP_KERNEL/PlanarIntersectorP1P0PL.txx b/src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P0PL.txx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersectorP1P0PL.txx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P0PL.txx diff --git a/src/INTERP_KERNEL/PlanarIntersectorP1P1.hxx b/src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P1.hxx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersectorP1P1.hxx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P1.hxx diff --git a/src/INTERP_KERNEL/PlanarIntersectorP1P1.txx b/src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P1.txx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersectorP1P1.txx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P1.txx diff --git a/src/INTERP_KERNEL/PlanarIntersectorP1P1PL.hxx b/src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P1PL.hxx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersectorP1P1PL.hxx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P1PL.hxx diff --git a/src/INTERP_KERNEL/PlanarIntersectorP1P1PL.txx b/src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P1PL.txx similarity index 100% rename from src/INTERP_KERNEL/PlanarIntersectorP1P1PL.txx rename to src/medtool/src/INTERP_KERNEL/PlanarIntersectorP1P1PL.txx diff --git a/src/INTERP_KERNEL/PointLocator2DIntersector.hxx b/src/medtool/src/INTERP_KERNEL/PointLocator2DIntersector.hxx similarity index 100% rename from src/INTERP_KERNEL/PointLocator2DIntersector.hxx rename to src/medtool/src/INTERP_KERNEL/PointLocator2DIntersector.hxx diff --git a/src/INTERP_KERNEL/PointLocator2DIntersector.txx b/src/medtool/src/INTERP_KERNEL/PointLocator2DIntersector.txx similarity index 100% rename from src/INTERP_KERNEL/PointLocator2DIntersector.txx rename to src/medtool/src/INTERP_KERNEL/PointLocator2DIntersector.txx diff --git a/src/INTERP_KERNEL/PointLocator3DIntersectorP0P0.hxx b/src/medtool/src/INTERP_KERNEL/PointLocator3DIntersectorP0P0.hxx similarity index 100% rename from src/INTERP_KERNEL/PointLocator3DIntersectorP0P0.hxx rename to src/medtool/src/INTERP_KERNEL/PointLocator3DIntersectorP0P0.hxx diff --git a/src/INTERP_KERNEL/PointLocator3DIntersectorP0P0.txx b/src/medtool/src/INTERP_KERNEL/PointLocator3DIntersectorP0P0.txx similarity index 100% rename from src/INTERP_KERNEL/PointLocator3DIntersectorP0P0.txx rename to src/medtool/src/INTERP_KERNEL/PointLocator3DIntersectorP0P0.txx diff --git a/src/INTERP_KERNEL/PointLocator3DIntersectorP0P1.hxx b/src/medtool/src/INTERP_KERNEL/PointLocator3DIntersectorP0P1.hxx similarity index 100% rename from src/INTERP_KERNEL/PointLocator3DIntersectorP0P1.hxx rename to src/medtool/src/INTERP_KERNEL/PointLocator3DIntersectorP0P1.hxx diff --git a/src/INTERP_KERNEL/PointLocator3DIntersectorP0P1.txx b/src/medtool/src/INTERP_KERNEL/PointLocator3DIntersectorP0P1.txx similarity index 100% rename from src/INTERP_KERNEL/PointLocator3DIntersectorP0P1.txx rename to src/medtool/src/INTERP_KERNEL/PointLocator3DIntersectorP0P1.txx diff --git a/src/INTERP_KERNEL/PointLocator3DIntersectorP1P0.hxx b/src/medtool/src/INTERP_KERNEL/PointLocator3DIntersectorP1P0.hxx similarity index 100% rename from src/INTERP_KERNEL/PointLocator3DIntersectorP1P0.hxx rename to src/medtool/src/INTERP_KERNEL/PointLocator3DIntersectorP1P0.hxx diff --git a/src/INTERP_KERNEL/PointLocator3DIntersectorP1P0.txx b/src/medtool/src/INTERP_KERNEL/PointLocator3DIntersectorP1P0.txx similarity index 100% rename from src/INTERP_KERNEL/PointLocator3DIntersectorP1P0.txx rename to src/medtool/src/INTERP_KERNEL/PointLocator3DIntersectorP1P0.txx diff --git a/src/INTERP_KERNEL/PointLocator3DIntersectorP1P1.hxx b/src/medtool/src/INTERP_KERNEL/PointLocator3DIntersectorP1P1.hxx similarity index 100% rename from src/INTERP_KERNEL/PointLocator3DIntersectorP1P1.hxx rename to src/medtool/src/INTERP_KERNEL/PointLocator3DIntersectorP1P1.hxx diff --git a/src/INTERP_KERNEL/PointLocator3DIntersectorP1P1.txx b/src/medtool/src/INTERP_KERNEL/PointLocator3DIntersectorP1P1.txx similarity index 100% rename from src/INTERP_KERNEL/PointLocator3DIntersectorP1P1.txx rename to src/medtool/src/INTERP_KERNEL/PointLocator3DIntersectorP1P1.txx diff --git a/src/INTERP_KERNEL/PointLocatorAlgos.txx b/src/medtool/src/INTERP_KERNEL/PointLocatorAlgos.txx similarity index 100% rename from src/INTERP_KERNEL/PointLocatorAlgos.txx rename to src/medtool/src/INTERP_KERNEL/PointLocatorAlgos.txx diff --git a/src/INTERP_KERNEL/PolygonAlgorithms.hxx b/src/medtool/src/INTERP_KERNEL/PolygonAlgorithms.hxx similarity index 100% rename from src/INTERP_KERNEL/PolygonAlgorithms.hxx rename to src/medtool/src/INTERP_KERNEL/PolygonAlgorithms.hxx diff --git a/src/INTERP_KERNEL/PolygonAlgorithms.txx b/src/medtool/src/INTERP_KERNEL/PolygonAlgorithms.txx similarity index 100% rename from src/INTERP_KERNEL/PolygonAlgorithms.txx rename to src/medtool/src/INTERP_KERNEL/PolygonAlgorithms.txx diff --git a/src/INTERP_KERNEL/Polyhedron3D2DIntersectorP0P0.hxx b/src/medtool/src/INTERP_KERNEL/Polyhedron3D2DIntersectorP0P0.hxx similarity index 100% rename from src/INTERP_KERNEL/Polyhedron3D2DIntersectorP0P0.hxx rename to src/medtool/src/INTERP_KERNEL/Polyhedron3D2DIntersectorP0P0.hxx diff --git a/src/INTERP_KERNEL/Polyhedron3D2DIntersectorP0P0.txx b/src/medtool/src/INTERP_KERNEL/Polyhedron3D2DIntersectorP0P0.txx similarity index 100% rename from src/INTERP_KERNEL/Polyhedron3D2DIntersectorP0P0.txx rename to src/medtool/src/INTERP_KERNEL/Polyhedron3D2DIntersectorP0P0.txx diff --git a/src/INTERP_KERNEL/PolyhedronIntersectorP0P0.hxx b/src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP0P0.hxx similarity index 100% rename from src/INTERP_KERNEL/PolyhedronIntersectorP0P0.hxx rename to src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP0P0.hxx diff --git a/src/INTERP_KERNEL/PolyhedronIntersectorP0P0.txx b/src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP0P0.txx similarity index 100% rename from src/INTERP_KERNEL/PolyhedronIntersectorP0P0.txx rename to src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP0P0.txx diff --git a/src/INTERP_KERNEL/PolyhedronIntersectorP0P1.hxx b/src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP0P1.hxx similarity index 100% rename from src/INTERP_KERNEL/PolyhedronIntersectorP0P1.hxx rename to src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP0P1.hxx diff --git a/src/INTERP_KERNEL/PolyhedronIntersectorP0P1.txx b/src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP0P1.txx similarity index 100% rename from src/INTERP_KERNEL/PolyhedronIntersectorP0P1.txx rename to src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP0P1.txx diff --git a/src/INTERP_KERNEL/PolyhedronIntersectorP1P0.hxx b/src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP1P0.hxx similarity index 100% rename from src/INTERP_KERNEL/PolyhedronIntersectorP1P0.hxx rename to src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP1P0.hxx diff --git a/src/INTERP_KERNEL/PolyhedronIntersectorP1P0.txx b/src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP1P0.txx similarity index 100% rename from src/INTERP_KERNEL/PolyhedronIntersectorP1P0.txx rename to src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP1P0.txx diff --git a/src/INTERP_KERNEL/PolyhedronIntersectorP1P0Bary.hxx b/src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP1P0Bary.hxx similarity index 100% rename from src/INTERP_KERNEL/PolyhedronIntersectorP1P0Bary.hxx rename to src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP1P0Bary.hxx diff --git a/src/INTERP_KERNEL/PolyhedronIntersectorP1P0Bary.txx b/src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP1P0Bary.txx similarity index 100% rename from src/INTERP_KERNEL/PolyhedronIntersectorP1P0Bary.txx rename to src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP1P0Bary.txx diff --git a/src/INTERP_KERNEL/PolyhedronIntersectorP1P1.hxx b/src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP1P1.hxx similarity index 100% rename from src/INTERP_KERNEL/PolyhedronIntersectorP1P1.hxx rename to src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP1P1.hxx diff --git a/src/INTERP_KERNEL/PolyhedronIntersectorP1P1.txx b/src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP1P1.txx similarity index 100% rename from src/INTERP_KERNEL/PolyhedronIntersectorP1P1.txx rename to src/medtool/src/INTERP_KERNEL/PolyhedronIntersectorP1P1.txx diff --git a/src/INTERP_KERNEL/RegionNode.hxx b/src/medtool/src/INTERP_KERNEL/RegionNode.hxx similarity index 100% rename from src/INTERP_KERNEL/RegionNode.hxx rename to src/medtool/src/INTERP_KERNEL/RegionNode.hxx diff --git a/src/INTERP_KERNEL/SplitterTetra.cxx b/src/medtool/src/INTERP_KERNEL/SplitterTetra.cxx similarity index 100% rename from src/INTERP_KERNEL/SplitterTetra.cxx rename to src/medtool/src/INTERP_KERNEL/SplitterTetra.cxx diff --git a/src/INTERP_KERNEL/SplitterTetra.hxx b/src/medtool/src/INTERP_KERNEL/SplitterTetra.hxx similarity index 100% rename from src/INTERP_KERNEL/SplitterTetra.hxx rename to src/medtool/src/INTERP_KERNEL/SplitterTetra.hxx diff --git a/src/INTERP_KERNEL/SplitterTetra.txx b/src/medtool/src/INTERP_KERNEL/SplitterTetra.txx similarity index 100% rename from src/INTERP_KERNEL/SplitterTetra.txx rename to src/medtool/src/INTERP_KERNEL/SplitterTetra.txx diff --git a/src/INTERP_KERNEL/TargetIntersector.hxx b/src/medtool/src/INTERP_KERNEL/TargetIntersector.hxx similarity index 100% rename from src/INTERP_KERNEL/TargetIntersector.hxx rename to src/medtool/src/INTERP_KERNEL/TargetIntersector.hxx diff --git a/src/INTERP_KERNEL/TetraAffineTransform.cxx b/src/medtool/src/INTERP_KERNEL/TetraAffineTransform.cxx similarity index 100% rename from src/INTERP_KERNEL/TetraAffineTransform.cxx rename to src/medtool/src/INTERP_KERNEL/TetraAffineTransform.cxx diff --git a/src/INTERP_KERNEL/TetraAffineTransform.hxx b/src/medtool/src/INTERP_KERNEL/TetraAffineTransform.hxx similarity index 100% rename from src/INTERP_KERNEL/TetraAffineTransform.hxx rename to src/medtool/src/INTERP_KERNEL/TetraAffineTransform.hxx diff --git a/src/INTERP_KERNEL/TransformedTriangle.cxx b/src/medtool/src/INTERP_KERNEL/TransformedTriangle.cxx similarity index 100% rename from src/INTERP_KERNEL/TransformedTriangle.cxx rename to src/medtool/src/INTERP_KERNEL/TransformedTriangle.cxx diff --git a/src/INTERP_KERNEL/TransformedTriangle.hxx b/src/medtool/src/INTERP_KERNEL/TransformedTriangle.hxx similarity index 100% rename from src/INTERP_KERNEL/TransformedTriangle.hxx rename to src/medtool/src/INTERP_KERNEL/TransformedTriangle.hxx diff --git a/src/INTERP_KERNEL/TransformedTriangleInline.hxx b/src/medtool/src/INTERP_KERNEL/TransformedTriangleInline.hxx similarity index 100% rename from src/INTERP_KERNEL/TransformedTriangleInline.hxx rename to src/medtool/src/INTERP_KERNEL/TransformedTriangleInline.hxx diff --git a/src/INTERP_KERNEL/TransformedTriangleIntersect.cxx b/src/medtool/src/INTERP_KERNEL/TransformedTriangleIntersect.cxx similarity index 100% rename from src/INTERP_KERNEL/TransformedTriangleIntersect.cxx rename to src/medtool/src/INTERP_KERNEL/TransformedTriangleIntersect.cxx diff --git a/src/INTERP_KERNEL/TransformedTriangleMath.cxx b/src/medtool/src/INTERP_KERNEL/TransformedTriangleMath.cxx similarity index 100% rename from src/INTERP_KERNEL/TransformedTriangleMath.cxx rename to src/medtool/src/INTERP_KERNEL/TransformedTriangleMath.cxx diff --git a/src/INTERP_KERNEL/TranslationRotationMatrix.cxx b/src/medtool/src/INTERP_KERNEL/TranslationRotationMatrix.cxx similarity index 100% rename from src/INTERP_KERNEL/TranslationRotationMatrix.cxx rename to src/medtool/src/INTERP_KERNEL/TranslationRotationMatrix.cxx diff --git a/src/INTERP_KERNEL/TranslationRotationMatrix.hxx b/src/medtool/src/INTERP_KERNEL/TranslationRotationMatrix.hxx similarity index 100% rename from src/INTERP_KERNEL/TranslationRotationMatrix.hxx rename to src/medtool/src/INTERP_KERNEL/TranslationRotationMatrix.hxx diff --git a/src/INTERP_KERNEL/TriangulationIntersector.hxx b/src/medtool/src/INTERP_KERNEL/TriangulationIntersector.hxx similarity index 100% rename from src/INTERP_KERNEL/TriangulationIntersector.hxx rename to src/medtool/src/INTERP_KERNEL/TriangulationIntersector.hxx diff --git a/src/INTERP_KERNEL/TriangulationIntersector.txx b/src/medtool/src/INTERP_KERNEL/TriangulationIntersector.txx similarity index 100% rename from src/INTERP_KERNEL/TriangulationIntersector.txx rename to src/medtool/src/INTERP_KERNEL/TriangulationIntersector.txx diff --git a/src/INTERP_KERNEL/UnitTetraIntersectionBary.cxx b/src/medtool/src/INTERP_KERNEL/UnitTetraIntersectionBary.cxx similarity index 100% rename from src/INTERP_KERNEL/UnitTetraIntersectionBary.cxx rename to src/medtool/src/INTERP_KERNEL/UnitTetraIntersectionBary.cxx diff --git a/src/INTERP_KERNEL/UnitTetraIntersectionBary.hxx b/src/medtool/src/INTERP_KERNEL/UnitTetraIntersectionBary.hxx similarity index 100% rename from src/INTERP_KERNEL/UnitTetraIntersectionBary.hxx rename to src/medtool/src/INTERP_KERNEL/UnitTetraIntersectionBary.hxx diff --git a/src/INTERP_KERNEL/VTKNormalizedUnstructuredMesh.hxx b/src/medtool/src/INTERP_KERNEL/VTKNormalizedUnstructuredMesh.hxx similarity index 100% rename from src/INTERP_KERNEL/VTKNormalizedUnstructuredMesh.hxx rename to src/medtool/src/INTERP_KERNEL/VTKNormalizedUnstructuredMesh.hxx diff --git a/src/INTERP_KERNEL/VTKNormalizedUnstructuredMesh.txx b/src/medtool/src/INTERP_KERNEL/VTKNormalizedUnstructuredMesh.txx similarity index 100% rename from src/INTERP_KERNEL/VTKNormalizedUnstructuredMesh.txx rename to src/medtool/src/INTERP_KERNEL/VTKNormalizedUnstructuredMesh.txx diff --git a/src/INTERP_KERNEL/VectorUtils.hxx b/src/medtool/src/INTERP_KERNEL/VectorUtils.hxx similarity index 100% rename from src/INTERP_KERNEL/VectorUtils.hxx rename to src/medtool/src/INTERP_KERNEL/VectorUtils.hxx diff --git a/src/INTERP_KERNEL/VolSurfFormulae.hxx b/src/medtool/src/INTERP_KERNEL/VolSurfFormulae.hxx similarity index 100% rename from src/INTERP_KERNEL/VolSurfFormulae.hxx rename to src/medtool/src/INTERP_KERNEL/VolSurfFormulae.hxx diff --git a/src/INTERP_KERNEL/VolSurfUser.cxx b/src/medtool/src/INTERP_KERNEL/VolSurfUser.cxx similarity index 100% rename from src/INTERP_KERNEL/VolSurfUser.cxx rename to src/medtool/src/INTERP_KERNEL/VolSurfUser.cxx diff --git a/src/INTERP_KERNEL/VolSurfUser.hxx b/src/medtool/src/INTERP_KERNEL/VolSurfUser.hxx similarity index 100% rename from src/INTERP_KERNEL/VolSurfUser.hxx rename to src/medtool/src/INTERP_KERNEL/VolSurfUser.hxx diff --git a/src/INTERP_KERNEL/VolSurfUser.txx b/src/medtool/src/INTERP_KERNEL/VolSurfUser.txx similarity index 100% rename from src/INTERP_KERNEL/VolSurfUser.txx rename to src/medtool/src/INTERP_KERNEL/VolSurfUser.txx diff --git a/src/INTERP_KERNELTest/BBTreeTest.cxx b/src/medtool/src/INTERP_KERNELTest/BBTreeTest.cxx similarity index 100% rename from src/INTERP_KERNELTest/BBTreeTest.cxx rename to src/medtool/src/INTERP_KERNELTest/BBTreeTest.cxx diff --git a/src/INTERP_KERNELTest/BBTreeTest.hxx b/src/medtool/src/INTERP_KERNELTest/BBTreeTest.hxx similarity index 100% rename from src/INTERP_KERNELTest/BBTreeTest.hxx rename to src/medtool/src/INTERP_KERNELTest/BBTreeTest.hxx diff --git a/src/INTERP_KERNELTest/BasicMainTest.hxx b/src/medtool/src/INTERP_KERNELTest/BasicMainTest.hxx similarity index 100% rename from src/INTERP_KERNELTest/BasicMainTest.hxx rename to src/medtool/src/INTERP_KERNELTest/BasicMainTest.hxx diff --git a/src/INTERP_KERNELTest/CMakeLists.txt b/src/medtool/src/INTERP_KERNELTest/CMakeLists.txt similarity index 83% rename from src/INTERP_KERNELTest/CMakeLists.txt rename to src/medtool/src/INTERP_KERNELTest/CMakeLists.txt index 2f125d40e..af3ddab5f 100644 --- a/src/INTERP_KERNELTest/CMakeLists.txt +++ b/src/medtool/src/INTERP_KERNELTest/CMakeLists.txt @@ -72,24 +72,29 @@ IF(NOT MED_ENABLE_MICROMED) ) ADD_EXECUTABLE(PerfTest ${PerfTest_SOURCES}) TARGET_LINK_LIBRARIES(PerfTest InterpKernelTest ${CPPUNIT_LIBRARIES} ${PLATFORM_LIBS}) - INSTALL(TARGETS PerfTest DESTINATION ${SALOME_INSTALL_BINS}) + INSTALL(TARGETS PerfTest DESTINATION ${MEDTOOL_INSTALL_BINS}) ENDIF(NOT MED_ENABLE_MICROMED) ADD_LIBRARY(InterpKernelTest SHARED ${InterpKernelTest_SOURCES}) -TARGET_LINK_LIBRARIES(InterpKernelTest medloader medcoupling interpkernel ${CPPUNIT_LIBRARIES}) + +SET(InterpKernelTest_LIBS medcoupling interpkernel ${CPPUNIT_LIBRARIES}) +IF(NOT MED_ENABLE_MICROMED) + SET(InterpKernelTest_LIBS medloader ${InterpKernelTest_LIBS}) +ENDIF(NOT MED_ENABLE_MICROMED) +TARGET_LINK_LIBRARIES(InterpKernelTest ${InterpKernelTest_LIBS}) ADD_EXECUTABLE(TestINTERP_KERNEL ${TestINTERP_KERNEL_SOURCES}) TARGET_LINK_LIBRARIES(TestINTERP_KERNEL InterpKernelTest ${CPPUNIT_LIBRARIES} ${PLATFORM_LIBS}) ADD_TEST(TestINTERP_KERNEL TestINTERP_KERNEL) -SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) +#SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) SET_TESTS_PROPERTIES(TestINTERP_KERNEL PROPERTIES ENVIRONMENT "${tests_env}") -INSTALL(TARGETS TestINTERP_KERNEL DESTINATION ${SALOME_INSTALL_BINS}) -INSTALL(TARGETS InterpKernelTest DESTINATION ${SALOME_INSTALL_LIBS}) +INSTALL(TARGETS TestINTERP_KERNEL DESTINATION ${MEDTOOL_INSTALL_BINS}) +INSTALL(TARGETS InterpKernelTest DESTINATION ${MEDTOOL_INSTALL_LIBS}) # Application tests -SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/MEDCoupling/INTERP_KERNELTest) +SET(TEST_INSTALL_DIRECTORY ${MEDTOOL_INSTALL_TESTS}/MEDCoupling/INTERP_KERNELTest) INSTALL(TARGETS TestINTERP_KERNEL InterpKernelTest DESTINATION ${TEST_INSTALL_DIRECTORY}) INSTALL(FILES CTestTestfileInstall.cmake diff --git a/src/INTERP_KERNELTest/CTestTestfileInstall.cmake b/src/medtool/src/INTERP_KERNELTest/CTestTestfileInstall.cmake similarity index 100% rename from src/INTERP_KERNELTest/CTestTestfileInstall.cmake rename to src/medtool/src/INTERP_KERNELTest/CTestTestfileInstall.cmake diff --git a/src/INTERP_KERNELTest/CppUnitTest.cxx b/src/medtool/src/INTERP_KERNELTest/CppUnitTest.cxx similarity index 100% rename from src/INTERP_KERNELTest/CppUnitTest.cxx rename to src/medtool/src/INTERP_KERNELTest/CppUnitTest.cxx diff --git a/src/INTERP_KERNELTest/CppUnitTest.hxx b/src/medtool/src/INTERP_KERNELTest/CppUnitTest.hxx similarity index 100% rename from src/INTERP_KERNELTest/CppUnitTest.hxx rename to src/medtool/src/INTERP_KERNELTest/CppUnitTest.hxx diff --git a/src/INTERP_KERNELTest/ExprEvalInterpTest.cxx b/src/medtool/src/INTERP_KERNELTest/ExprEvalInterpTest.cxx similarity index 100% rename from src/INTERP_KERNELTest/ExprEvalInterpTest.cxx rename to src/medtool/src/INTERP_KERNELTest/ExprEvalInterpTest.cxx diff --git a/src/INTERP_KERNELTest/ExprEvalInterpTest.hxx b/src/medtool/src/INTERP_KERNELTest/ExprEvalInterpTest.hxx similarity index 100% rename from src/INTERP_KERNELTest/ExprEvalInterpTest.hxx rename to src/medtool/src/INTERP_KERNELTest/ExprEvalInterpTest.hxx diff --git a/src/INTERP_KERNELTest/HexaTests.hxx b/src/medtool/src/INTERP_KERNELTest/HexaTests.hxx similarity index 100% rename from src/INTERP_KERNELTest/HexaTests.hxx rename to src/medtool/src/INTERP_KERNELTest/HexaTests.hxx diff --git a/src/INTERP_KERNELTest/InterpKernelTestExport.hxx b/src/medtool/src/INTERP_KERNELTest/InterpKernelTestExport.hxx similarity index 100% rename from src/INTERP_KERNELTest/InterpKernelTestExport.hxx rename to src/medtool/src/INTERP_KERNELTest/InterpKernelTestExport.hxx diff --git a/src/INTERP_KERNELTest/Interpolation3DTest.cxx b/src/medtool/src/INTERP_KERNELTest/Interpolation3DTest.cxx similarity index 100% rename from src/INTERP_KERNELTest/Interpolation3DTest.cxx rename to src/medtool/src/INTERP_KERNELTest/Interpolation3DTest.cxx diff --git a/src/INTERP_KERNELTest/Interpolation3DTest.hxx b/src/medtool/src/INTERP_KERNELTest/Interpolation3DTest.hxx similarity index 100% rename from src/INTERP_KERNELTest/Interpolation3DTest.hxx rename to src/medtool/src/INTERP_KERNELTest/Interpolation3DTest.hxx diff --git a/src/INTERP_KERNELTest/InterpolationOptionsTest.cxx b/src/medtool/src/INTERP_KERNELTest/InterpolationOptionsTest.cxx similarity index 100% rename from src/INTERP_KERNELTest/InterpolationOptionsTest.cxx rename to src/medtool/src/INTERP_KERNELTest/InterpolationOptionsTest.cxx diff --git a/src/INTERP_KERNELTest/InterpolationOptionsTest.hxx b/src/medtool/src/INTERP_KERNELTest/InterpolationOptionsTest.hxx similarity index 100% rename from src/INTERP_KERNELTest/InterpolationOptionsTest.hxx rename to src/medtool/src/INTERP_KERNELTest/InterpolationOptionsTest.hxx diff --git a/src/INTERP_KERNELTest/InterpolationPlanarTestSuite.hxx b/src/medtool/src/INTERP_KERNELTest/InterpolationPlanarTestSuite.hxx similarity index 100% rename from src/INTERP_KERNELTest/InterpolationPlanarTestSuite.hxx rename to src/medtool/src/INTERP_KERNELTest/InterpolationPlanarTestSuite.hxx diff --git a/src/INTERP_KERNELTest/InterpolationTestSuite.hxx b/src/medtool/src/INTERP_KERNELTest/InterpolationTestSuite.hxx similarity index 100% rename from src/INTERP_KERNELTest/InterpolationTestSuite.hxx rename to src/medtool/src/INTERP_KERNELTest/InterpolationTestSuite.hxx diff --git a/src/INTERP_KERNELTest/MEDMeshMaker.cxx b/src/medtool/src/INTERP_KERNELTest/MEDMeshMaker.cxx similarity index 100% rename from src/INTERP_KERNELTest/MEDMeshMaker.cxx rename to src/medtool/src/INTERP_KERNELTest/MEDMeshMaker.cxx diff --git a/src/INTERP_KERNELTest/MEDMeshMaker.hxx b/src/medtool/src/INTERP_KERNELTest/MEDMeshMaker.hxx similarity index 100% rename from src/INTERP_KERNELTest/MEDMeshMaker.hxx rename to src/medtool/src/INTERP_KERNELTest/MEDMeshMaker.hxx diff --git a/src/INTERP_KERNELTest/MeshTestToolkit.hxx b/src/medtool/src/INTERP_KERNELTest/MeshTestToolkit.hxx similarity index 100% rename from src/INTERP_KERNELTest/MeshTestToolkit.hxx rename to src/medtool/src/INTERP_KERNELTest/MeshTestToolkit.hxx diff --git a/src/INTERP_KERNELTest/MeshTestToolkit.txx b/src/medtool/src/INTERP_KERNELTest/MeshTestToolkit.txx similarity index 100% rename from src/INTERP_KERNELTest/MeshTestToolkit.txx rename to src/medtool/src/INTERP_KERNELTest/MeshTestToolkit.txx diff --git a/src/INTERP_KERNELTest/MultiElement2DTests.hxx b/src/medtool/src/INTERP_KERNELTest/MultiElement2DTests.hxx similarity index 100% rename from src/INTERP_KERNELTest/MultiElement2DTests.hxx rename to src/medtool/src/INTERP_KERNELTest/MultiElement2DTests.hxx diff --git a/src/INTERP_KERNELTest/MultiElement3DSurfTests.hxx b/src/medtool/src/INTERP_KERNELTest/MultiElement3DSurfTests.hxx similarity index 100% rename from src/INTERP_KERNELTest/MultiElement3DSurfTests.hxx rename to src/medtool/src/INTERP_KERNELTest/MultiElement3DSurfTests.hxx diff --git a/src/INTERP_KERNELTest/MultiElementTetraTests.hxx b/src/medtool/src/INTERP_KERNELTest/MultiElementTetraTests.hxx similarity index 100% rename from src/INTERP_KERNELTest/MultiElementTetraTests.hxx rename to src/medtool/src/INTERP_KERNELTest/MultiElementTetraTests.hxx diff --git a/src/INTERP_KERNELTest/PerfTest.cxx b/src/medtool/src/INTERP_KERNELTest/PerfTest.cxx similarity index 100% rename from src/INTERP_KERNELTest/PerfTest.cxx rename to src/medtool/src/INTERP_KERNELTest/PerfTest.cxx diff --git a/src/INTERP_KERNELTest/QuadraticPlanarInterpTest.cxx b/src/medtool/src/INTERP_KERNELTest/QuadraticPlanarInterpTest.cxx similarity index 100% rename from src/INTERP_KERNELTest/QuadraticPlanarInterpTest.cxx rename to src/medtool/src/INTERP_KERNELTest/QuadraticPlanarInterpTest.cxx diff --git a/src/INTERP_KERNELTest/QuadraticPlanarInterpTest.hxx b/src/medtool/src/INTERP_KERNELTest/QuadraticPlanarInterpTest.hxx similarity index 100% rename from src/INTERP_KERNELTest/QuadraticPlanarInterpTest.hxx rename to src/medtool/src/INTERP_KERNELTest/QuadraticPlanarInterpTest.hxx diff --git a/src/INTERP_KERNELTest/QuadraticPlanarInterpTest2.cxx b/src/medtool/src/INTERP_KERNELTest/QuadraticPlanarInterpTest2.cxx similarity index 100% rename from src/INTERP_KERNELTest/QuadraticPlanarInterpTest2.cxx rename to src/medtool/src/INTERP_KERNELTest/QuadraticPlanarInterpTest2.cxx diff --git a/src/INTERP_KERNELTest/QuadraticPlanarInterpTest3.cxx b/src/medtool/src/INTERP_KERNELTest/QuadraticPlanarInterpTest3.cxx similarity index 100% rename from src/INTERP_KERNELTest/QuadraticPlanarInterpTest3.cxx rename to src/medtool/src/INTERP_KERNELTest/QuadraticPlanarInterpTest3.cxx diff --git a/src/INTERP_KERNELTest/QuadraticPlanarInterpTest4.cxx b/src/medtool/src/INTERP_KERNELTest/QuadraticPlanarInterpTest4.cxx similarity index 100% rename from src/INTERP_KERNELTest/QuadraticPlanarInterpTest4.cxx rename to src/medtool/src/INTERP_KERNELTest/QuadraticPlanarInterpTest4.cxx diff --git a/src/INTERP_KERNELTest/QuadraticPlanarInterpTest5.cxx b/src/medtool/src/INTERP_KERNELTest/QuadraticPlanarInterpTest5.cxx similarity index 100% rename from src/INTERP_KERNELTest/QuadraticPlanarInterpTest5.cxx rename to src/medtool/src/INTERP_KERNELTest/QuadraticPlanarInterpTest5.cxx diff --git a/src/INTERP_KERNELTest/SingleElementPlanarTests.cxx b/src/medtool/src/INTERP_KERNELTest/SingleElementPlanarTests.cxx similarity index 100% rename from src/INTERP_KERNELTest/SingleElementPlanarTests.cxx rename to src/medtool/src/INTERP_KERNELTest/SingleElementPlanarTests.cxx diff --git a/src/INTERP_KERNELTest/SingleElementPlanarTests.hxx b/src/medtool/src/INTERP_KERNELTest/SingleElementPlanarTests.hxx similarity index 100% rename from src/INTERP_KERNELTest/SingleElementPlanarTests.hxx rename to src/medtool/src/INTERP_KERNELTest/SingleElementPlanarTests.hxx diff --git a/src/INTERP_KERNELTest/SingleElementTetraTests.hxx b/src/medtool/src/INTERP_KERNELTest/SingleElementTetraTests.hxx similarity index 100% rename from src/INTERP_KERNELTest/SingleElementTetraTests.hxx rename to src/medtool/src/INTERP_KERNELTest/SingleElementTetraTests.hxx diff --git a/src/INTERP_KERNELTest/TestInterpKernel.cxx b/src/medtool/src/INTERP_KERNELTest/TestInterpKernel.cxx similarity index 100% rename from src/INTERP_KERNELTest/TestInterpKernel.cxx rename to src/medtool/src/INTERP_KERNELTest/TestInterpKernel.cxx diff --git a/src/INTERP_KERNELTest/TestInterpKernelUtils.cxx b/src/medtool/src/INTERP_KERNELTest/TestInterpKernelUtils.cxx similarity index 100% rename from src/INTERP_KERNELTest/TestInterpKernelUtils.cxx rename to src/medtool/src/INTERP_KERNELTest/TestInterpKernelUtils.cxx diff --git a/src/INTERP_KERNELTest/TestInterpKernelUtils.hxx b/src/medtool/src/INTERP_KERNELTest/TestInterpKernelUtils.hxx similarity index 100% rename from src/INTERP_KERNELTest/TestInterpKernelUtils.hxx rename to src/medtool/src/INTERP_KERNELTest/TestInterpKernelUtils.hxx diff --git a/src/INTERP_KERNELTest/ThreeDSurfProjectionTest.cxx b/src/medtool/src/INTERP_KERNELTest/ThreeDSurfProjectionTest.cxx similarity index 100% rename from src/INTERP_KERNELTest/ThreeDSurfProjectionTest.cxx rename to src/medtool/src/INTERP_KERNELTest/ThreeDSurfProjectionTest.cxx diff --git a/src/INTERP_KERNELTest/ThreeDSurfProjectionTest.hxx b/src/medtool/src/INTERP_KERNELTest/ThreeDSurfProjectionTest.hxx similarity index 100% rename from src/INTERP_KERNELTest/ThreeDSurfProjectionTest.hxx rename to src/medtool/src/INTERP_KERNELTest/ThreeDSurfProjectionTest.hxx diff --git a/src/INTERP_KERNELTest/TransformedTriangleIntersectTest.cxx b/src/medtool/src/INTERP_KERNELTest/TransformedTriangleIntersectTest.cxx similarity index 100% rename from src/INTERP_KERNELTest/TransformedTriangleIntersectTest.cxx rename to src/medtool/src/INTERP_KERNELTest/TransformedTriangleIntersectTest.cxx diff --git a/src/INTERP_KERNELTest/TransformedTriangleIntersectTest.hxx b/src/medtool/src/INTERP_KERNELTest/TransformedTriangleIntersectTest.hxx similarity index 100% rename from src/INTERP_KERNELTest/TransformedTriangleIntersectTest.hxx rename to src/medtool/src/INTERP_KERNELTest/TransformedTriangleIntersectTest.hxx diff --git a/src/INTERP_KERNELTest/TransformedTriangleTest.cxx b/src/medtool/src/INTERP_KERNELTest/TransformedTriangleTest.cxx similarity index 100% rename from src/INTERP_KERNELTest/TransformedTriangleTest.cxx rename to src/medtool/src/INTERP_KERNELTest/TransformedTriangleTest.cxx diff --git a/src/INTERP_KERNELTest/TransformedTriangleTest.hxx b/src/medtool/src/INTERP_KERNELTest/TransformedTriangleTest.hxx similarity index 100% rename from src/INTERP_KERNELTest/TransformedTriangleTest.hxx rename to src/medtool/src/INTERP_KERNELTest/TransformedTriangleTest.hxx diff --git a/src/INTERP_KERNELTest/UnitTetra3D2DIntersectionTest.cxx b/src/medtool/src/INTERP_KERNELTest/UnitTetra3D2DIntersectionTest.cxx similarity index 100% rename from src/INTERP_KERNELTest/UnitTetra3D2DIntersectionTest.cxx rename to src/medtool/src/INTERP_KERNELTest/UnitTetra3D2DIntersectionTest.cxx diff --git a/src/INTERP_KERNELTest/UnitTetra3D2DIntersectionTest.hxx b/src/medtool/src/INTERP_KERNELTest/UnitTetra3D2DIntersectionTest.hxx similarity index 100% rename from src/INTERP_KERNELTest/UnitTetra3D2DIntersectionTest.hxx rename to src/medtool/src/INTERP_KERNELTest/UnitTetra3D2DIntersectionTest.hxx diff --git a/src/INTERP_KERNELTest/UnitTetraIntersectionBaryTest.cxx b/src/medtool/src/INTERP_KERNELTest/UnitTetraIntersectionBaryTest.cxx similarity index 100% rename from src/INTERP_KERNELTest/UnitTetraIntersectionBaryTest.cxx rename to src/medtool/src/INTERP_KERNELTest/UnitTetraIntersectionBaryTest.cxx diff --git a/src/INTERP_KERNELTest/UnitTetraIntersectionBaryTest.hxx b/src/medtool/src/INTERP_KERNELTest/UnitTetraIntersectionBaryTest.hxx similarity index 100% rename from src/INTERP_KERNELTest/UnitTetraIntersectionBaryTest.hxx rename to src/medtool/src/INTERP_KERNELTest/UnitTetraIntersectionBaryTest.hxx diff --git a/src/INTERP_KERNELTest/perf_test.py b/src/medtool/src/INTERP_KERNELTest/perf_test.py similarity index 100% rename from src/INTERP_KERNELTest/perf_test.py rename to src/medtool/src/INTERP_KERNELTest/perf_test.py diff --git a/src/INTERP_KERNELTest/perf_test.sh b/src/medtool/src/INTERP_KERNELTest/perf_test.sh similarity index 100% rename from src/INTERP_KERNELTest/perf_test.sh rename to src/medtool/src/INTERP_KERNELTest/perf_test.sh diff --git a/src/MEDCoupling/CMakeLists.txt b/src/medtool/src/MEDCoupling/CMakeLists.txt similarity index 95% rename from src/MEDCoupling/CMakeLists.txt rename to src/medtool/src/MEDCoupling/CMakeLists.txt index 014f69a41..2d7d53fcb 100644 --- a/src/MEDCoupling/CMakeLists.txt +++ b/src/medtool/src/MEDCoupling/CMakeLists.txt @@ -68,15 +68,15 @@ SET(medcouplingremapper_SOURCES ADD_LIBRARY(medcoupling SHARED ${medcoupling_SOURCES}) TARGET_LINK_LIBRARIES(medcoupling interpkernel) -INSTALL(TARGETS medcoupling EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) +INSTALL(TARGETS medcoupling EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${MEDTOOL_INSTALL_LIBS}) ADD_LIBRARY(medcouplingremapper SHARED ${medcouplingremapper_SOURCES}) TARGET_LINK_LIBRARIES(medcouplingremapper medcoupling) -INSTALL(TARGETS medcouplingremapper EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) +INSTALL(TARGETS medcouplingremapper EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${MEDTOOL_INSTALL_LIBS}) FILE(GLOB medcoupling_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx") FILE(GLOB medcoupling_HEADERS_TXX "${CMAKE_CURRENT_SOURCE_DIR}/*.txx") -INSTALL(FILES ${medcoupling_HEADERS_HXX} ${medcoupling_HEADERS_TXX} MEDCouplingNatureOfFieldEnum DESTINATION ${SALOME_INSTALL_HEADERS}) +INSTALL(FILES ${medcoupling_HEADERS_HXX} ${medcoupling_HEADERS_TXX} MEDCouplingNatureOfFieldEnum DESTINATION ${MEDTOOL_INSTALL_HEADERS}) # To allow usage as SWIG dependencies: SET(medcoupling_HEADERS_HXX PARENT_SCOPE) diff --git a/src/MEDCoupling/MEDCoupling.hxx b/src/medtool/src/MEDCoupling/MEDCoupling.hxx similarity index 100% rename from src/MEDCoupling/MEDCoupling.hxx rename to src/medtool/src/MEDCoupling/MEDCoupling.hxx diff --git a/src/MEDCoupling/MEDCoupling1GTUMesh.cxx b/src/medtool/src/MEDCoupling/MEDCoupling1GTUMesh.cxx similarity index 100% rename from src/MEDCoupling/MEDCoupling1GTUMesh.cxx rename to src/medtool/src/MEDCoupling/MEDCoupling1GTUMesh.cxx diff --git a/src/MEDCoupling/MEDCoupling1GTUMesh.hxx b/src/medtool/src/MEDCoupling/MEDCoupling1GTUMesh.hxx similarity index 100% rename from src/MEDCoupling/MEDCoupling1GTUMesh.hxx rename to src/medtool/src/MEDCoupling/MEDCoupling1GTUMesh.hxx diff --git a/src/MEDCoupling/MEDCouplingAMRAttribute.cxx b/src/medtool/src/MEDCoupling/MEDCouplingAMRAttribute.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingAMRAttribute.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingAMRAttribute.cxx diff --git a/src/MEDCoupling/MEDCouplingAMRAttribute.hxx b/src/medtool/src/MEDCoupling/MEDCouplingAMRAttribute.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingAMRAttribute.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingAMRAttribute.hxx diff --git a/src/MEDCoupling/MEDCouplingAutoRefCountObjectPtr.hxx b/src/medtool/src/MEDCoupling/MEDCouplingAutoRefCountObjectPtr.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingAutoRefCountObjectPtr.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingAutoRefCountObjectPtr.hxx diff --git a/src/MEDCoupling/MEDCouplingCMesh.cxx b/src/medtool/src/MEDCoupling/MEDCouplingCMesh.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingCMesh.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingCMesh.cxx diff --git a/src/MEDCoupling/MEDCouplingCMesh.hxx b/src/medtool/src/MEDCoupling/MEDCouplingCMesh.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingCMesh.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingCMesh.hxx diff --git a/src/MEDCoupling/MEDCouplingCartesianAMRMesh.cxx b/src/medtool/src/MEDCoupling/MEDCouplingCartesianAMRMesh.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingCartesianAMRMesh.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingCartesianAMRMesh.cxx diff --git a/src/MEDCoupling/MEDCouplingCartesianAMRMesh.hxx b/src/medtool/src/MEDCoupling/MEDCouplingCartesianAMRMesh.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingCartesianAMRMesh.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingCartesianAMRMesh.hxx diff --git a/src/MEDCoupling/MEDCouplingCurveLinearMesh.cxx b/src/medtool/src/MEDCoupling/MEDCouplingCurveLinearMesh.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingCurveLinearMesh.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingCurveLinearMesh.cxx diff --git a/src/MEDCoupling/MEDCouplingCurveLinearMesh.hxx b/src/medtool/src/MEDCoupling/MEDCouplingCurveLinearMesh.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingCurveLinearMesh.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingCurveLinearMesh.hxx diff --git a/src/MEDCoupling/MEDCouplingDefinitionTime.cxx b/src/medtool/src/MEDCoupling/MEDCouplingDefinitionTime.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingDefinitionTime.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingDefinitionTime.cxx diff --git a/src/MEDCoupling/MEDCouplingDefinitionTime.hxx b/src/medtool/src/MEDCoupling/MEDCouplingDefinitionTime.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingDefinitionTime.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingDefinitionTime.hxx diff --git a/src/MEDCoupling/MEDCouplingExtrudedMesh.cxx b/src/medtool/src/MEDCoupling/MEDCouplingExtrudedMesh.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingExtrudedMesh.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingExtrudedMesh.cxx diff --git a/src/MEDCoupling/MEDCouplingExtrudedMesh.hxx b/src/medtool/src/MEDCoupling/MEDCouplingExtrudedMesh.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingExtrudedMesh.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingExtrudedMesh.hxx diff --git a/src/MEDCoupling/MEDCouplingField.cxx b/src/medtool/src/MEDCoupling/MEDCouplingField.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingField.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingField.cxx diff --git a/src/MEDCoupling/MEDCouplingField.hxx b/src/medtool/src/MEDCoupling/MEDCouplingField.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingField.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingField.hxx diff --git a/src/MEDCoupling/MEDCouplingFieldDiscretization.cxx b/src/medtool/src/MEDCoupling/MEDCouplingFieldDiscretization.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingFieldDiscretization.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingFieldDiscretization.cxx diff --git a/src/MEDCoupling/MEDCouplingFieldDiscretization.hxx b/src/medtool/src/MEDCoupling/MEDCouplingFieldDiscretization.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingFieldDiscretization.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingFieldDiscretization.hxx diff --git a/src/MEDCoupling/MEDCouplingFieldDouble.cxx b/src/medtool/src/MEDCoupling/MEDCouplingFieldDouble.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingFieldDouble.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingFieldDouble.cxx diff --git a/src/MEDCoupling/MEDCouplingFieldDouble.hxx b/src/medtool/src/MEDCoupling/MEDCouplingFieldDouble.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingFieldDouble.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingFieldDouble.hxx diff --git a/src/MEDCoupling/MEDCouplingFieldOverTime.cxx b/src/medtool/src/MEDCoupling/MEDCouplingFieldOverTime.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingFieldOverTime.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingFieldOverTime.cxx diff --git a/src/MEDCoupling/MEDCouplingFieldOverTime.hxx b/src/medtool/src/MEDCoupling/MEDCouplingFieldOverTime.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingFieldOverTime.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingFieldOverTime.hxx diff --git a/src/MEDCoupling/MEDCouplingFieldTemplate.cxx b/src/medtool/src/MEDCoupling/MEDCouplingFieldTemplate.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingFieldTemplate.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingFieldTemplate.cxx diff --git a/src/MEDCoupling/MEDCouplingFieldTemplate.hxx b/src/medtool/src/MEDCoupling/MEDCouplingFieldTemplate.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingFieldTemplate.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingFieldTemplate.hxx diff --git a/src/MEDCoupling/MEDCouplingGaussLocalization.cxx b/src/medtool/src/MEDCoupling/MEDCouplingGaussLocalization.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingGaussLocalization.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingGaussLocalization.cxx diff --git a/src/MEDCoupling/MEDCouplingGaussLocalization.hxx b/src/medtool/src/MEDCoupling/MEDCouplingGaussLocalization.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingGaussLocalization.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingGaussLocalization.hxx diff --git a/src/MEDCoupling/MEDCouplingIMesh.cxx b/src/medtool/src/MEDCoupling/MEDCouplingIMesh.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingIMesh.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingIMesh.cxx diff --git a/src/MEDCoupling/MEDCouplingIMesh.hxx b/src/medtool/src/MEDCoupling/MEDCouplingIMesh.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingIMesh.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingIMesh.hxx diff --git a/src/MEDCoupling/MEDCouplingMatrix.cxx b/src/medtool/src/MEDCoupling/MEDCouplingMatrix.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingMatrix.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingMatrix.cxx diff --git a/src/MEDCoupling/MEDCouplingMatrix.hxx b/src/medtool/src/MEDCoupling/MEDCouplingMatrix.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingMatrix.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingMatrix.hxx diff --git a/src/MEDCoupling/MEDCouplingMemArray.cxx b/src/medtool/src/MEDCoupling/MEDCouplingMemArray.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingMemArray.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingMemArray.cxx diff --git a/src/MEDCoupling/MEDCouplingMemArray.hxx b/src/medtool/src/MEDCoupling/MEDCouplingMemArray.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingMemArray.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingMemArray.hxx diff --git a/src/MEDCoupling/MEDCouplingMemArray.txx b/src/medtool/src/MEDCoupling/MEDCouplingMemArray.txx similarity index 100% rename from src/MEDCoupling/MEDCouplingMemArray.txx rename to src/medtool/src/MEDCoupling/MEDCouplingMemArray.txx diff --git a/src/MEDCoupling/MEDCouplingMemArrayChar.cxx b/src/medtool/src/MEDCoupling/MEDCouplingMemArrayChar.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingMemArrayChar.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingMemArrayChar.cxx diff --git a/src/MEDCoupling/MEDCouplingMesh.cxx b/src/medtool/src/MEDCoupling/MEDCouplingMesh.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingMesh.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingMesh.cxx diff --git a/src/MEDCoupling/MEDCouplingMesh.hxx b/src/medtool/src/MEDCoupling/MEDCouplingMesh.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingMesh.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingMesh.hxx diff --git a/src/MEDCoupling/MEDCouplingMultiFields.cxx b/src/medtool/src/MEDCoupling/MEDCouplingMultiFields.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingMultiFields.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingMultiFields.cxx diff --git a/src/MEDCoupling/MEDCouplingMultiFields.hxx b/src/medtool/src/MEDCoupling/MEDCouplingMultiFields.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingMultiFields.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingMultiFields.hxx diff --git a/src/MEDCoupling/MEDCouplingNatureOfField.cxx b/src/medtool/src/MEDCoupling/MEDCouplingNatureOfField.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingNatureOfField.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingNatureOfField.cxx diff --git a/src/MEDCoupling/MEDCouplingNatureOfField.hxx b/src/medtool/src/MEDCoupling/MEDCouplingNatureOfField.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingNatureOfField.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingNatureOfField.hxx diff --git a/src/MEDCoupling/MEDCouplingNatureOfFieldEnum b/src/medtool/src/MEDCoupling/MEDCouplingNatureOfFieldEnum similarity index 100% rename from src/MEDCoupling/MEDCouplingNatureOfFieldEnum rename to src/medtool/src/MEDCoupling/MEDCouplingNatureOfFieldEnum diff --git a/src/MEDCoupling/MEDCouplingNormalizedCartesianMesh.hxx b/src/medtool/src/MEDCoupling/MEDCouplingNormalizedCartesianMesh.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingNormalizedCartesianMesh.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingNormalizedCartesianMesh.hxx diff --git a/src/MEDCoupling/MEDCouplingNormalizedCartesianMesh.txx b/src/medtool/src/MEDCoupling/MEDCouplingNormalizedCartesianMesh.txx similarity index 100% rename from src/MEDCoupling/MEDCouplingNormalizedCartesianMesh.txx rename to src/medtool/src/MEDCoupling/MEDCouplingNormalizedCartesianMesh.txx diff --git a/src/MEDCoupling/MEDCouplingNormalizedUnstructuredMesh.hxx b/src/medtool/src/MEDCoupling/MEDCouplingNormalizedUnstructuredMesh.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingNormalizedUnstructuredMesh.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingNormalizedUnstructuredMesh.hxx diff --git a/src/MEDCoupling/MEDCouplingNormalizedUnstructuredMesh.txx b/src/medtool/src/MEDCoupling/MEDCouplingNormalizedUnstructuredMesh.txx similarity index 100% rename from src/MEDCoupling/MEDCouplingNormalizedUnstructuredMesh.txx rename to src/medtool/src/MEDCoupling/MEDCouplingNormalizedUnstructuredMesh.txx diff --git a/src/MEDCoupling/MEDCouplingPartDefinition.cxx b/src/medtool/src/MEDCoupling/MEDCouplingPartDefinition.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingPartDefinition.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingPartDefinition.cxx diff --git a/src/MEDCoupling/MEDCouplingPartDefinition.hxx b/src/medtool/src/MEDCoupling/MEDCouplingPartDefinition.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingPartDefinition.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingPartDefinition.hxx diff --git a/src/MEDCoupling/MEDCouplingPointSet.cxx b/src/medtool/src/MEDCoupling/MEDCouplingPointSet.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingPointSet.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingPointSet.cxx diff --git a/src/MEDCoupling/MEDCouplingPointSet.hxx b/src/medtool/src/MEDCoupling/MEDCouplingPointSet.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingPointSet.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingPointSet.hxx diff --git a/src/MEDCoupling/MEDCouplingRefCountObject.cxx b/src/medtool/src/MEDCoupling/MEDCouplingRefCountObject.cxx similarity index 98% rename from src/MEDCoupling/MEDCouplingRefCountObject.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingRefCountObject.cxx index ed44ff223..080d4d265 100644 --- a/src/MEDCoupling/MEDCouplingRefCountObject.cxx +++ b/src/medtool/src/MEDCoupling/MEDCouplingRefCountObject.cxx @@ -19,7 +19,7 @@ // Author : Anthony Geay (CEA/DEN) #include "MEDCouplingRefCountObject.hxx" -#include "MED_version.h" +#include "MEDtool_version.h" #include #include @@ -28,17 +28,17 @@ using namespace ParaMEDMEM; const char *ParaMEDMEM::MEDCouplingVersionStr() { - return SALOMEMED_VERSION_STR; + return MEDTOOL_VERSION_STR; } int ParaMEDMEM::MEDCouplingVersion() { - return SALOMEMED_VERSION; + return MEDTOOL_VERSION; } void ParaMEDMEM::MEDCouplingVersionMajMinRel(int& maj, int& minor, int& releas) { - int ver=SALOMEMED_VERSION; + int ver=MEDTOOL_VERSION; maj=(ver & 0xFF0000) >> 16; minor=(ver & 0xFF00) >> 8; releas=(ver & 0xFF); diff --git a/src/MEDCoupling/MEDCouplingRefCountObject.hxx b/src/medtool/src/MEDCoupling/MEDCouplingRefCountObject.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingRefCountObject.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingRefCountObject.hxx diff --git a/src/MEDCoupling/MEDCouplingRemapper.cxx b/src/medtool/src/MEDCoupling/MEDCouplingRemapper.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingRemapper.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingRemapper.cxx diff --git a/src/MEDCoupling/MEDCouplingRemapper.hxx b/src/medtool/src/MEDCoupling/MEDCouplingRemapper.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingRemapper.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingRemapper.hxx diff --git a/src/MEDCoupling/MEDCouplingSkyLineArray.cxx b/src/medtool/src/MEDCoupling/MEDCouplingSkyLineArray.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingSkyLineArray.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingSkyLineArray.cxx diff --git a/src/MEDCoupling/MEDCouplingSkyLineArray.hxx b/src/medtool/src/MEDCoupling/MEDCouplingSkyLineArray.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingSkyLineArray.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingSkyLineArray.hxx diff --git a/src/MEDCoupling/MEDCouplingStructuredMesh.cxx b/src/medtool/src/MEDCoupling/MEDCouplingStructuredMesh.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingStructuredMesh.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingStructuredMesh.cxx diff --git a/src/MEDCoupling/MEDCouplingStructuredMesh.hxx b/src/medtool/src/MEDCoupling/MEDCouplingStructuredMesh.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingStructuredMesh.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingStructuredMesh.hxx diff --git a/src/MEDCoupling/MEDCouplingTimeDiscretization.cxx b/src/medtool/src/MEDCoupling/MEDCouplingTimeDiscretization.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingTimeDiscretization.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingTimeDiscretization.cxx diff --git a/src/MEDCoupling/MEDCouplingTimeDiscretization.hxx b/src/medtool/src/MEDCoupling/MEDCouplingTimeDiscretization.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingTimeDiscretization.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingTimeDiscretization.hxx diff --git a/src/MEDCoupling/MEDCouplingTimeLabel.cxx b/src/medtool/src/MEDCoupling/MEDCouplingTimeLabel.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingTimeLabel.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingTimeLabel.cxx diff --git a/src/MEDCoupling/MEDCouplingTimeLabel.hxx b/src/medtool/src/MEDCoupling/MEDCouplingTimeLabel.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingTimeLabel.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingTimeLabel.hxx diff --git a/src/MEDCoupling/MEDCouplingUMesh.cxx b/src/medtool/src/MEDCoupling/MEDCouplingUMesh.cxx similarity index 100% rename from src/MEDCoupling/MEDCouplingUMesh.cxx rename to src/medtool/src/MEDCoupling/MEDCouplingUMesh.cxx diff --git a/src/MEDCoupling/MEDCouplingUMesh.hxx b/src/medtool/src/MEDCoupling/MEDCouplingUMesh.hxx similarity index 100% rename from src/MEDCoupling/MEDCouplingUMesh.hxx rename to src/medtool/src/MEDCoupling/MEDCouplingUMesh.hxx diff --git a/src/MEDCoupling/Test/CMakeLists.txt b/src/medtool/src/MEDCoupling/Test/CMakeLists.txt similarity index 94% rename from src/MEDCoupling/Test/CMakeLists.txt rename to src/medtool/src/MEDCoupling/Test/CMakeLists.txt index 429c4f85a..2b8adefc7 100644 --- a/src/MEDCoupling/Test/CMakeLists.txt +++ b/src/medtool/src/MEDCoupling/Test/CMakeLists.txt @@ -54,7 +54,7 @@ SET(TestMEDCouplingExamples_SOURCES MEDCouplingBasicsTest0.cxx ) -SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) +#SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) ADD_EXECUTABLE(TestMEDCoupling ${TestMEDCoupling_SOURCES}) TARGET_LINK_LIBRARIES(TestMEDCoupling medcoupling ${CPPUNIT_LIBRARIES} ${PLATFORM_LIBS}) @@ -71,13 +71,13 @@ TARGET_LINK_LIBRARIES(TestMEDCouplingExamples medcoupling ${CPPUNIT_LIBRARIES} $ ADD_TEST(TestMEDCouplingExamples TestMEDCouplingExamples) SET_TESTS_PROPERTIES(TestMEDCouplingExamples PROPERTIES ENVIRONMENT "${tests_env}") -INSTALL(TARGETS TestMEDCoupling TestMEDCouplingRemapper TestMEDCouplingExamples DESTINATION ${SALOME_INSTALL_BINS}) +INSTALL(TARGETS TestMEDCoupling TestMEDCouplingRemapper TestMEDCouplingExamples DESTINATION ${MEDTOOL_INSTALL_BINS}) SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES UnitTestsResult) # Application tests -SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/MEDCoupling/MEDCoupling) +SET(TEST_INSTALL_DIRECTORY ${MEDTOOL_INSTALL_SCRIPT_SCRIPTS}/test/MEDCoupling/MEDCoupling) INSTALL(TARGETS TestMEDCoupling TestMEDCouplingRemapper TestMEDCouplingExamples DESTINATION ${TEST_INSTALL_DIRECTORY}) INSTALL(FILES CTestTestfileInstall.cmake diff --git a/src/MEDCoupling/Test/CTestTestfileInstall.cmake b/src/medtool/src/MEDCoupling/Test/CTestTestfileInstall.cmake similarity index 100% rename from src/MEDCoupling/Test/CTestTestfileInstall.cmake rename to src/medtool/src/MEDCoupling/Test/CTestTestfileInstall.cmake diff --git a/src/MEDCoupling/Test/MEDCouplingBasicsTest.hxx b/src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest.hxx similarity index 100% rename from src/MEDCoupling/Test/MEDCouplingBasicsTest.hxx rename to src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest.hxx diff --git a/src/MEDCoupling/Test/MEDCouplingBasicsTest0.cxx b/src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest0.cxx similarity index 100% rename from src/MEDCoupling/Test/MEDCouplingBasicsTest0.cxx rename to src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest0.cxx diff --git a/src/MEDCoupling/Test/MEDCouplingBasicsTest1.cxx b/src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest1.cxx similarity index 100% rename from src/MEDCoupling/Test/MEDCouplingBasicsTest1.cxx rename to src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest1.cxx diff --git a/src/MEDCoupling/Test/MEDCouplingBasicsTest1.hxx b/src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest1.hxx similarity index 100% rename from src/MEDCoupling/Test/MEDCouplingBasicsTest1.hxx rename to src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest1.hxx diff --git a/src/MEDCoupling/Test/MEDCouplingBasicsTest2.cxx b/src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest2.cxx similarity index 100% rename from src/MEDCoupling/Test/MEDCouplingBasicsTest2.cxx rename to src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest2.cxx diff --git a/src/MEDCoupling/Test/MEDCouplingBasicsTest2.hxx b/src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest2.hxx similarity index 100% rename from src/MEDCoupling/Test/MEDCouplingBasicsTest2.hxx rename to src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest2.hxx diff --git a/src/MEDCoupling/Test/MEDCouplingBasicsTest3.cxx b/src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest3.cxx similarity index 100% rename from src/MEDCoupling/Test/MEDCouplingBasicsTest3.cxx rename to src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest3.cxx diff --git a/src/MEDCoupling/Test/MEDCouplingBasicsTest3.hxx b/src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest3.hxx similarity index 100% rename from src/MEDCoupling/Test/MEDCouplingBasicsTest3.hxx rename to src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest3.hxx diff --git a/src/MEDCoupling/Test/MEDCouplingBasicsTest4.cxx b/src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest4.cxx similarity index 100% rename from src/MEDCoupling/Test/MEDCouplingBasicsTest4.cxx rename to src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest4.cxx diff --git a/src/MEDCoupling/Test/MEDCouplingBasicsTest4.hxx b/src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest4.hxx similarity index 100% rename from src/MEDCoupling/Test/MEDCouplingBasicsTest4.hxx rename to src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest4.hxx diff --git a/src/MEDCoupling/Test/MEDCouplingBasicsTest5.cxx b/src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest5.cxx similarity index 100% rename from src/MEDCoupling/Test/MEDCouplingBasicsTest5.cxx rename to src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest5.cxx diff --git a/src/MEDCoupling/Test/MEDCouplingBasicsTest5.hxx b/src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest5.hxx similarity index 100% rename from src/MEDCoupling/Test/MEDCouplingBasicsTest5.hxx rename to src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTest5.hxx diff --git a/src/MEDCoupling/Test/MEDCouplingBasicsTestData1.hxx b/src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTestData1.hxx similarity index 100% rename from src/MEDCoupling/Test/MEDCouplingBasicsTestData1.hxx rename to src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTestData1.hxx diff --git a/src/MEDCoupling/Test/MEDCouplingBasicsTestInterp.cxx b/src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTestInterp.cxx similarity index 100% rename from src/MEDCoupling/Test/MEDCouplingBasicsTestInterp.cxx rename to src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTestInterp.cxx diff --git a/src/MEDCoupling/Test/MEDCouplingBasicsTestInterp.hxx b/src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTestInterp.hxx similarity index 100% rename from src/MEDCoupling/Test/MEDCouplingBasicsTestInterp.hxx rename to src/medtool/src/MEDCoupling/Test/MEDCouplingBasicsTestInterp.hxx diff --git a/src/MEDCoupling/Test/MEDCouplingExamplesTest.cxx b/src/medtool/src/MEDCoupling/Test/MEDCouplingExamplesTest.cxx similarity index 100% rename from src/MEDCoupling/Test/MEDCouplingExamplesTest.cxx rename to src/medtool/src/MEDCoupling/Test/MEDCouplingExamplesTest.cxx diff --git a/src/MEDCoupling/Test/MEDCouplingRemapperTest.cxx b/src/medtool/src/MEDCoupling/Test/MEDCouplingRemapperTest.cxx similarity index 100% rename from src/MEDCoupling/Test/MEDCouplingRemapperTest.cxx rename to src/medtool/src/MEDCoupling/Test/MEDCouplingRemapperTest.cxx diff --git a/src/MEDCoupling/Test/MEDCouplingRemapperTest.hxx b/src/medtool/src/MEDCoupling/Test/MEDCouplingRemapperTest.hxx similarity index 100% rename from src/MEDCoupling/Test/MEDCouplingRemapperTest.hxx rename to src/medtool/src/MEDCoupling/Test/MEDCouplingRemapperTest.hxx diff --git a/src/MEDCoupling/Test/TestMEDCoupling.cxx b/src/medtool/src/MEDCoupling/Test/TestMEDCoupling.cxx similarity index 100% rename from src/MEDCoupling/Test/TestMEDCoupling.cxx rename to src/medtool/src/MEDCoupling/Test/TestMEDCoupling.cxx diff --git a/src/MEDCoupling/Test/TestMEDCouplingRemapper.cxx b/src/medtool/src/MEDCoupling/Test/TestMEDCouplingRemapper.cxx similarity index 100% rename from src/MEDCoupling/Test/TestMEDCouplingRemapper.cxx rename to src/medtool/src/MEDCoupling/Test/TestMEDCouplingRemapper.cxx diff --git a/src/MEDCoupling_Swig/CMakeLists.txt b/src/medtool/src/MEDCoupling_Swig/CMakeLists.txt similarity index 86% rename from src/MEDCoupling_Swig/CMakeLists.txt rename to src/medtool/src/MEDCoupling_Swig/CMakeLists.txt index 07929a88d..e0186342a 100644 --- a/src/MEDCoupling_Swig/CMakeLists.txt +++ b/src/medtool/src/MEDCoupling_Swig/CMakeLists.txt @@ -55,7 +55,7 @@ SET (SWIG_MODULE_MEDCoupling_EXTRA_DEPS ${MEDCoupling_SWIG_DPYS_FILES} # into the Python module: IF(SALOME_BUILD_DOC) LIST(APPEND SWIG_MODULE_MEDCoupling_EXTRA_FLAGS -DWITH_DOCSTRINGS) - LIST(APPEND SWIG_MODULE_MEDCoupling_EXTRA_DEPS + LIST(APPEND SWIG_MODULE_MEDCoupling_EXTRA_DEPS ${PROJECT_BINARY_DIR}/doc/MEDCoupling_doc.i swig_ready) ENDIF() @@ -79,16 +79,17 @@ IF(WIN32) SET_TARGET_PROPERTIES(_MEDCouplingRemapper PROPERTIES DEBUG_OUTPUT_NAME _MEDCouplingRemapper_d) SET_TARGET_PROPERTIES(_MEDCoupling PROPERTIES DEBUG_OUTPUT_NAME _MEDCoupling_d) ENDIF(WIN32) -INSTALL(TARGETS ${SWIG_MODULE_MEDCoupling_REAL_NAME} ${SWIG_MODULE_MEDCouplingRemapper_REAL_NAME} DESTINATION ${SALOME_INSTALL_PYTHON}) +INSTALL(TARGETS ${SWIG_MODULE_MEDCoupling_REAL_NAME} ${SWIG_MODULE_MEDCouplingRemapper_REAL_NAME} DESTINATION ${MEDTOOL_INSTALL_PYTHON}) -SET(PYFILES_TO_INSTALL ${CMAKE_CURRENT_BINARY_DIR}/MEDCoupling.py ${CMAKE_CURRENT_BINARY_DIR}/MEDCouplingRemapper.py) -SALOME_INSTALL_SCRIPTS("${PYFILES_TO_INSTALL}" ${SALOME_INSTALL_PYTHON}) +#SET(PYFILES_TO_INSTALL ${CMAKE_CURRENT_BINARY_DIR}/MEDCoupling.py ${CMAKE_CURRENT_BINARY_DIR}/MEDCouplingRemapper.py) +#SALOME_INSTALL_SCRIPTS("${PYFILES_TO_INSTALL}" ${SALOME_INSTALL_PYTHON}) +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/MEDCoupling.py ${CMAKE_CURRENT_BINARY_DIR}/MEDCouplingRemapper.py DESTINATION ${MEDTOOL_INSTALL_PYTHON}) -INSTALL(FILES MEDCoupling.i MEDCouplingCommon.i MEDCouplingRefCountObject.i MEDCouplingMemArray.i MEDCouplingFieldDiscretization.i MEDCouplingTimeDiscretization.i MEDCouplingFinalize.i MEDCouplingRemapper.i MEDCouplingTypemaps.i MEDCouplingDataArrayTypemaps.i DESTINATION ${SALOME_INSTALL_HEADERS}) -INSTALL(FILES MEDCouplingBasicsTest.py MEDCouplingRemapperTest.py MEDCouplingDataForTest.py MEDCouplingNumPyTest.py MEDCouplingPickleTest.py DESTINATION ${SALOME_INSTALL_SCRIPT_PYTHON}) -INSTALL(FILES MEDCouplingExamplesTest.py DESTINATION ${SALOME_INSTALL_SCRIPT_PYTHON}) +INSTALL(FILES MEDCoupling.i MEDCouplingCommon.i MEDCouplingRefCountObject.i MEDCouplingMemArray.i MEDCouplingFieldDiscretization.i MEDCouplingTimeDiscretization.i MEDCouplingFinalize.i MEDCouplingRemapper.i MEDCouplingTypemaps.i MEDCouplingDataArrayTypemaps.i DESTINATION ${MEDTOOL_INSTALL_HEADERS}) +INSTALL(FILES MEDCouplingBasicsTest.py MEDCouplingRemapperTest.py MEDCouplingDataForTest.py MEDCouplingNumPyTest.py MEDCouplingPickleTest.py DESTINATION ${MEDTOOL_INSTALL_SCRIPT_PYTHON}) +INSTALL(FILES MEDCouplingExamplesTest.py DESTINATION ${MEDTOOL_INSTALL_SCRIPT_PYTHON}) -SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) +#SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) ADD_TEST(MEDCouplingBasicsTest ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/MEDCouplingBasicsTest.py) SET_TESTS_PROPERTIES(MEDCouplingBasicsTest PROPERTIES ENVIRONMENT "${tests_env}") @@ -106,7 +107,7 @@ ENDIF(NUMPY_FOUND) # Application tests -SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/MEDCoupling/MEDCoupling_Swig) +SET(TEST_INSTALL_DIRECTORY ${MEDTOOL_INSTALL_SCRIPT_SCRIPTS}/test/MEDCoupling/MEDCoupling_Swig) INSTALL(FILES MEDCouplingBasicsTest.py MEDCouplingRemapperTest.py MEDCouplingDataForTest.py MEDCouplingNumPyTest.py MEDCouplingPickleTest.py MEDCouplingExamplesTest.py DESTINATION ${TEST_INSTALL_DIRECTORY}) INSTALL(FILES CTestTestfileInstall.cmake diff --git a/src/MEDCoupling_Swig/CTestTestfileInstall.cmake b/src/medtool/src/MEDCoupling_Swig/CTestTestfileInstall.cmake similarity index 100% rename from src/MEDCoupling_Swig/CTestTestfileInstall.cmake rename to src/medtool/src/MEDCoupling_Swig/CTestTestfileInstall.cmake diff --git a/src/MEDCoupling_Swig/MEDCoupling.i b/src/medtool/src/MEDCoupling_Swig/MEDCoupling.i similarity index 100% rename from src/MEDCoupling_Swig/MEDCoupling.i rename to src/medtool/src/MEDCoupling_Swig/MEDCoupling.i diff --git a/src/MEDCoupling_Swig/MEDCouplingBasicsTest.py b/src/medtool/src/MEDCoupling_Swig/MEDCouplingBasicsTest.py similarity index 100% rename from src/MEDCoupling_Swig/MEDCouplingBasicsTest.py rename to src/medtool/src/MEDCoupling_Swig/MEDCouplingBasicsTest.py diff --git a/src/MEDCoupling_Swig/MEDCouplingCommon.i b/src/medtool/src/MEDCoupling_Swig/MEDCouplingCommon.i similarity index 100% rename from src/MEDCoupling_Swig/MEDCouplingCommon.i rename to src/medtool/src/MEDCoupling_Swig/MEDCouplingCommon.i diff --git a/src/MEDCoupling_Swig/MEDCouplingDataArrayTypemaps.i b/src/medtool/src/MEDCoupling_Swig/MEDCouplingDataArrayTypemaps.i similarity index 100% rename from src/MEDCoupling_Swig/MEDCouplingDataArrayTypemaps.i rename to src/medtool/src/MEDCoupling_Swig/MEDCouplingDataArrayTypemaps.i diff --git a/src/MEDCoupling_Swig/MEDCouplingDataForTest.py b/src/medtool/src/MEDCoupling_Swig/MEDCouplingDataForTest.py similarity index 100% rename from src/MEDCoupling_Swig/MEDCouplingDataForTest.py rename to src/medtool/src/MEDCoupling_Swig/MEDCouplingDataForTest.py diff --git a/src/MEDCoupling_Swig/MEDCouplingExamplesTest.py b/src/medtool/src/MEDCoupling_Swig/MEDCouplingExamplesTest.py similarity index 100% rename from src/MEDCoupling_Swig/MEDCouplingExamplesTest.py rename to src/medtool/src/MEDCoupling_Swig/MEDCouplingExamplesTest.py diff --git a/src/MEDCoupling_Swig/MEDCouplingFieldDiscretization.i b/src/medtool/src/MEDCoupling_Swig/MEDCouplingFieldDiscretization.i similarity index 100% rename from src/MEDCoupling_Swig/MEDCouplingFieldDiscretization.i rename to src/medtool/src/MEDCoupling_Swig/MEDCouplingFieldDiscretization.i diff --git a/src/MEDCoupling_Swig/MEDCouplingFinalize.i b/src/medtool/src/MEDCoupling_Swig/MEDCouplingFinalize.i similarity index 100% rename from src/MEDCoupling_Swig/MEDCouplingFinalize.i rename to src/medtool/src/MEDCoupling_Swig/MEDCouplingFinalize.i diff --git a/src/MEDCoupling_Swig/MEDCouplingMemArray.i b/src/medtool/src/MEDCoupling_Swig/MEDCouplingMemArray.i similarity index 100% rename from src/MEDCoupling_Swig/MEDCouplingMemArray.i rename to src/medtool/src/MEDCoupling_Swig/MEDCouplingMemArray.i diff --git a/src/MEDCoupling_Swig/MEDCouplingNumPyTest.py b/src/medtool/src/MEDCoupling_Swig/MEDCouplingNumPyTest.py similarity index 100% rename from src/MEDCoupling_Swig/MEDCouplingNumPyTest.py rename to src/medtool/src/MEDCoupling_Swig/MEDCouplingNumPyTest.py diff --git a/src/MEDCoupling_Swig/MEDCouplingPickleTest.py b/src/medtool/src/MEDCoupling_Swig/MEDCouplingPickleTest.py similarity index 100% rename from src/MEDCoupling_Swig/MEDCouplingPickleTest.py rename to src/medtool/src/MEDCoupling_Swig/MEDCouplingPickleTest.py diff --git a/src/MEDCoupling_Swig/MEDCouplingRefCountObject.i b/src/medtool/src/MEDCoupling_Swig/MEDCouplingRefCountObject.i similarity index 100% rename from src/MEDCoupling_Swig/MEDCouplingRefCountObject.i rename to src/medtool/src/MEDCoupling_Swig/MEDCouplingRefCountObject.i diff --git a/src/MEDCoupling_Swig/MEDCouplingRemapper.i b/src/medtool/src/MEDCoupling_Swig/MEDCouplingRemapper.i similarity index 100% rename from src/MEDCoupling_Swig/MEDCouplingRemapper.i rename to src/medtool/src/MEDCoupling_Swig/MEDCouplingRemapper.i diff --git a/src/MEDCoupling_Swig/MEDCouplingRemapperTest.py b/src/medtool/src/MEDCoupling_Swig/MEDCouplingRemapperTest.py similarity index 100% rename from src/MEDCoupling_Swig/MEDCouplingRemapperTest.py rename to src/medtool/src/MEDCoupling_Swig/MEDCouplingRemapperTest.py diff --git a/src/MEDCoupling_Swig/MEDCouplingTimeDiscretization.i b/src/medtool/src/MEDCoupling_Swig/MEDCouplingTimeDiscretization.i similarity index 100% rename from src/MEDCoupling_Swig/MEDCouplingTimeDiscretization.i rename to src/medtool/src/MEDCoupling_Swig/MEDCouplingTimeDiscretization.i diff --git a/src/MEDCoupling_Swig/MEDCouplingTypemaps.i b/src/medtool/src/MEDCoupling_Swig/MEDCouplingTypemaps.i similarity index 100% rename from src/MEDCoupling_Swig/MEDCouplingTypemaps.i rename to src/medtool/src/MEDCoupling_Swig/MEDCouplingTypemaps.i diff --git a/src/MEDLoader/CMakeLists.txt b/src/medtool/src/MEDLoader/CMakeLists.txt similarity index 96% rename from src/MEDLoader/CMakeLists.txt rename to src/medtool/src/MEDLoader/CMakeLists.txt index 40538ed30..4794ef2e3 100644 --- a/src/MEDLoader/CMakeLists.txt +++ b/src/medtool/src/MEDLoader/CMakeLists.txt @@ -75,10 +75,10 @@ SET(medloader_SOURCES ADD_LIBRARY(medloader SHARED ${medloader_SOURCES}) SET_TARGET_PROPERTIES(medloader PROPERTIES COMPILE_FLAGS "") TARGET_LINK_LIBRARIES(medloader medcoupling ${MEDFILE_C_LIBRARIES} ${HDF5_LIBRARIES} ${MEDLOADER_XDR_LIBRARIES}) -INSTALL(TARGETS medloader EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) +INSTALL(TARGETS medloader EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${MEDTOOL_INSTALL_LIBS}) FILE(GLOB medloader_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx") -INSTALL(FILES ${medloader_HEADERS_HXX} DESTINATION ${SALOME_INSTALL_HEADERS}) +INSTALL(FILES ${medloader_HEADERS_HXX} DESTINATION ${MEDTOOL_INSTALL_HEADERS}) # To allow usage as SWIG dependencies: SET(medloader_HEADERS_HXX PARENT_SCOPE) diff --git a/src/MEDLoader/MEDFileBasis.cxx b/src/medtool/src/MEDLoader/MEDFileBasis.cxx similarity index 100% rename from src/MEDLoader/MEDFileBasis.cxx rename to src/medtool/src/MEDLoader/MEDFileBasis.cxx diff --git a/src/MEDLoader/MEDFileBasis.hxx b/src/medtool/src/MEDLoader/MEDFileBasis.hxx similarity index 100% rename from src/MEDLoader/MEDFileBasis.hxx rename to src/medtool/src/MEDLoader/MEDFileBasis.hxx diff --git a/src/MEDLoader/MEDFileData.cxx b/src/medtool/src/MEDLoader/MEDFileData.cxx similarity index 100% rename from src/MEDLoader/MEDFileData.cxx rename to src/medtool/src/MEDLoader/MEDFileData.cxx diff --git a/src/MEDLoader/MEDFileData.hxx b/src/medtool/src/MEDLoader/MEDFileData.hxx similarity index 100% rename from src/MEDLoader/MEDFileData.hxx rename to src/medtool/src/MEDLoader/MEDFileData.hxx diff --git a/src/MEDLoader/MEDFileField.cxx b/src/medtool/src/MEDLoader/MEDFileField.cxx similarity index 100% rename from src/MEDLoader/MEDFileField.cxx rename to src/medtool/src/MEDLoader/MEDFileField.cxx diff --git a/src/MEDLoader/MEDFileField.hxx b/src/medtool/src/MEDLoader/MEDFileField.hxx similarity index 100% rename from src/MEDLoader/MEDFileField.hxx rename to src/medtool/src/MEDLoader/MEDFileField.hxx diff --git a/src/MEDLoader/MEDFileFieldOverView.cxx b/src/medtool/src/MEDLoader/MEDFileFieldOverView.cxx similarity index 100% rename from src/MEDLoader/MEDFileFieldOverView.cxx rename to src/medtool/src/MEDLoader/MEDFileFieldOverView.cxx diff --git a/src/MEDLoader/MEDFileFieldOverView.hxx b/src/medtool/src/MEDLoader/MEDFileFieldOverView.hxx similarity index 100% rename from src/MEDLoader/MEDFileFieldOverView.hxx rename to src/medtool/src/MEDLoader/MEDFileFieldOverView.hxx diff --git a/src/MEDLoader/MEDFileJoint.cxx b/src/medtool/src/MEDLoader/MEDFileJoint.cxx similarity index 100% rename from src/MEDLoader/MEDFileJoint.cxx rename to src/medtool/src/MEDLoader/MEDFileJoint.cxx diff --git a/src/MEDLoader/MEDFileJoint.hxx b/src/medtool/src/MEDLoader/MEDFileJoint.hxx similarity index 100% rename from src/MEDLoader/MEDFileJoint.hxx rename to src/medtool/src/MEDLoader/MEDFileJoint.hxx diff --git a/src/MEDLoader/MEDFileMesh.cxx b/src/medtool/src/MEDLoader/MEDFileMesh.cxx similarity index 100% rename from src/MEDLoader/MEDFileMesh.cxx rename to src/medtool/src/MEDLoader/MEDFileMesh.cxx diff --git a/src/MEDLoader/MEDFileMesh.hxx b/src/medtool/src/MEDLoader/MEDFileMesh.hxx similarity index 100% rename from src/MEDLoader/MEDFileMesh.hxx rename to src/medtool/src/MEDLoader/MEDFileMesh.hxx diff --git a/src/MEDLoader/MEDFileMeshElt.cxx b/src/medtool/src/MEDLoader/MEDFileMeshElt.cxx similarity index 100% rename from src/MEDLoader/MEDFileMeshElt.cxx rename to src/medtool/src/MEDLoader/MEDFileMeshElt.cxx diff --git a/src/MEDLoader/MEDFileMeshElt.hxx b/src/medtool/src/MEDLoader/MEDFileMeshElt.hxx similarity index 100% rename from src/MEDLoader/MEDFileMeshElt.hxx rename to src/medtool/src/MEDLoader/MEDFileMeshElt.hxx diff --git a/src/MEDLoader/MEDFileMeshLL.cxx b/src/medtool/src/MEDLoader/MEDFileMeshLL.cxx similarity index 100% rename from src/MEDLoader/MEDFileMeshLL.cxx rename to src/medtool/src/MEDLoader/MEDFileMeshLL.cxx diff --git a/src/MEDLoader/MEDFileMeshLL.hxx b/src/medtool/src/MEDLoader/MEDFileMeshLL.hxx similarity index 100% rename from src/MEDLoader/MEDFileMeshLL.hxx rename to src/medtool/src/MEDLoader/MEDFileMeshLL.hxx diff --git a/src/MEDLoader/MEDFileMeshReadSelector.cxx b/src/medtool/src/MEDLoader/MEDFileMeshReadSelector.cxx similarity index 100% rename from src/MEDLoader/MEDFileMeshReadSelector.cxx rename to src/medtool/src/MEDLoader/MEDFileMeshReadSelector.cxx diff --git a/src/MEDLoader/MEDFileMeshReadSelector.hxx b/src/medtool/src/MEDLoader/MEDFileMeshReadSelector.hxx similarity index 100% rename from src/MEDLoader/MEDFileMeshReadSelector.hxx rename to src/medtool/src/MEDLoader/MEDFileMeshReadSelector.hxx diff --git a/src/MEDLoader/MEDFileParameter.cxx b/src/medtool/src/MEDLoader/MEDFileParameter.cxx similarity index 100% rename from src/MEDLoader/MEDFileParameter.cxx rename to src/medtool/src/MEDLoader/MEDFileParameter.cxx diff --git a/src/MEDLoader/MEDFileParameter.hxx b/src/medtool/src/MEDLoader/MEDFileParameter.hxx similarity index 100% rename from src/MEDLoader/MEDFileParameter.hxx rename to src/medtool/src/MEDLoader/MEDFileParameter.hxx diff --git a/src/MEDLoader/MEDFileSafeCaller.txx b/src/medtool/src/MEDLoader/MEDFileSafeCaller.txx similarity index 100% rename from src/MEDLoader/MEDFileSafeCaller.txx rename to src/medtool/src/MEDLoader/MEDFileSafeCaller.txx diff --git a/src/MEDLoader/MEDFileUtilities.cxx b/src/medtool/src/MEDLoader/MEDFileUtilities.cxx similarity index 100% rename from src/MEDLoader/MEDFileUtilities.cxx rename to src/medtool/src/MEDLoader/MEDFileUtilities.cxx diff --git a/src/MEDLoader/MEDFileUtilities.hxx b/src/medtool/src/MEDLoader/MEDFileUtilities.hxx similarity index 100% rename from src/MEDLoader/MEDFileUtilities.hxx rename to src/medtool/src/MEDLoader/MEDFileUtilities.hxx diff --git a/src/MEDLoader/MEDLoader.cxx b/src/medtool/src/MEDLoader/MEDLoader.cxx similarity index 100% rename from src/MEDLoader/MEDLoader.cxx rename to src/medtool/src/MEDLoader/MEDLoader.cxx diff --git a/src/MEDLoader/MEDLoader.hxx b/src/medtool/src/MEDLoader/MEDLoader.hxx similarity index 100% rename from src/MEDLoader/MEDLoader.hxx rename to src/medtool/src/MEDLoader/MEDLoader.hxx diff --git a/src/MEDLoader/MEDLoaderBase.cxx b/src/medtool/src/MEDLoader/MEDLoaderBase.cxx similarity index 100% rename from src/MEDLoader/MEDLoaderBase.cxx rename to src/medtool/src/MEDLoader/MEDLoaderBase.cxx diff --git a/src/MEDLoader/MEDLoaderBase.hxx b/src/medtool/src/MEDLoader/MEDLoaderBase.hxx similarity index 100% rename from src/MEDLoader/MEDLoaderBase.hxx rename to src/medtool/src/MEDLoader/MEDLoaderBase.hxx diff --git a/src/MEDLoader/MEDLoaderDefines.hxx b/src/medtool/src/MEDLoader/MEDLoaderDefines.hxx similarity index 100% rename from src/MEDLoader/MEDLoaderDefines.hxx rename to src/medtool/src/MEDLoader/MEDLoaderDefines.hxx diff --git a/src/MEDLoader/SauvMedConvertor.cxx b/src/medtool/src/MEDLoader/SauvMedConvertor.cxx similarity index 100% rename from src/MEDLoader/SauvMedConvertor.cxx rename to src/medtool/src/MEDLoader/SauvMedConvertor.cxx diff --git a/src/MEDLoader/SauvMedConvertor.hxx b/src/medtool/src/MEDLoader/SauvMedConvertor.hxx similarity index 100% rename from src/MEDLoader/SauvMedConvertor.hxx rename to src/medtool/src/MEDLoader/SauvMedConvertor.hxx diff --git a/src/MEDLoader/SauvReader.cxx b/src/medtool/src/MEDLoader/SauvReader.cxx similarity index 100% rename from src/MEDLoader/SauvReader.cxx rename to src/medtool/src/MEDLoader/SauvReader.cxx diff --git a/src/MEDLoader/SauvReader.hxx b/src/medtool/src/MEDLoader/SauvReader.hxx similarity index 100% rename from src/MEDLoader/SauvReader.hxx rename to src/medtool/src/MEDLoader/SauvReader.hxx diff --git a/src/MEDLoader/SauvUtilities.hxx b/src/medtool/src/MEDLoader/SauvUtilities.hxx similarity index 100% rename from src/MEDLoader/SauvUtilities.hxx rename to src/medtool/src/MEDLoader/SauvUtilities.hxx diff --git a/src/MEDLoader/SauvWriter.cxx b/src/medtool/src/MEDLoader/SauvWriter.cxx similarity index 100% rename from src/MEDLoader/SauvWriter.cxx rename to src/medtool/src/MEDLoader/SauvWriter.cxx diff --git a/src/MEDLoader/SauvWriter.hxx b/src/medtool/src/MEDLoader/SauvWriter.hxx similarity index 100% rename from src/MEDLoader/SauvWriter.hxx rename to src/medtool/src/MEDLoader/SauvWriter.hxx diff --git a/src/MEDLoader/Swig/CMakeLists.txt b/src/medtool/src/MEDLoader/Swig/CMakeLists.txt similarity index 86% rename from src/MEDLoader/Swig/CMakeLists.txt rename to src/medtool/src/MEDLoader/Swig/CMakeLists.txt index 6cef3ea9a..54a9a602c 100644 --- a/src/MEDLoader/Swig/CMakeLists.txt +++ b/src/medtool/src/MEDLoader/Swig/CMakeLists.txt @@ -56,7 +56,7 @@ SET (SWIG_MODULE_MEDLoader_EXTRA_DEPS ${MEDLoader_SWIG_DPYS_FILES} # into the Python module: IF(SALOME_BUILD_DOC) LIST(APPEND SWIG_MODULE_MEDLoader_EXTRA_FLAGS -DWITH_DOCSTRINGS) - LIST(APPEND SWIG_MODULE_MEDLoader_EXTRA_DEPS + LIST(APPEND SWIG_MODULE_MEDLoader_EXTRA_DEPS ${PROJECT_BINARY_DIR}/doc/MEDLoader_doc.i swig_ready) ENDIF() @@ -67,19 +67,21 @@ IF(WIN32) SET_TARGET_PROPERTIES(_MEDLoader PROPERTIES DEBUG_OUTPUT_NAME _MEDLoader_d) ENDIF(WIN32) -INSTALL(TARGETS _MEDLoader DESTINATION ${SALOME_INSTALL_PYTHON}) -INSTALL(FILES MEDLoader.i MEDLoaderTypemaps.i MEDLoaderCommon.i DESTINATION ${SALOME_INSTALL_HEADERS}) +INSTALL(TARGETS _MEDLoader DESTINATION ${MEDTOOL_INSTALL_PYTHON}) +INSTALL(FILES MEDLoader.i MEDLoaderTypemaps.i MEDLoaderCommon.i DESTINATION ${MEDTOOL_INSTALL_HEADERS}) -SET(PYFILES_TO_INSTALL ${CMAKE_CURRENT_BINARY_DIR}/MEDLoader.py) -SALOME_INSTALL_SCRIPTS("${PYFILES_TO_INSTALL}" ${SALOME_INSTALL_PYTHON}) +#SET(PYFILES_TO_INSTALL ${CMAKE_CURRENT_BINARY_DIR}/MEDLoader.py) +#SALOME_INSTALL_SCRIPTS("${PYFILES_TO_INSTALL}" ${SALOME_INSTALL_PYTHON}) +#INSTALL(FILES "${PYFILES_TO_INSTALL}" DESTINATION ${MEDTOOL_INSTALL_PYTHON}) +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/MEDLoader.py DESTINATION ${MEDTOOL_INSTALL_PYTHON}) -INSTALL(FILES MEDLoaderDataForTest.py MEDLoaderTest.py MEDLoaderTest2.py MEDLoaderTest3.py MEDLoaderTest4.py SauvLoaderTest.py MEDLoaderExamplesTest.py MEDLoaderCouplingTrainingSession.py CaseIO.py CaseReader.py CaseWriter.py VTKReader.py MEDLoaderSplitter.py medutilities.py DESTINATION ${SALOME_INSTALL_SCRIPT_SCRIPTS}) -INSTALL(FILES med2sauv PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ DESTINATION ${SALOME_INSTALL_BINS} ) -INSTALL(FILES sauv2med PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ DESTINATION ${SALOME_INSTALL_BINS} ) -INSTALL(FILES case2med PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ DESTINATION ${SALOME_INSTALL_BINS} ) -INSTALL(FILES med2case PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ DESTINATION ${SALOME_INSTALL_BINS} ) +INSTALL(FILES MEDLoaderDataForTest.py MEDLoaderTest.py MEDLoaderTest2.py MEDLoaderTest3.py MEDLoaderTest4.py SauvLoaderTest.py MEDLoaderExamplesTest.py MEDLoaderCouplingTrainingSession.py CaseIO.py CaseReader.py CaseWriter.py VTKReader.py MEDLoaderSplitter.py medutilities.py DESTINATION ${MEDTOOL_INSTALL_SCRIPT_SCRIPTS}) +INSTALL(FILES med2sauv PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ DESTINATION ${MEDTOOL_INSTALL_BINS} ) +INSTALL(FILES sauv2med PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ DESTINATION ${MEDTOOL_INSTALL_BINS} ) +INSTALL(FILES case2med PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ DESTINATION ${MEDTOOL_INSTALL_BINS} ) +INSTALL(FILES med2case PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ DESTINATION ${MEDTOOL_INSTALL_BINS} ) -SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) +#SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) ADD_TEST(MEDLoaderTest ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/MEDLoaderTest.py) SET_TESTS_PROPERTIES(MEDLoaderTest PROPERTIES ENVIRONMENT "${tests_env}") @@ -101,7 +103,7 @@ ENDIF(NUMPY_FOUND) # Application tests -SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/MEDCoupling/MEDLoader/Swig) +SET(TEST_INSTALL_DIRECTORY ${MEDTOOL_INSTALL_SCRIPT_SCRIPTS}/test/MEDCoupling/MEDLoader/Swig) INSTALL(FILES MEDLoaderDataForTest.py MEDLoaderTest.py MEDLoaderTest2.py MEDLoaderTest3.py MEDLoaderTest4.py SauvLoaderTest.py MEDLoaderExamplesTest.py MEDLoaderCouplingTrainingSession.py CaseIO.py CaseReader.py CaseWriter.py VTKReader.py MEDLoaderSplitter.py medutilities.py DESTINATION ${TEST_INSTALL_DIRECTORY}) diff --git a/src/MEDLoader/Swig/CTestTestfileInstall.cmake b/src/medtool/src/MEDLoader/Swig/CTestTestfileInstall.cmake similarity index 100% rename from src/MEDLoader/Swig/CTestTestfileInstall.cmake rename to src/medtool/src/MEDLoader/Swig/CTestTestfileInstall.cmake diff --git a/src/MEDLoader/Swig/CaseIO.py b/src/medtool/src/MEDLoader/Swig/CaseIO.py similarity index 100% rename from src/MEDLoader/Swig/CaseIO.py rename to src/medtool/src/MEDLoader/Swig/CaseIO.py diff --git a/src/MEDLoader/Swig/CaseReader.py b/src/medtool/src/MEDLoader/Swig/CaseReader.py similarity index 100% rename from src/MEDLoader/Swig/CaseReader.py rename to src/medtool/src/MEDLoader/Swig/CaseReader.py diff --git a/src/MEDLoader/Swig/CaseWriter.py b/src/medtool/src/MEDLoader/Swig/CaseWriter.py similarity index 100% rename from src/MEDLoader/Swig/CaseWriter.py rename to src/medtool/src/MEDLoader/Swig/CaseWriter.py diff --git a/src/MEDLoader/Swig/MEDLoader.i b/src/medtool/src/MEDLoader/Swig/MEDLoader.i similarity index 100% rename from src/MEDLoader/Swig/MEDLoader.i rename to src/medtool/src/MEDLoader/Swig/MEDLoader.i diff --git a/src/MEDLoader/Swig/MEDLoaderCommon.i b/src/medtool/src/MEDLoader/Swig/MEDLoaderCommon.i similarity index 100% rename from src/MEDLoader/Swig/MEDLoaderCommon.i rename to src/medtool/src/MEDLoader/Swig/MEDLoaderCommon.i diff --git a/src/MEDLoader/Swig/MEDLoaderCouplingTrainingSession.py b/src/medtool/src/MEDLoader/Swig/MEDLoaderCouplingTrainingSession.py similarity index 100% rename from src/MEDLoader/Swig/MEDLoaderCouplingTrainingSession.py rename to src/medtool/src/MEDLoader/Swig/MEDLoaderCouplingTrainingSession.py diff --git a/src/MEDLoader/Swig/MEDLoaderDataForTest.py b/src/medtool/src/MEDLoader/Swig/MEDLoaderDataForTest.py similarity index 100% rename from src/MEDLoader/Swig/MEDLoaderDataForTest.py rename to src/medtool/src/MEDLoader/Swig/MEDLoaderDataForTest.py diff --git a/src/MEDLoader/Swig/MEDLoaderExamplesTest.py b/src/medtool/src/MEDLoader/Swig/MEDLoaderExamplesTest.py similarity index 100% rename from src/MEDLoader/Swig/MEDLoaderExamplesTest.py rename to src/medtool/src/MEDLoader/Swig/MEDLoaderExamplesTest.py diff --git a/src/MEDLoader/Swig/MEDLoaderSplitter.py b/src/medtool/src/MEDLoader/Swig/MEDLoaderSplitter.py similarity index 100% rename from src/MEDLoader/Swig/MEDLoaderSplitter.py rename to src/medtool/src/MEDLoader/Swig/MEDLoaderSplitter.py diff --git a/src/MEDLoader/Swig/MEDLoaderTest.py b/src/medtool/src/MEDLoader/Swig/MEDLoaderTest.py similarity index 100% rename from src/MEDLoader/Swig/MEDLoaderTest.py rename to src/medtool/src/MEDLoader/Swig/MEDLoaderTest.py diff --git a/src/MEDLoader/Swig/MEDLoaderTest2.py b/src/medtool/src/MEDLoader/Swig/MEDLoaderTest2.py similarity index 100% rename from src/MEDLoader/Swig/MEDLoaderTest2.py rename to src/medtool/src/MEDLoader/Swig/MEDLoaderTest2.py diff --git a/src/MEDLoader/Swig/MEDLoaderTest3.py b/src/medtool/src/MEDLoader/Swig/MEDLoaderTest3.py similarity index 100% rename from src/MEDLoader/Swig/MEDLoaderTest3.py rename to src/medtool/src/MEDLoader/Swig/MEDLoaderTest3.py diff --git a/src/MEDLoader/Swig/MEDLoaderTest4.py b/src/medtool/src/MEDLoader/Swig/MEDLoaderTest4.py similarity index 100% rename from src/MEDLoader/Swig/MEDLoaderTest4.py rename to src/medtool/src/MEDLoader/Swig/MEDLoaderTest4.py diff --git a/src/MEDLoader/Swig/MEDLoaderTypemaps.i b/src/medtool/src/MEDLoader/Swig/MEDLoaderTypemaps.i similarity index 100% rename from src/MEDLoader/Swig/MEDLoaderTypemaps.i rename to src/medtool/src/MEDLoader/Swig/MEDLoaderTypemaps.i diff --git a/src/MEDLoader/Swig/SauvLoaderTest.py b/src/medtool/src/MEDLoader/Swig/SauvLoaderTest.py similarity index 100% rename from src/MEDLoader/Swig/SauvLoaderTest.py rename to src/medtool/src/MEDLoader/Swig/SauvLoaderTest.py diff --git a/src/MEDLoader/Swig/VTKReader.py b/src/medtool/src/MEDLoader/Swig/VTKReader.py similarity index 100% rename from src/MEDLoader/Swig/VTKReader.py rename to src/medtool/src/MEDLoader/Swig/VTKReader.py diff --git a/src/MEDLoader/Swig/case2med b/src/medtool/src/MEDLoader/Swig/case2med similarity index 100% rename from src/MEDLoader/Swig/case2med rename to src/medtool/src/MEDLoader/Swig/case2med diff --git a/src/MEDLoader/Swig/med2case b/src/medtool/src/MEDLoader/Swig/med2case similarity index 100% rename from src/MEDLoader/Swig/med2case rename to src/medtool/src/MEDLoader/Swig/med2case diff --git a/src/MEDLoader/Swig/med2sauv b/src/medtool/src/MEDLoader/Swig/med2sauv similarity index 100% rename from src/MEDLoader/Swig/med2sauv rename to src/medtool/src/MEDLoader/Swig/med2sauv diff --git a/src/MEDLoader/Swig/medutilities.py b/src/medtool/src/MEDLoader/Swig/medutilities.py similarity index 100% rename from src/MEDLoader/Swig/medutilities.py rename to src/medtool/src/MEDLoader/Swig/medutilities.py diff --git a/src/MEDLoader/Swig/sauv2med b/src/medtool/src/MEDLoader/Swig/sauv2med similarity index 100% rename from src/MEDLoader/Swig/sauv2med rename to src/medtool/src/MEDLoader/Swig/sauv2med diff --git a/src/MEDLoader/Test/CMakeLists.txt b/src/medtool/src/MEDLoader/Test/CMakeLists.txt similarity index 90% rename from src/MEDLoader/Test/CMakeLists.txt rename to src/medtool/src/MEDLoader/Test/CMakeLists.txt index b13a46f85..96d121401 100644 --- a/src/MEDLoader/Test/CMakeLists.txt +++ b/src/medtool/src/MEDLoader/Test/CMakeLists.txt @@ -39,7 +39,7 @@ SET(TestSauvLoader_SOURCES SauvLoaderTest.cxx ) -SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) +#SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) ADD_EXECUTABLE(TestMEDLoader ${TestMEDLoader_SOURCES}) TARGET_LINK_LIBRARIES(TestMEDLoader medloader ${CPPUNIT_LIBRARIES} ${PLATFORM_LIBS}) @@ -52,11 +52,11 @@ TARGET_LINK_LIBRARIES(TestSauvLoader medloader ${CPPUNIT_LIBRARIES} ${PLATFORM_L ADD_TEST(TestSauvLoader TestSauvLoader) SET_TESTS_PROPERTIES(TestSauvLoader PROPERTIES ENVIRONMENT "${tests_env}") -INSTALL(TARGETS TestMEDLoader TestSauvLoader DESTINATION ${SALOME_INSTALL_BINS}) +INSTALL(TARGETS TestMEDLoader TestSauvLoader DESTINATION ${MEDTOOL_INSTALL_BINS}) # Application tests -SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/MEDCoupling/MEDLoader) +SET(TEST_INSTALL_DIRECTORY ${MEDTOOL_INSTALL_SCRIPT_SCRIPTS}/test/MEDCoupling/MEDLoader) INSTALL(TARGETS TestMEDLoader TestSauvLoader DESTINATION ${TEST_INSTALL_DIRECTORY}) INSTALL(FILES CTestTestfileInstall.cmake diff --git a/src/MEDLoader/Test/CTestTestfileInstall.cmake b/src/medtool/src/MEDLoader/Test/CTestTestfileInstall.cmake similarity index 100% rename from src/MEDLoader/Test/CTestTestfileInstall.cmake rename to src/medtool/src/MEDLoader/Test/CTestTestfileInstall.cmake diff --git a/src/MEDLoader/Test/MEDLoaderTest.cxx b/src/medtool/src/MEDLoader/Test/MEDLoaderTest.cxx similarity index 100% rename from src/MEDLoader/Test/MEDLoaderTest.cxx rename to src/medtool/src/MEDLoader/Test/MEDLoaderTest.cxx diff --git a/src/MEDLoader/Test/MEDLoaderTest.hxx b/src/medtool/src/MEDLoader/Test/MEDLoaderTest.hxx similarity index 100% rename from src/MEDLoader/Test/MEDLoaderTest.hxx rename to src/medtool/src/MEDLoader/Test/MEDLoaderTest.hxx diff --git a/src/MEDLoader/Test/SauvLoaderTest.cxx b/src/medtool/src/MEDLoader/Test/SauvLoaderTest.cxx similarity index 100% rename from src/MEDLoader/Test/SauvLoaderTest.cxx rename to src/medtool/src/MEDLoader/Test/SauvLoaderTest.cxx diff --git a/src/MEDLoader/Test/SauvLoaderTest.hxx b/src/medtool/src/MEDLoader/Test/SauvLoaderTest.hxx similarity index 100% rename from src/MEDLoader/Test/SauvLoaderTest.hxx rename to src/medtool/src/MEDLoader/Test/SauvLoaderTest.hxx diff --git a/src/MEDLoader/Test/TestMEDLoader.cxx b/src/medtool/src/MEDLoader/Test/TestMEDLoader.cxx similarity index 100% rename from src/MEDLoader/Test/TestMEDLoader.cxx rename to src/medtool/src/MEDLoader/Test/TestMEDLoader.cxx diff --git a/src/MEDLoader/Test/TestSauvLoader.cxx b/src/medtool/src/MEDLoader/Test/TestSauvLoader.cxx similarity index 100% rename from src/MEDLoader/Test/TestSauvLoader.cxx rename to src/medtool/src/MEDLoader/Test/TestSauvLoader.cxx diff --git a/src/MEDPartitioner/CMakeLists.txt b/src/medtool/src/MEDPartitioner/CMakeLists.txt similarity index 94% rename from src/MEDPartitioner/CMakeLists.txt rename to src/medtool/src/MEDPartitioner/CMakeLists.txt index 2404e49f9..d1642c5cf 100644 --- a/src/MEDPartitioner/CMakeLists.txt +++ b/src/medtool/src/MEDPartitioner/CMakeLists.txt @@ -35,15 +35,15 @@ INCLUDE_DIRECTORIES( IF(SALOME_MED_PARTITIONER_METIS) ADD_DEFINITIONS(${METIS_DEFINITIONS}) - IF(SALOME_MED_METIS_V5) + IF(MEDTOOL_METIS_V5) ADD_DEFINITIONS("-DMED_ENABLE_METIS_V5") - ENDIF(SALOME_MED_METIS_V5) + ENDIF(MEDTOOL_METIS_V5) INCLUDE_DIRECTORIES(${METIS_INCLUDE_DIRS}) ENDIF(SALOME_MED_PARTITIONER_METIS) ######## -# VERY IMPORTANT PUT METIS BEFORE SCOTCH because +# VERY IMPORTANT PUT METIS BEFORE SCOTCH because # metis.h is also in SCOTCH install dir !!! ######## IF(SALOME_MED_PARTITIONER_SCOTCH) @@ -135,13 +135,13 @@ IF(${SALOME_USE_MPI}) ENDIF(${SALOME_USE_MPI}) ADD_DEFINITIONS(${medpartitionercpp_DEFINITIONS}) - + ADD_LIBRARY(medpartitionercpp SHARED ${medpartitionercpp_SOURCES}) TARGET_LINK_LIBRARIES(medpartitionercpp ${medpartitionercpp_LDFLAGS} ${PLATFORM_LIBS} ${PTHREAD_LIBS}) -INSTALL(TARGETS medpartitionercpp DESTINATION ${SALOME_INSTALL_LIBS}) +INSTALL(TARGETS medpartitionercpp DESTINATION ${MEDTOOL_INSTALL_LIBS}) ADD_EXECUTABLE(medpartitioner medpartitioner.cxx) TARGET_LINK_LIBRARIES(medpartitioner medpartitionercpp ${medpartitionercpp_LDFLAGS}) -INSTALL(TARGETS medpartitioner DESTINATION ${SALOME_INSTALL_BINS}) +INSTALL(TARGETS medpartitioner DESTINATION ${MEDTOOL_INSTALL_BINS}) -INSTALL(FILES ${medpartitionercpp_HEADERS_HXX} DESTINATION ${SALOME_INSTALL_HEADERS}) +INSTALL(FILES ${medpartitionercpp_HEADERS_HXX} DESTINATION ${MEDTOOL_INSTALL_HEADERS}) diff --git a/src/MEDPartitioner/MEDPARTITIONER.hxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER.hxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER.hxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER.hxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_ConnectZone.cxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_ConnectZone.cxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_ConnectZone.cxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_ConnectZone.cxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_ConnectZone.hxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_ConnectZone.hxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_ConnectZone.hxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_ConnectZone.hxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_Graph.cxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_Graph.cxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_Graph.cxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_Graph.cxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_Graph.hxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_Graph.hxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_Graph.hxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_Graph.hxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_JointFinder.cxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_JointFinder.cxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_JointFinder.cxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_JointFinder.cxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_JointFinder.hxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_JointFinder.hxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_JointFinder.hxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_JointFinder.hxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.cxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.cxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.cxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.cxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.hxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.hxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.hxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.hxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_MeshCollection.cxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_MeshCollection.cxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_MeshCollection.cxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_MeshCollection.cxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_MeshCollection.hxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_MeshCollection.hxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_MeshCollection.hxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_MeshCollection.hxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionDriver.cxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionDriver.cxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_MeshCollectionDriver.cxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionDriver.cxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionDriver.hxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionDriver.hxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_MeshCollectionDriver.hxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionDriver.hxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedAsciiDriver.cxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedAsciiDriver.cxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedAsciiDriver.cxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedAsciiDriver.cxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedAsciiDriver.hxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedAsciiDriver.hxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedAsciiDriver.hxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedAsciiDriver.hxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedXmlDriver.cxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedXmlDriver.cxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedXmlDriver.cxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedXmlDriver.cxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedXmlDriver.hxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedXmlDriver.hxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedXmlDriver.hxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionMedXmlDriver.hxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_MetisGraph.cxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_MetisGraph.cxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_MetisGraph.cxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_MetisGraph.cxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_MetisGraph.hxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_MetisGraph.hxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_MetisGraph.hxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_MetisGraph.hxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_ParMetisGraph.cxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_ParMetisGraph.cxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_ParMetisGraph.cxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_ParMetisGraph.cxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_ParMetisGraph.hxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_ParMetisGraph.hxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_ParMetisGraph.hxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_ParMetisGraph.hxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_ParaDomainSelector.cxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_ParaDomainSelector.cxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_ParaDomainSelector.cxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_ParaDomainSelector.cxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_ParaDomainSelector.hxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_ParaDomainSelector.hxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_ParaDomainSelector.hxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_ParaDomainSelector.hxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_ParallelTopology.cxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_ParallelTopology.cxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_ParallelTopology.cxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_ParallelTopology.cxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_ParallelTopology.hxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_ParallelTopology.hxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_ParallelTopology.hxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_ParallelTopology.hxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_ScotchGraph.cxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_ScotchGraph.cxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_ScotchGraph.cxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_ScotchGraph.cxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_ScotchGraph.hxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_ScotchGraph.hxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_ScotchGraph.hxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_ScotchGraph.hxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_Topology.hxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_Topology.hxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_Topology.hxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_Topology.hxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_UserGraph.hxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_UserGraph.hxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_UserGraph.hxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_UserGraph.hxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_Utils.cxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_Utils.cxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_Utils.cxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_Utils.cxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_Utils.hxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_Utils.hxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_Utils.hxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_Utils.hxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_UtilsPara.cxx b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_UtilsPara.cxx similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_UtilsPara.cxx rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_UtilsPara.cxx diff --git a/src/MEDPartitioner/MEDPARTITIONER_metis.c b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_metis.c similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_metis.c rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_metis.c diff --git a/src/MEDPartitioner/MEDPARTITIONER_metis.h b/src/medtool/src/MEDPartitioner/MEDPARTITIONER_metis.h similarity index 100% rename from src/MEDPartitioner/MEDPARTITIONER_metis.h rename to src/medtool/src/MEDPartitioner/MEDPARTITIONER_metis.h diff --git a/src/MEDPartitioner/Test/CMakeLists.txt b/src/medtool/src/MEDPartitioner/Test/CMakeLists.txt similarity index 85% rename from src/MEDPartitioner/Test/CMakeLists.txt rename to src/medtool/src/MEDPartitioner/Test/CMakeLists.txt index 6eb440e21..25e10b994 100644 --- a/src/MEDPartitioner/Test/CMakeLists.txt +++ b/src/medtool/src/MEDPartitioner/Test/CMakeLists.txt @@ -43,21 +43,21 @@ ENDIF(SALOME_USE_MPI) ADD_LIBRARY(MEDPARTITIONERTest SHARED ${MEDPARTITIONERTest_SOURCES}) TARGET_LINK_LIBRARIES(MEDPARTITIONERTest ${MEDPARTITIONERTest_LDFLAGS}) -INSTALL(TARGETS MEDPARTITIONERTest DESTINATION ${SALOME_INSTALL_LIBS}) +INSTALL(TARGETS MEDPARTITIONERTest DESTINATION ${MEDTOOL_INSTALL_LIBS}) ADD_EXECUTABLE(TestMEDPARTITIONER TestMEDPARTITIONER.cxx) TARGET_LINK_LIBRARIES(TestMEDPARTITIONER MEDPARTITIONERTest) -INSTALL(TARGETS TestMEDPARTITIONER DESTINATION ${SALOME_INSTALL_BINS}) +INSTALL(TARGETS TestMEDPARTITIONER DESTINATION ${MEDTOOL_INSTALL_BINS}) -INSTALL(FILES ${MEDPARTITIONERTest_HEADERS_HXX} DESTINATION ${SALOME_INSTALL_HEADERS}) +INSTALL(FILES ${MEDPARTITIONERTest_HEADERS_HXX} DESTINATION ${MEDTOOL_INSTALL_HEADERS}) -SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) +#SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) ADD_TEST(TestMEDPARTITIONER TestMEDPARTITIONER) SET_TESTS_PROPERTIES(TestMEDPARTITIONER PROPERTIES ENVIRONMENT "${tests_env}") # Application tests -SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/MEDCoupling/MEDPartitioner) +SET(TEST_INSTALL_DIRECTORY ${MEDTOOL_INSTALL_SCRIPT_SCRIPTS}/test/MEDCoupling/MEDPartitioner) INSTALL(TARGETS MEDPARTITIONERTest TestMEDPARTITIONER DESTINATION ${TEST_INSTALL_DIRECTORY}) INSTALL(FILES CTestTestfileInstall.cmake diff --git a/src/MEDPartitioner/Test/CTestTestfileInstall.cmake b/src/medtool/src/MEDPartitioner/Test/CTestTestfileInstall.cmake similarity index 100% rename from src/MEDPartitioner/Test/CTestTestfileInstall.cmake rename to src/medtool/src/MEDPartitioner/Test/CTestTestfileInstall.cmake diff --git a/src/MEDPartitioner/Test/MEDPARTITIONERTest.cxx b/src/medtool/src/MEDPartitioner/Test/MEDPARTITIONERTest.cxx similarity index 100% rename from src/MEDPartitioner/Test/MEDPARTITIONERTest.cxx rename to src/medtool/src/MEDPartitioner/Test/MEDPARTITIONERTest.cxx diff --git a/src/MEDPartitioner/Test/MEDPARTITIONERTest.hxx b/src/medtool/src/MEDPartitioner/Test/MEDPARTITIONERTest.hxx similarity index 100% rename from src/MEDPartitioner/Test/MEDPARTITIONERTest.hxx rename to src/medtool/src/MEDPartitioner/Test/MEDPARTITIONERTest.hxx diff --git a/src/MEDPartitioner/Test/MEDPARTITIONERTestPara.cxx b/src/medtool/src/MEDPartitioner/Test/MEDPARTITIONERTestPara.cxx similarity index 100% rename from src/MEDPartitioner/Test/MEDPARTITIONERTestPara.cxx rename to src/medtool/src/MEDPartitioner/Test/MEDPARTITIONERTestPara.cxx diff --git a/src/MEDPartitioner/Test/TestMEDPARTITIONER.cxx b/src/medtool/src/MEDPartitioner/Test/TestMEDPARTITIONER.cxx similarity index 100% rename from src/MEDPartitioner/Test/TestMEDPARTITIONER.cxx rename to src/medtool/src/MEDPartitioner/Test/TestMEDPARTITIONER.cxx diff --git a/src/MEDPartitioner/medpartitioner.cxx b/src/medtool/src/MEDPartitioner/medpartitioner.cxx similarity index 100% rename from src/MEDPartitioner/medpartitioner.cxx rename to src/medtool/src/MEDPartitioner/medpartitioner.cxx diff --git a/src/MEDPartitioner/medpartitioner_para.cxx b/src/medtool/src/MEDPartitioner/medpartitioner_para.cxx similarity index 100% rename from src/MEDPartitioner/medpartitioner_para.cxx rename to src/medtool/src/MEDPartitioner/medpartitioner_para.cxx diff --git a/src/MEDPartitioner_Swig/CMakeLists.txt b/src/medtool/src/MEDPartitioner_Swig/CMakeLists.txt similarity index 86% rename from src/MEDPartitioner_Swig/CMakeLists.txt rename to src/medtool/src/MEDPartitioner_Swig/CMakeLists.txt index f203e7295..a8079c250 100644 --- a/src/MEDPartitioner_Swig/CMakeLists.txt +++ b/src/medtool/src/MEDPartitioner_Swig/CMakeLists.txt @@ -53,25 +53,24 @@ SWIG_LINK_LIBRARIES(MEDPartitioner ${PYTHON_LIBRARIES} ${PLATFORM_LIBS} medparti IF(WIN32) SET_TARGET_PROPERTIES(_MEDPartitioner PROPERTIES DEBUG_OUTPUT_NAME _MEDPartitioner_d) ENDIF(WIN32) -INSTALL(TARGETS ${SWIG_MODULE_MEDPartitioner_REAL_NAME} DESTINATION ${SALOME_INSTALL_PYTHON}) +INSTALL(TARGETS ${SWIG_MODULE_MEDPartitioner_REAL_NAME} DESTINATION ${MEDTOOL_INSTALL_PYTHON}) SET(PYFILES_TO_INSTALL ${CMAKE_CURRENT_BINARY_DIR}/MEDPartitioner.py) -SALOME_INSTALL_SCRIPTS("${PYFILES_TO_INSTALL}" ${SALOME_INSTALL_SCRIPT_PYTHON}) +#SALOME_INSTALL_SCRIPTS("${PYFILES_TO_INSTALL}" ${SALOME_INSTALL_SCRIPT_PYTHON}) +INSTALL(FILES "${PYFILES_TO_INSTALL}" DESTINATION ${MEDTOOL_INSTALL_SCRIPT_PYTHON}) -INSTALL(FILES MEDPartitioner.i MEDPartitionerCommon.i DESTINATION ${SALOME_INSTALL_HEADERS}) -INSTALL(FILES MEDPartitionerTest.py DESTINATION ${SALOME_INSTALL_SCRIPT_PYTHON}) +INSTALL(FILES MEDPartitioner.i MEDPartitionerCommon.i DESTINATION ${MEDTOOL_INSTALL_HEADERS}) +INSTALL(FILES MEDPartitionerTest.py DESTINATION ${MEDTOOL_INSTALL_SCRIPT_PYTHON}) -SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) +#SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) ADD_TEST(MEDPartitionerTest ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/MEDPartitionerTest.py) SET_TESTS_PROPERTIES(MEDPartitionerTest PROPERTIES ENVIRONMENT "${tests_env}") # Application tests -SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/MEDCoupling/MEDPartitioner_Swig) +SET(TEST_INSTALL_DIRECTORY ${MEDTOOL_INSTALL_SCRIPT_SCRIPTS}/test/MEDCoupling/MEDPartitioner_Swig) INSTALL(FILES MEDPartitionerTest.py DESTINATION ${TEST_INSTALL_DIRECTORY}) INSTALL(FILES CTestTestfileInstall.cmake DESTINATION ${TEST_INSTALL_DIRECTORY} RENAME CTestTestfile.cmake) - - diff --git a/src/MEDPartitioner_Swig/CTestTestfileInstall.cmake b/src/medtool/src/MEDPartitioner_Swig/CTestTestfileInstall.cmake similarity index 100% rename from src/MEDPartitioner_Swig/CTestTestfileInstall.cmake rename to src/medtool/src/MEDPartitioner_Swig/CTestTestfileInstall.cmake diff --git a/src/MEDPartitioner_Swig/MEDPartitioner.i b/src/medtool/src/MEDPartitioner_Swig/MEDPartitioner.i similarity index 100% rename from src/MEDPartitioner_Swig/MEDPartitioner.i rename to src/medtool/src/MEDPartitioner_Swig/MEDPartitioner.i diff --git a/src/MEDPartitioner_Swig/MEDPartitionerCommon.i b/src/medtool/src/MEDPartitioner_Swig/MEDPartitionerCommon.i similarity index 100% rename from src/MEDPartitioner_Swig/MEDPartitionerCommon.i rename to src/medtool/src/MEDPartitioner_Swig/MEDPartitionerCommon.i diff --git a/src/MEDPartitioner_Swig/MEDPartitionerTest.py b/src/medtool/src/MEDPartitioner_Swig/MEDPartitionerTest.py similarity index 100% rename from src/MEDPartitioner_Swig/MEDPartitionerTest.py rename to src/medtool/src/MEDPartitioner_Swig/MEDPartitionerTest.py diff --git a/src/medtool/src/ParaMEDMEMTest/CMakeLists.txt b/src/medtool/src/ParaMEDMEMTest/CMakeLists.txt new file mode 100644 index 000000000..aa4336d0d --- /dev/null +++ b/src/medtool/src/ParaMEDMEMTest/CMakeLists.txt @@ -0,0 +1,137 @@ +# Copyright (C) 2012-2015 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +ADD_DEFINITIONS(${MPI_DEFINITIONS} ${CPPUNIT_DEFINITIONS}) + +INCLUDE_DIRECTORIES( + ${MPI_INCLUDE_DIRS} + ${CPPUNIT_INCLUDE_DIRS} + ${CMAKE_CURRENT_SOURCE_DIR}/../ParaMEDLoader + ${CMAKE_CURRENT_SOURCE_DIR}/../ParaMEDMEM + ${CMAKE_CURRENT_SOURCE_DIR}/../MEDLoader + ${CMAKE_CURRENT_SOURCE_DIR}/../MEDCoupling + ${CMAKE_CURRENT_SOURCE_DIR}/../INTERP_KERNEL + ${CMAKE_CURRENT_SOURCE_DIR}/../INTERP_KERNEL/Bases + ) + +SET(ParaMEDMEMTest_SOURCES + ParaMEDMEMTest.cxx + ParaMEDMEMTest_MPIProcessorGroup.cxx + ParaMEDMEMTest_BlockTopology.cxx + ParaMEDMEMTest_InterpKernelDEC.cxx + ParaMEDMEMTest_StructuredCoincidentDEC.cxx + ParaMEDMEMTest_MEDLoader.cxx + ParaMEDMEMTest_ICoco.cxx + ParaMEDMEMTest_Gauthier1.cxx + ParaMEDMEMTest_FabienAPI.cxx + ParaMEDMEMTest_NonCoincidentDEC.cxx + ParaMEDMEMTest_OverlapDEC.cxx + MPIAccessDECTest.cxx + test_AllToAllDEC.cxx + test_AllToAllvDEC.cxx + test_AllToAllTimeDEC.cxx + test_AllToAllvTimeDEC.cxx + test_AllToAllvTimeDoubleDEC.cxx + MPIAccessTest.cxx + test_MPI_Access_Send_Recv.cxx + test_MPI_Access_Cyclic_Send_Recv.cxx + test_MPI_Access_SendRecv.cxx + test_MPI_Access_ISend_IRecv.cxx + test_MPI_Access_Cyclic_ISend_IRecv.cxx + test_MPI_Access_ISendRecv.cxx + test_MPI_Access_Probe.cxx + test_MPI_Access_IProbe.cxx + test_MPI_Access_Cancel.cxx + test_MPI_Access_Send_Recv_Length.cxx + test_MPI_Access_ISend_IRecv_Length.cxx + test_MPI_Access_ISend_IRecv_Length_1.cxx + test_MPI_Access_Time.cxx + test_MPI_Access_Time_0.cxx + test_MPI_Access_ISend_IRecv_BottleNeck.cxx + ) + +ADD_LIBRARY(ParaMEDMEMTest SHARED ${ParaMEDMEMTest_SOURCES}) +SET_TARGET_PROPERTIES(ParaMEDMEMTest PROPERTIES COMPILE_FLAGS "") +TARGET_LINK_LIBRARIES(ParaMEDMEMTest paramedmem paramedloader ${CPPUNIT_LIBRARIES}) +INSTALL(TARGETS ParaMEDMEMTest DESTINATION ${MEDTOOL_INSTALL_LIBS}) + +SET(TESTSParaMEDMEM) +SET(TestParaMEDMEM_SOURCES + TestParaMEDMEM.cxx + ) +SET(TESTSParaMEDMEM ${TESTSParaMEDMEM} TestParaMEDMEM) + +SET(TestMPIAccessDEC_SOURCES + TestMPIAccessDEC.cxx + ) +SET(TESTSParaMEDMEM ${TESTSParaMEDMEM} TestMPIAccessDEC) + +SET(TestMPIAccess_SOURCES + TestMPIAccess.cxx + ) +SET(TESTSParaMEDMEM ${TESTSParaMEDMEM} TestMPIAccess) + +SET(test_perf_SOURCES + test_perf.cxx + ) +SET(TESTSParaMEDMEM ${TESTSParaMEDMEM} test_perf) + +IF(MPI2_IS_OK) + SET(ParaMEDMEMTestMPI2_1_SOURCES + MPI2Connector.cxx + ParaMEDMEMTestMPI2_1.cxx + ) + SET(TESTSParaMEDMEM ${TESTSParaMEDMEM} ParaMEDMEMTestMPI2_1) + + SET(ParaMEDMEMTestMPI2_2_SOURCES + MPI2Connector.cxx + ParaMEDMEMTestMPI2_2.cxx + ) + SET(TESTSParaMEDMEM ${TESTSParaMEDMEM} ParaMEDMEMTestMPI2_2) +ENDIF(MPI2_IS_OK) + +FOREACH(bintestparamem ${TESTSParaMEDMEM}) + ADD_EXECUTABLE(${bintestparamem} ${${bintestparamem}_SOURCES}) + TARGET_LINK_LIBRARIES(${bintestparamem} ParaMEDMEMTest) +ENDFOREACH(bintestparamem ${TESTSParaMEDMEM}) + +# Now add CMake tests - test_perf, ParaMEDMEMTestMPI2_1 and ParaMEDMEMTestMPI2_2 +# are left aside, as they are too specific +# +# -- some tests require 2, 3, 4 or 5 procs -- +ADD_TEST(NAME TestParaMEDMEM_Proc2 COMMAND ${MPIEXEC} -np 2 $) +ADD_TEST(NAME TestParaMEDMEM_Proc3 COMMAND ${MPIEXEC} -np 3 $) +ADD_TEST(NAME TestParaMEDMEM_Proc4 COMMAND ${MPIEXEC} -np 4 $) +ADD_TEST(NAME TestParaMEDMEM_Proc5 COMMAND ${MPIEXEC} -np 5 $) + +ADD_TEST(NAME TestMPIAccess_Proc2 COMMAND ${MPIEXEC} -np 2 $) +ADD_TEST(NAME TestMPIAccess_Proc3 COMMAND ${MPIEXEC} -np 3 $) + +ADD_TEST(NAME TestMPIAccessDEC_Proc4 COMMAND ${MPIEXEC} -np 4 $) + +# Installation rules +INSTALL(TARGETS ${TESTSParaMEDMEM} DESTINATION ${MEDTOOL_INSTALL_BINS}) +SET(COMMON_HEADERS_HXX + MPIMainTest.hxx + MPIAccessDECTest.hxx + MPIAccessTest.hxx + ParaMEDMEMTest.hxx + MPI2Connector.hxx +) +INSTALL(FILES ${COMMON_HEADERS_HXX} DESTINATION ${MEDTOOL_INSTALL_HEADERS}) diff --git a/src/RENUMBER/CMakeLists.txt b/src/medtool/src/RENUMBER/CMakeLists.txt similarity index 93% rename from src/RENUMBER/CMakeLists.txt rename to src/medtool/src/RENUMBER/CMakeLists.txt index 47eb9639a..baef96da9 100644 --- a/src/RENUMBER/CMakeLists.txt +++ b/src/medtool/src/RENUMBER/CMakeLists.txt @@ -64,7 +64,7 @@ ENDIF(PARMETIS_FOUND) IF(METIS_FOUND) INCLUDE_DIRECTORIES(${METIS_INCLUDE_DIRS}) - + SET(renumbercpp_SOURCES ${renumbercpp_SOURCES} RENUMBER_METISRenumbering.cxx) SET(renumbercpp_HEADERS_HXX ${renumbercpp_HEADERS_HXX} RENUMBER_METISRenumbering.hxx) SET(renumbercpp_LDFLAGS ${renumbercpp_LDFLAGS} ${METIS_LIBRARIES}) @@ -73,7 +73,7 @@ ENDIF(METIS_FOUND) IF(Boost_FOUND) INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS}) - + SET(renumbercpp_SOURCES ${renumbercpp_SOURCES} RENUMBER_BOOSTRenumbering.cxx) SET(renumbercpp_HEADERS_HXX ${renumbercpp_HEADERS_HXX} RENUMBER_BOOSTRenumbering.hxx) SET(renumbercpp_LDFLAGS ${renumbercpp_LDFLAGS} ${BOOST_LIBRARIES}) @@ -86,11 +86,11 @@ ENDIF(SALOME_USE_MPI) ADD_EXECUTABLE(renumber ${renumber_SOURCES}) SET_TARGET_PROPERTIES(renumber PROPERTIES COMPILE_FLAGS "${renumber_DEFINITIONS}") TARGET_LINK_LIBRARIES(renumber renumbercpp) -INSTALL(TARGETS renumber DESTINATION ${SALOME_INSTALL_BINS}) +INSTALL(TARGETS renumber DESTINATION ${MEDTOOL_INSTALL_BINS}) ADD_LIBRARY(renumbercpp SHARED ${renumbercpp_SOURCES}) SET_TARGET_PROPERTIES(renumbercpp PROPERTIES COMPILE_FLAGS "${renumber_DEFINITIONS}") TARGET_LINK_LIBRARIES(renumbercpp ${renumbercpp_LDFLAGS}) -INSTALL(TARGETS renumbercpp DESTINATION ${SALOME_INSTALL_LIBS}) +INSTALL(TARGETS renumbercpp DESTINATION ${MEDTOOL_INSTALL_LIBS}) -INSTALL(FILES ${renumbercpp_HEADERS_HXX} DESTINATION ${SALOME_INSTALL_HEADERS}) +INSTALL(FILES ${renumbercpp_HEADERS_HXX} DESTINATION ${MEDTOOL_INSTALL_HEADERS}) diff --git a/src/RENUMBER/RENUMBERDefines.hxx b/src/medtool/src/RENUMBER/RENUMBERDefines.hxx similarity index 100% rename from src/RENUMBER/RENUMBERDefines.hxx rename to src/medtool/src/RENUMBER/RENUMBERDefines.hxx diff --git a/src/RENUMBER/RENUMBER_BOOSTRenumbering.cxx b/src/medtool/src/RENUMBER/RENUMBER_BOOSTRenumbering.cxx similarity index 100% rename from src/RENUMBER/RENUMBER_BOOSTRenumbering.cxx rename to src/medtool/src/RENUMBER/RENUMBER_BOOSTRenumbering.cxx diff --git a/src/RENUMBER/RENUMBER_BOOSTRenumbering.hxx b/src/medtool/src/RENUMBER/RENUMBER_BOOSTRenumbering.hxx similarity index 100% rename from src/RENUMBER/RENUMBER_BOOSTRenumbering.hxx rename to src/medtool/src/RENUMBER/RENUMBER_BOOSTRenumbering.hxx diff --git a/src/RENUMBER/RENUMBER_METISRenumbering.cxx b/src/medtool/src/RENUMBER/RENUMBER_METISRenumbering.cxx similarity index 100% rename from src/RENUMBER/RENUMBER_METISRenumbering.cxx rename to src/medtool/src/RENUMBER/RENUMBER_METISRenumbering.cxx diff --git a/src/RENUMBER/RENUMBER_METISRenumbering.hxx b/src/medtool/src/RENUMBER/RENUMBER_METISRenumbering.hxx similarity index 100% rename from src/RENUMBER/RENUMBER_METISRenumbering.hxx rename to src/medtool/src/RENUMBER/RENUMBER_METISRenumbering.hxx diff --git a/src/RENUMBER/RENUMBER_Renumbering.cxx b/src/medtool/src/RENUMBER/RENUMBER_Renumbering.cxx similarity index 100% rename from src/RENUMBER/RENUMBER_Renumbering.cxx rename to src/medtool/src/RENUMBER/RENUMBER_Renumbering.cxx diff --git a/src/RENUMBER/RENUMBER_Renumbering.hxx b/src/medtool/src/RENUMBER/RENUMBER_Renumbering.hxx similarity index 100% rename from src/RENUMBER/RENUMBER_Renumbering.hxx rename to src/medtool/src/RENUMBER/RENUMBER_Renumbering.hxx diff --git a/src/RENUMBER/RenumberingFactory.cxx b/src/medtool/src/RENUMBER/RenumberingFactory.cxx similarity index 100% rename from src/RENUMBER/RenumberingFactory.cxx rename to src/medtool/src/RENUMBER/RenumberingFactory.cxx diff --git a/src/RENUMBER/RenumberingFactory.hxx b/src/medtool/src/RENUMBER/RenumberingFactory.hxx similarity index 100% rename from src/RENUMBER/RenumberingFactory.hxx rename to src/medtool/src/RENUMBER/RenumberingFactory.hxx diff --git a/src/RENUMBER/renumbering.cxx b/src/medtool/src/RENUMBER/renumbering.cxx similarity index 100% rename from src/RENUMBER/renumbering.cxx rename to src/medtool/src/RENUMBER/renumbering.cxx diff --git a/src/RENUMBER/testRenumbering.py b/src/medtool/src/RENUMBER/testRenumbering.py similarity index 100% rename from src/RENUMBER/testRenumbering.py rename to src/medtool/src/RENUMBER/testRenumbering.py diff --git a/src/RENUMBER_Swig/CMakeLists.txt b/src/medtool/src/RENUMBER_Swig/CMakeLists.txt similarity index 82% rename from src/RENUMBER_Swig/CMakeLists.txt rename to src/medtool/src/RENUMBER_Swig/CMakeLists.txt index c4c5943d1..ca5363830 100644 --- a/src/RENUMBER_Swig/CMakeLists.txt +++ b/src/medtool/src/RENUMBER_Swig/CMakeLists.txt @@ -57,21 +57,22 @@ SWIG_LINK_LIBRARIES(MEDRenumber ${PYTHON_LIBRARIES} ${PLATFORM_LIBS} renumbercpp IF(WIN32) SET_TARGET_PROPERTIES(_MEDRenumber PROPERTIES DEBUG_OUTPUT_NAME _MEDRenumber_d) ENDIF(WIN32) -INSTALL(TARGETS ${SWIG_MODULE_MEDRenumber_REAL_NAME} DESTINATION ${SALOME_INSTALL_PYTHON}) +INSTALL(TARGETS ${SWIG_MODULE_MEDRenumber_REAL_NAME} DESTINATION ${MEDTOOL_INSTALL_PYTHON}) -SET(PYFILES_TO_INSTALL ${CMAKE_CURRENT_BINARY_DIR}/MEDRenumber.py) -SALOME_INSTALL_SCRIPTS("${PYFILES_TO_INSTALL}" ${SALOME_INSTALL_SCRIPT_PYTHON}) +#SET(PYFILES_TO_INSTALL ${CMAKE_CURRENT_BINARY_DIR}/MEDRenumber.py) +#SALOME_INSTALL_SCRIPTS("${PYFILES_TO_INSTALL}" ${SALOME_INSTALL_SCRIPT_PYTHON}) +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/MEDRenumber.py DESTINATION ${MEDTOOL_INSTALL_SCRIPT_PYTHON}) -INSTALL(FILES MEDRenumber.i MEDRenumberCommon.i DESTINATION ${SALOME_INSTALL_HEADERS}) -INSTALL(FILES MEDRenumberTest.py DESTINATION ${SALOME_INSTALL_SCRIPT_PYTHON}) +INSTALL(FILES MEDRenumber.i MEDRenumberCommon.i DESTINATION ${MEDTOOL_INSTALL_HEADERS}) +INSTALL(FILES MEDRenumberTest.py DESTINATION ${MEDTOOL_INSTALL_SCRIPT_PYTHON}) -SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) +#SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) ADD_TEST(MEDRenumberTest ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/MEDRenumberTest.py) SET_TESTS_PROPERTIES(MEDRenumberTest PROPERTIES ENVIRONMENT "${tests_env}") # Application tests -SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/MEDCoupling/RENUMBER_Swig) +SET(TEST_INSTALL_DIRECTORY ${MEDTOOL_INSTALL_SCRIPT_SCRIPTS}/test/MEDCoupling/RENUMBER_Swig) INSTALL(FILES MEDRenumberTest.py DESTINATION ${TEST_INSTALL_DIRECTORY}) INSTALL(FILES CTestTestfileInstall.cmake diff --git a/src/RENUMBER_Swig/CTestTestfileInstall.cmake b/src/medtool/src/RENUMBER_Swig/CTestTestfileInstall.cmake similarity index 100% rename from src/RENUMBER_Swig/CTestTestfileInstall.cmake rename to src/medtool/src/RENUMBER_Swig/CTestTestfileInstall.cmake diff --git a/src/RENUMBER_Swig/MEDRenumber.i b/src/medtool/src/RENUMBER_Swig/MEDRenumber.i similarity index 100% rename from src/RENUMBER_Swig/MEDRenumber.i rename to src/medtool/src/RENUMBER_Swig/MEDRenumber.i diff --git a/src/RENUMBER_Swig/MEDRenumberCommon.i b/src/medtool/src/RENUMBER_Swig/MEDRenumberCommon.i similarity index 100% rename from src/RENUMBER_Swig/MEDRenumberCommon.i rename to src/medtool/src/RENUMBER_Swig/MEDRenumberCommon.i diff --git a/src/RENUMBER_Swig/MEDRenumberTest.py b/src/medtool/src/RENUMBER_Swig/MEDRenumberTest.py similarity index 100% rename from src/RENUMBER_Swig/MEDRenumberTest.py rename to src/medtool/src/RENUMBER_Swig/MEDRenumberTest.py -- 2.39.2