]> SALOME platform Git repositories - tools/medcoupling.git/blobdiff - src/ParaMEDMEM/DisjointDEC.hxx
Salome HOME
refactor!: remove adm_local/ directory
[tools/medcoupling.git] / src / ParaMEDMEM / DisjointDEC.hxx
index 289d618dded6d65c915ee59805baa6a7cd9866bb..dc53b31b5189006cfc29283f37b7ed354cb19173 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
@@ -29,7 +29,7 @@
 
 namespace ICoCo
 {
-  class MEDField;
+  class MEDDoubleField;
 }
 
 namespace MEDCoupling
@@ -79,10 +79,12 @@ namespace MEDCoupling
     DisjointDEC &operator=(const DisjointDEC& s);
     DisjointDEC(const std::set<int>& src_ids, const std::set<int>& trg_ids,
                 const MPI_Comm& world_comm=MPI_COMM_WORLD);
+    virtual ~DisjointDEC();
+
     void setNature(NatureOfField nature);
     void attachLocalField( MEDCouplingFieldDouble *field);
     void attachLocalField(const ParaFIELD *field, bool ownPt=false);
-    void attachLocalField(const ICoCo::MEDField *field);
+    void attachLocalField(const ICoCo::MEDDoubleField *field);
     
     virtual void prepareSourceDE() = 0;
     virtual void prepareTargetDE() = 0;
@@ -90,7 +92,7 @@ namespace MEDCoupling
     virtual void sendData() = 0;
     void sendRecvData(bool way=true);
     virtual void synchronize() = 0;
-    virtual ~DisjointDEC();
+
     virtual void computeProcGroup() { }
     void renormalizeTargetField(bool isWAbs);
     //