]> SALOME platform Git repositories - tools/medcoupling.git/blobdiff - src/ParaMEDMEM_Swig/ParaMEDMEMCommon.i
Salome HOME
refactor!: remove adm_local/ directory
[tools/medcoupling.git] / src / ParaMEDMEM_Swig / ParaMEDMEMCommon.i
index 70520f3fd530ad7bf884dbaa96ae88cd1adc5aab..3613e6e6cd82cad4a6f99d156ccccdbb485f91eb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2023  CEA/DEN, EDF R&D
+// Copyright (C) 2017-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
@@ -26,6 +26,7 @@
 #include "ProcessorGroup.hxx"
 #include "Topology.hxx"
 #include "MPIProcessorGroup.hxx"
+#include "ByStringMPIProcessorGroup.hxx"
 #include "DEC.hxx"
 #include "InterpKernelDEC.hxx"
 #include "NonCoincidentDEC.hxx"
@@ -51,6 +52,7 @@ using namespace ICoCo;
 %include "ParaMESH.hxx"
 %include "ParaFIELD.hxx"
 %include "MPIProcessorGroup.hxx"
+%include "ByStringMPIProcessorGroup.hxx"
 %include "ComponentTopology.hxx"
 %include "DEC.hxx"
 %include "DisjointDEC.hxx"
@@ -75,6 +77,7 @@ using namespace ICoCo;
 
 %newobject MEDCoupling::InterpKernelDEC::_NewWithPG_internal;
 %newobject MEDCoupling::InterpKernelDEC::_NewWithComm_internal;
+%newobject MEDCoupling::InterpKernelDEC::retrieveNonFetchedIds;
 %newobject MEDCoupling::OverlapDEC::_NewWithComm_internal;
 
 %feature("unref") ParaSkyLineArray "$this->decrRef();"
@@ -292,10 +295,13 @@ namespace MEDCoupling
       InterpKernelDEC();
       InterpKernelDEC(ProcessorGroup& source_group, ProcessorGroup& target_group);
       InterpKernelDEC(const std::set<int>& src_ids, const std::set<int>& trg_ids); // hide last optional parameter!
+      InterpKernelDEC(ProcessorGroup& generic_group, const std::string& source_group, const std::string& target_group);
+      InterpKernelDEC(ProcessorGroup& generic_group, const std::string& interaction_group);
       virtual ~InterpKernelDEC();
       void release();
 
       void synchronize();
+      void synchronizeWithDefaultValue(double val);
       void recvData();
       void recvData(double time);
       void sendData();
@@ -322,6 +328,12 @@ namespace MEDCoupling
         {
           return new InterpKernelDEC(src_ids,trg_ids, *(MPI_Comm*)another_comm); // I know, ugly cast ...
         }
+
+        DataArrayIdType *retrieveNonFetchedIds() const
+        {
+          MCAuto<DataArrayIdType> ret = self->retrieveNonFetchedIds();
+          return ret.retn();
+        }
       }
   };