]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
feat: do not include .txx when templates are explicitly instanciated ast/pre-commit
authorSONOLET Aymeric <aymeric.sonolet@cea.fr>
Mon, 13 May 2024 14:06:39 +0000 (16:06 +0200)
committerSONOLET Aymeric <aymeric.sonolet@cea.fr>
Mon, 13 May 2024 14:06:39 +0000 (16:06 +0200)
src/MEDCoupling/MEDCouplingIMesh.cxx
src/MEDCoupling/MEDCouplingTimeDiscretization.txx
src/MEDCoupling_Swig/MEDCouplingDataArrayTraits.hxx
src/MEDLoader/MEDFileFieldMultiTS.cxx
src/MEDLoader/MEDFileMesh.cxx
src/MEDLoader/MEDFileMeshLL.cxx
src/ParaMEDMEM/ParaDataArray.cxx
src/ParaMEDMEM/ParaDataArray.txx

index 749124e811ae73701f1f8208b1bfd63e4fa95ec5..0786ca0c7cf575cc4d18305d2aa50253a44c358f 100644 (file)
@@ -37,7 +37,7 @@
 #include "MCType.hxx"
 #include "MEDCouplingCMesh.hxx"
 #include "MEDCouplingFieldDouble.hxx"
-#include "MEDCouplingMemArray.txx"
+#include "MEDCouplingMemArray.hxx"
 #include "MEDCouplingMesh.hxx"
 #include "MEDCouplingRefCountObject.hxx"
 #include "MEDCouplingStructuredMesh.hxx"
index a69beecb5209fc000b6d99365df7a87840732514..67358eaab9884423beac79eeda794ca358e3a6a6 100644 (file)
@@ -31,7 +31,6 @@
 
 #include "InterpKernelException.hxx"
 #include "MCType.hxx"
-#include "MEDCouplingMemArray.txx"
 #include "MEDCouplingRefCountObject.hxx"
 #include "MEDCouplingTimeDiscretization.hxx"
 #include "MEDCouplingTraits.hxx"
index 71fae0692c3f52f00ed0697cf6faf3ec445574d8..1a079a9a4369271640db59d168dd9c45a4c7c041 100644 (file)
@@ -25,7 +25,7 @@
 #include <Python.h>
 
 #include "MCType.hxx"
-#include "MEDCouplingMemArray.txx"
+#include "MEDCouplingMemArray.hxx"
 
 #ifdef WITH_NUMPY
 #include <numpy/arrayobject.h>
index 1a765f704713130d1a9d9f266b4609b20362f795..ee8fcd96fce5fbead71b9e3528ad7bc20d6f51f7 100644 (file)
@@ -50,6 +50,7 @@
 #include "MEDFileFieldGlobs.hxx"
 #include "MEDFileFieldOverView.hxx"
 #include "MEDFileFieldVisitor.hxx"
+#include "MEDFileMesh.hxx"
 #include "MEDFileSafeCaller.txx"
 #include "MEDFileUtilities.hxx"
 #include "MEDLoaderBase.hxx"
index ac8d894445f063ce6ed7307277912adfcbe8697d..b40bebe0aa6bd4ac2696c47eb4a3374fe4fcca1a 100644 (file)
@@ -29,7 +29,6 @@
 #include "MEDCouplingCurveLinearMesh.hxx"
 #include "MEDCouplingMappedExtrudedMesh.hxx"
 #include "MEDCouplingMemArray.hxx"
-#include "MEDCouplingMemArray.txx"
 #include "MEDCouplingMesh.hxx"
 #include "MEDCouplingPartDefinition.hxx"
 #include "MEDCouplingPointSet.hxx"
index f90cd2f7ccd987b35e21d6d709bd119e78997672..fea9806102d4898755c5929cd284be2b68ce8298 100644 (file)
@@ -41,8 +41,8 @@
 #include "MCType.hxx"
 #include "MEDCoupling1GTUMesh.hxx"
 #include "MEDCouplingCurveLinearMesh.hxx"
-#include "MEDCouplingMap.txx"
-#include "MEDCouplingMemArray.txx"
+#include "MEDCouplingMap.hxx"
+#include "MEDCouplingMemArray.hxx"
 #include "MEDCouplingMesh.hxx"
 #include "MEDCouplingPartDefinition.hxx"
 #include "MEDCouplingRefCountObject.hxx"
@@ -2366,7 +2366,7 @@ MEDFileUMeshAggregateCompute::getUmesh() const
     _m = MEDCoupling1GTUMesh::AggregateOnSameCoordsToUMesh(mp);
     _m_parts.clear();        // to avoid memory peak !
     _m_time = _mp_time + 1;  //+1 is important ! That is to say that only _m is
-                             //OK not _m_parts because cleared !
+                             // OK not _m_parts because cleared !
     return _m;
 }
 
index 24571f18d5022ed5813d274cf8543c7c6a49b482..8c447b4fadaee2186f7d52efc4901740af849a15 100644 (file)
 #include "ParaDataArray.txx"
 
 #include "MCType.hxx"
-#include "MEDCouplingMemArray.hxx"
+#include "MEDCouplingMemArray.txx"
 
 using namespace MEDCoupling;
 
+template class MEDCoupling::DataArrayTemplate<int>;
 template class MEDCoupling::ParaDataArrayTemplate<Int32>;
 template class MEDCoupling::ParaDataArrayTemplate<Int64>;
 template class MEDCoupling::ParaDataArrayDiscrete<Int32>;
index 9a8cdfbf56f0da575e0c336ef90fe9ee5fbeff2e..acb9889b9a73a2b5323ad8d872d19632380a7786 100644 (file)
@@ -29,7 +29,7 @@
 #include "CommInterface.hxx"
 #include "MCAuto.hxx"
 #include "MCType.hxx"
-#include "MEDCouplingMemArray.txx"
+#include "MEDCouplingMemArray.hxx"
 #include "MEDCouplingTraits.hxx"
 #include "ParaDataArray.hxx"