33 #ifndef NEKTAR_COUPLING
34 #define NEKTAR_COUPLING
95 std::vector<std::string> &varNames)
97 v_Send(step, time, field, varNames);
103 std::vector<std::string> &varNames)
130 std::vector<std::string> &varNames) = 0;
135 std::vector<std::string> &varNames) = 0;
142 std::vector<std::string> &vars, std::vector<std::string> &transVars);
#define SOLVER_UTILS_EXPORT
Provides a generic Factory class.
SOLVER_UTILS_EXPORT const std::map< std::string, std::string > GetConfig()
SOLVER_UTILS_EXPORT void Receive(const int step, const NekDouble time, Array< OneD, Array< OneD, NekDouble >> &field, std::vector< std::string > &varNames)
virtual SOLVER_UTILS_EXPORT void v_Init()
SOLVER_UTILS_EXPORT void Finalize()
MultiRegions::ExpListSharedPtr m_evalField
SOLVER_UTILS_EXPORT void Init()
std::string m_couplingName
std::vector< std::string > m_sendFieldNames
std::map< std::string, std::string > CouplingConfigMap
virtual SOLVER_UTILS_EXPORT void v_Finalize()
CouplingConfigMap m_config
virtual SOLVER_UTILS_EXPORT ~Coupling()
std::vector< std::string > m_recvFieldNames
SOLVER_UTILS_EXPORT std::vector< std::string > GetSendFieldNames()
SOLVER_UTILS_EXPORT std::vector< std::string > GetRecvFieldNames()
SOLVER_UTILS_EXPORT Coupling(MultiRegions::ExpListSharedPtr field)
virtual SOLVER_UTILS_EXPORT void v_Send(const int step, const NekDouble time, const Array< OneD, const Array< OneD, NekDouble >> &field, std::vector< std::string > &varNames)=0
virtual SOLVER_UTILS_EXPORT void v_Receive(const int step, const NekDouble time, Array< OneD, Array< OneD, NekDouble >> &field, std::vector< std::string > &varNames)=0
SOLVER_UTILS_EXPORT void Send(const int step, const NekDouble time, const Array< OneD, const Array< OneD, NekDouble >> &field, std::vector< std::string > &varNames)
SOLVER_UTILS_EXPORT std::vector< int > GenerateVariableMapping(std::vector< std::string > &vars, std::vector< std::string > &transVars)
std::shared_ptr< ExpList > ExpListSharedPtr
Shared pointer to an ExpList object.
SOLVER_UTILS_EXPORT typedef LibUtilities::NekFactory< std::string, Coupling, MultiRegions::ExpListSharedPtr > CouplingFactory
Declaration of the Coupling factory.
SOLVER_UTILS_EXPORT typedef std::shared_ptr< Coupling > CouplingSharedPtr
CouplingFactory & GetCouplingFactory()
Declaration of the Coupling factory singleton.
The above copyright notice and this permission notice shall be included.