Salome HOME
Merge branch 'master' of ssh://git.salome-platform.org/tools/medcoupling
[tools/medcoupling.git] / src / ParaMEDMEM / InterpolationMatrix.hxx
index 2d577bcb28c391cf74273804ae27c2652e7c0d74..a9dcef734557f0e80f71727d257312480ec1ea22 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2016  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
 #include "InterpolationOptions.hxx"
 #include "DECOptions.hxx"
 
-namespace ParaMEDMEM
+namespace MEDCoupling
 {
   class ElementLocator;
 
+  /*!
+   Internal class, not part of the public API.
+
+   This class enables the storage of an interpolation matrix Wij mapping
+   a source field Sj to a target field Ti via Ti=Vi^(-1).Wij.Sj.
+   The matrix is built and stored on the processors belonging to the source
+   group.
+   */
   class InterpolationMatrix : public INTERP_KERNEL::InterpolationOptions,
                               public DECOptions
   {
   public:
     
-    InterpolationMatrix(const ParaMEDMEM::ParaFIELD *source_field, 
+    InterpolationMatrix(const MEDCoupling::ParaFIELD *source_field, 
                         const ProcessorGroup& source_group,
                         const ProcessorGroup& target_group,
                         const DECOptions& dec_opt,
@@ -85,7 +93,7 @@ namespace ParaMEDMEM
   private:
     bool isSurfaceComputationNeeded(const std::string& method) const;
   private:
-    const ParaMEDMEM::ParaFIELD *_source_field;
+    const MEDCoupling::ParaFIELD *_source_field;
     std::vector<int> _row_offsets;
     std::map<std::pair<int,int>, int > _col_offsets;
     MEDCouplingPointSet *_source_support;