]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Unwarningization under Win.
authorageay <ageay>
Fri, 23 Aug 2013 10:16:05 +0000 (10:16 +0000)
committerageay <ageay>
Fri, 23 Aug 2013 10:16:05 +0000 (10:16 +0000)
src/INTERP_KERNEL/ExprEval/InterpKernelUnit.cxx
src/INTERP_KERNEL/ExprEval/InterpKernelUnit.hxx
src/INTERP_KERNEL/GaussPoints/InterpKernelGaussCoords.cxx
src/INTERP_KERNEL/GaussPoints/InterpKernelGaussCoords.hxx
src/INTERP_KERNEL/Interpolation3D2D.hxx
src/INTERP_KERNEL/SplitterTetra.cxx
src/INTERP_KERNEL/SplitterTetra.hxx

index 7d6bf79ada72a9260552c5d430b6cbc6405cbb0e..5941ba1ead14e2bab9f59211df4ce646911bcc48 100644 (file)
@@ -105,8 +105,7 @@ UnitDataBase::UnitDataBase()
     }
 }
 
-const short *UnitDataBase::getInfoForUnit(const std::string& unit,
-                                          double& addFact, double& mFact) const throw(INTERP_KERNEL::Exception)
+const short *UnitDataBase::getInfoForUnit(const std::string& unit, double& addFact, double& mFact) const
 {
   std::size_t lgth=unit.length();
   std::string work,work2;
@@ -247,7 +246,7 @@ DecompositionInUnitBase &DecompositionInUnitBase::operator/(const DecompositionI
  return *this;
 }
 
-DecompositionInUnitBase &DecompositionInUnitBase::operator^(const DecompositionInUnitBase& other) throw(INTERP_KERNEL::Exception)
+DecompositionInUnitBase &DecompositionInUnitBase::operator^(const DecompositionInUnitBase& other)
 {
   if(!other.isAdimensional())
     throw INTERP_KERNEL::Exception("Trying to execute operator ^ with a second member not adimensionnal");
index 5d6f650075699547a9209716af54ccad5a9ac910..341b666cd95b0240e5360e5acb975b301667dfc0 100644 (file)
@@ -33,8 +33,7 @@ namespace INTERP_KERNEL
   {
   public:
     INTERPKERNEL_EXPORT UnitDataBase();
-    INTERPKERNEL_EXPORT const short *getInfoForUnit(const std::string& unit,
-                                                    double& addFact, double& mFact) const throw(INTERP_KERNEL::Exception);
+    INTERPKERNEL_EXPORT const short *getInfoForUnit(const std::string& unit, double& addFact, double& mFact) const;
     INTERPKERNEL_EXPORT static UnitDataBase _uniqueMapForExpr;
     INTERPKERNEL_EXPORT static const int SIZE_OF_UNIT_BASE=5;
   private:
@@ -70,7 +69,7 @@ namespace INTERP_KERNEL
     INTERPKERNEL_EXPORT void tryToConvertInUnit(double val);
     INTERPKERNEL_EXPORT DecompositionInUnitBase &operator*(const DecompositionInUnitBase& other);
     INTERPKERNEL_EXPORT DecompositionInUnitBase &operator/(const DecompositionInUnitBase& other);
-    INTERPKERNEL_EXPORT DecompositionInUnitBase &operator^(const DecompositionInUnitBase& other) throw(INTERP_KERNEL::Exception);
+    INTERPKERNEL_EXPORT DecompositionInUnitBase &operator^(const DecompositionInUnitBase& other);
   private:
     void dealWithAddFactor(const DecompositionInUnitBase& other);
     static int couldItBeConsideredAsInt(double val);
index f5a84b5fd7b1bd101991313d3238b24c0dd90532..82278ad732f272bbff899798a2dc7a92efa02dcd 100644 (file)
@@ -190,7 +190,7 @@ bool GaussInfo::isSatisfy()
 /*!
  * Initialize the internal vectors
  */
-void GaussInfo::initLocalInfo() throw (INTERP_KERNEL::Exception) 
+void GaussInfo::initLocalInfo()
 {
   bool aSatify = false;
   const CellModel& cellModel=CellModel::GetCellModel(_my_geometry);
@@ -2038,7 +2038,7 @@ void GaussCoords::addGaussInfo( NormalizedCellType theGeometry,
                                 const double* theGaussCoord,
                                 int theNbGauss,
                                 const double* theReferenceCoord,
-                                int theNbRef) throw (INTERP_KERNEL::Exception) 
+                                int theNbRef)
 {
   GaussInfoVector::iterator it = _my_gauss_info.begin();
   for( ; it != _my_gauss_info.end(); it++ ) 
@@ -2083,7 +2083,7 @@ void GaussCoords::addGaussInfo( NormalizedCellType theGeometry,
 double* GaussCoords::calculateCoords( NormalizedCellType theGeometry, 
                                       const double *theNodeCoords, 
                                       const int theSpaceDim,
-                                      const int *theIndex) throw (INTERP_KERNEL::Exception) 
+                                      const int *theIndex)
 {
   const GaussInfo *info = getInfoGivenCellType(theGeometry);
   int nbCoords = theSpaceDim * info->getNbGauss();
@@ -2093,7 +2093,7 @@ double* GaussCoords::calculateCoords( NormalizedCellType theGeometry,
 }
 
 
-void GaussCoords::calculateCoords( NormalizedCellType theGeometry, const double *theNodeCoords, const int theSpaceDim, const int *theIndex, double *result) throw(INTERP_KERNEL::Exception)
+void GaussCoords::calculateCoords( NormalizedCellType theGeometry, const double *theNodeCoords, const int theSpaceDim, const int *theIndex, double *result)
 {
   const GaussInfo *info = getInfoGivenCellType(theGeometry);
   calculateCoordsAlg(info,theNodeCoords,theSpaceDim,theIndex,result);
index 575ba7c8ab01c1ea4d5bebbd0838580567992cd7..0e2d07e89b00c8569ed9e4d20f67a9c5346abb47 100644 (file)
@@ -53,7 +53,7 @@ namespace INTERP_KERNEL
 
     INTERPKERNEL_EXPORT const double* getFunctionValues( const int theGaussId ) const;
 
-    INTERPKERNEL_EXPORT void initLocalInfo() throw (INTERP_KERNEL::Exception);
+    INTERPKERNEL_EXPORT void initLocalInfo();
 
   protected:
 
@@ -136,18 +136,18 @@ namespace INTERP_KERNEL
                                            const double* theGaussCoord,
                                            int theNbGauss,
                                            const double* theReferenceCoord,
-                                           int theNbRef) throw (INTERP_KERNEL::Exception);
+                                           int theNbRef);
 
     INTERPKERNEL_EXPORT double* calculateCoords( NormalizedCellType theGeometry, 
                                                  const double* theNodeCoords, 
                                                  const int theSpaceDim,
-                                                 const int* theIndex) throw(INTERP_KERNEL::Exception);
+                                                 const int* theIndex);
 
     INTERPKERNEL_EXPORT void calculateCoords( NormalizedCellType theGeometry, 
                                               const double* theNodeCoords, 
                                               const int theSpaceDim,
                                               const int* theIndex,
-                                              double *result) throw(INTERP_KERNEL::Exception);
+                                              double *result);
   private:
     const GaussInfo *getInfoGivenCellType(NormalizedCellType cellType);
     void calculateCoordsAlg(const GaussInfo *info, const double* theNodeCoords, const int theSpaceDim, const int *theIndex,
index 61bc68a9475a95464d3f6188fd721f72273022ca..f75671223c780acb2629288febda703462b4f794 100644 (file)
@@ -39,22 +39,19 @@ namespace INTERP_KERNEL
    * more than one 3D target cell, and the value of '_duplicate_faces'
    * the 3D target cells. The size of the value of '_duplicate_faces' is more than or equal to 2.
    */
-  class INTERPKERNEL_EXPORT Interpolation3D2D : public Interpolation<Interpolation3D2D>
+  class Interpolation3D2D : public Interpolation<Interpolation3D2D>
   {
   public:
     typedef std::map<int,std::set<int> > DuplicateFacesType;
 
-    Interpolation3D2D();
-    Interpolation3D2D(const InterpolationOptions& io);
+    INTERPKERNEL_EXPORT Interpolation3D2D();
+    INTERPKERNEL_EXPORT Interpolation3D2D(const InterpolationOptions& io);
     template<class MyMeshType, class MyMatrixType>
-    int interpolateMeshes(const MyMeshType& srcMesh,
-                          const MyMeshType& targetMesh,
-                          MyMatrixType& matrix,
-                          const char *method);
-    DuplicateFacesType retrieveDuplicateFaces() const
-    {
-      return _duplicate_faces;
-    }
+    INTERPKERNEL_EXPORT int interpolateMeshes(const MyMeshType& srcMesh,
+                                              const MyMeshType& targetMesh,
+                                              MyMatrixType& matrix,
+                                              const char *method);
+    INTERPKERNEL_EXPORT DuplicateFacesType retrieveDuplicateFaces() const { return _duplicate_faces; }
   private:
     SplittingPolicy _splitting_policy;
     DuplicateFacesType _duplicate_faces;
index ddc4dbf27b0be18b25f496959a67f2d3579d7af3..0f260f802d1844d4aa456dd5c34628e9ec65b5ca 100644 (file)
@@ -24,7 +24,7 @@ namespace INTERP_KERNEL
 {
 
   void SplitHexa8IntoTetras(SplittingPolicy policy, const int *nodalConnBg, const int *nodalConnEnd, const double *coords,
-                            std::vector<int>& tetrasNodalConn, std::vector<double>& addCoords) throw(INTERP_KERNEL::Exception)
+                            std::vector<int>& tetrasNodalConn, std::vector<double>& addCoords)
   {
     if(std::distance(nodalConnBg,nodalConnEnd)!=8)
       throw INTERP_KERNEL::Exception("SplitHexa8IntoTetras : input hexa do not have 8 nodes !");
@@ -120,7 +120,7 @@ namespace INTERP_KERNEL
   }
 
   void SplitIntoTetras(SplittingPolicy policy, NormalizedCellType gt, const int *nodalConnBg, const int *nodalConnEnd, const double *coords,
-                       std::vector<int>& tetrasNodalConn, std::vector<double>& addCoords) throw(INTERP_KERNEL::Exception)
+                       std::vector<int>& tetrasNodalConn, std::vector<double>& addCoords)
   {
     switch(gt)
       {
index 3c4f03e017b890abfa7b964099789294c252b6d7..a8be6303ac33ffbe62976b8ce3f92ad6d9574414 100644 (file)
@@ -200,10 +200,10 @@ namespace INTERP_KERNEL
       -19,-16,-11,-18,-17,-8,6,-12};
 
   void SplitHexa8IntoTetras(SplittingPolicy policy, const int *nodalConnBg, const int *nodalConnEnd, const double *coords,
-                            std::vector<int>& tetrasNodalConn, std::vector<double>& addCoords) throw(INTERP_KERNEL::Exception);
+                            std::vector<int>& tetrasNodalConn, std::vector<double>& addCoords);
   
   INTERPKERNEL_EXPORT void SplitIntoTetras(SplittingPolicy policy, NormalizedCellType gt, const int *nodalConnBg, const int *nodalConnEnd, const double *coords,
-                                           std::vector<int>& tetrasNodalConn, std::vector<double>& addCoords) throw(INTERP_KERNEL::Exception);
+                                           std::vector<int>& tetrasNodalConn, std::vector<double>& addCoords);
   
   /**
    * \brief Class representing a triangular face, used as key in caching hash map in SplitterTetra.