-// 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
public:
InterpKernelDEC();
InterpKernelDEC(ProcessorGroup& source_group, ProcessorGroup& target_group);
- InterpKernelDEC(const std::set<int>& src_ids, const std::set<int>& trg_ids,
- const MPI_Comm& world_comm=MPI_COMM_WORLD);
+ InterpKernelDEC(const std::set<int>& src_ids, const std::set<int>& trg_ids, const MPI_Comm& world_comm=MPI_COMM_WORLD);
+ 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);
+ MCAuto<DataArrayIdType> retrieveNonFetchedIds() const;
void recvData();
void recvData(double time);
void sendData();
void sendData(double time , double deltatime);
void prepareSourceDE() { }
void prepareTargetDE() { }
- private :
+ private:
+ MCAuto<DataArrayIdType> retrieveNonFetchedIdsSource() const;
+ MCAuto<DataArrayIdType> retrieveNonFetchedIdsTarget() const;
+ private:
InterpolationMatrix* _interpolation_matrix;
};
}