33#ifndef NEKTAR_COUPLING
34#define NEKTAR_COUPLING
93 std::vector<std::string> &varNames)
101 std::vector<std::string> &varNames)
128 std::vector<std::string> &varNames) = 0;
133 std::vector<std::string> &varNames) = 0;
140 std::vector<std::string> &vars, std::vector<std::string> &transVars);
#define SOLVER_UTILS_EXPORT
Provides a generic Factory class.
virtual SOLVER_UTILS_EXPORT void v_Init()
SOLVER_UTILS_EXPORT void Finalize()
SOLVER_UTILS_EXPORT void Receive(const int step, const NekDouble time, Array< OneD, Array< OneD, NekDouble > > &field, std::vector< std::string > &varNames)
MultiRegions::ExpListSharedPtr m_evalField
SOLVER_UTILS_EXPORT const std::map< std::string, std::string > GetConfig()
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()
SOLVER_UTILS_EXPORT std::vector< std::string > GetRecvFieldNames()
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
CouplingConfigMap m_config
virtual SOLVER_UTILS_EXPORT ~Coupling()
std::vector< std::string > m_recvFieldNames
SOLVER_UTILS_EXPORT Coupling(MultiRegions::ExpListSharedPtr field)
SOLVER_UTILS_EXPORT std::vector< std::string > GetSendFieldNames()
SOLVER_UTILS_EXPORT void Send(const int step, const NekDouble time, const Array< OneD, const Array< OneD, NekDouble > > &field, std::vector< std::string > &varNames)
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 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.