Salome HOME
refactor!: remove adm_local/ directory
[tools/medcoupling.git] / src / ParaMEDMEM / OverlapDEC.cxx
index 2be96a941eabf865d6c10d18698350e56ba1e05f..2bb5cc152c3d55afc78c37d2abbbecdad06a347d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -25,7 +25,7 @@
 #include "MPIProcessorGroup.hxx"
 #include "OverlapElementLocator.hxx"
 #include "OverlapInterpolationMatrix.hxx"
-#include "ICoCoMEDField.hxx"
+#include "ICoCoMEDDoubleField.hxx"
 
 namespace MEDCoupling
 {
@@ -189,14 +189,14 @@ namespace MEDCoupling
     attachTargetLocalField(tmpField,true);
   }
 
-  void OverlapDEC::attachSourceLocalField(ICoCo::MEDField *field)
+  void OverlapDEC::attachSourceLocalField(ICoCo::MEDDoubleField *field)
   {
-    attachSourceLocalField(field->getField());
+    attachSourceLocalField(field->getMCField());
   }
 
-  void OverlapDEC::attachTargetLocalField(ICoCo::MEDField *field)
+  void OverlapDEC::attachTargetLocalField(ICoCo::MEDDoubleField *field)
   {
-    attachTargetLocalField(field->getField());
+    attachTargetLocalField(field->getMCField());
   }
 
   bool OverlapDEC::isInGroup() const