Nektar++
|
#include <Coupling.h>
Public Types | |
typedef std::map< std::string, std::string > | CouplingConfigMap |
Public Member Functions | |
virtual SOLVER_UTILS_EXPORT | ~Coupling () |
SOLVER_UTILS_EXPORT void | Init () |
SOLVER_UTILS_EXPORT const std::map< std::string, std::string > | GetConfig () |
SOLVER_UTILS_EXPORT std::vector< std::string > | GetSendFieldNames () |
SOLVER_UTILS_EXPORT std::vector< std::string > | GetRecvFieldNames () |
SOLVER_UTILS_EXPORT void | Finalize () |
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 void | Receive (const int step, const NekDouble time, Array< OneD, Array< OneD, NekDouble > > &field, std::vector< std::string > &varNames) |
Protected Member Functions | |
SOLVER_UTILS_EXPORT | Coupling (MultiRegions::ExpListSharedPtr field) |
virtual SOLVER_UTILS_EXPORT void | v_Init () |
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 |
virtual SOLVER_UTILS_EXPORT void | v_Finalize () |
SOLVER_UTILS_EXPORT std::vector< int > | GenerateVariableMapping (std::vector< std::string > &vars, std::vector< std::string > &transVars) |
Protected Attributes | |
std::string | m_couplingName |
CouplingConfigMap | m_config |
MultiRegions::ExpListSharedPtr | m_evalField |
int | m_nSendVars |
std::vector< std::string > | m_sendFieldNames |
int | m_sendSteps |
int | m_nRecvVars |
std::vector< std::string > | m_recvFieldNames |
int | m_recvSteps |
Definition at line 55 of file Coupling.h.
typedef std::map<std::string, std::string> Nektar::SolverUtils::Coupling::CouplingConfigMap |
Definition at line 59 of file Coupling.h.
|
inlinevirtual |
Definition at line 61 of file Coupling.h.
|
protected |
Definition at line 48 of file Coupling.cpp.
References m_config.
|
inline |
Definition at line 85 of file Coupling.h.
References v_Finalize().
|
protected |
Definition at line 132 of file Coupling.cpp.
References ASSERTL0, and Nektar::StdRegions::find().
Referenced by Nektar::SolverUtils::CouplingCwipi::v_Receive(), Nektar::SolverUtils::CouplingFile::v_Receive(), Nektar::SolverUtils::CouplingCwipi::v_Send(), and Nektar::SolverUtils::CouplingFile::v_Send().
|
inline |
|
inline |
Definition at line 80 of file Coupling.h.
References m_recvFieldNames.
|
inline |
Definition at line 75 of file Coupling.h.
References m_sendFieldNames.
|
inline |
Definition at line 65 of file Coupling.h.
References v_Init().
|
inline |
Definition at line 98 of file Coupling.h.
References FilterPython_Function::field, and v_Receive().
|
inline |
Definition at line 90 of file Coupling.h.
References FilterPython_Function::field, and v_Send().
|
inlineprotectedvirtual |
Reimplemented in Nektar::SolverUtils::CouplingCwipi.
Definition at line 135 of file Coupling.h.
Referenced by Finalize().
|
protectedvirtual |
Reimplemented in Nektar::SolverUtils::CouplingCwipi, and Nektar::SolverUtils::CouplingFile.
Definition at line 59 of file Coupling.cpp.
References ASSERTL0, Nektar::ParseUtils::GenerateVector(), m_config, m_couplingName, m_evalField, m_nRecvVars, m_nSendVars, m_recvFieldNames, m_recvSteps, m_sendFieldNames, and m_sendSteps.
Referenced by Init(), Nektar::SolverUtils::CouplingCwipi::v_Init(), and Nektar::SolverUtils::CouplingFile::v_Init().
|
protectedpure virtual |
Implemented in Nektar::SolverUtils::CouplingCwipi, and Nektar::SolverUtils::CouplingFile.
Referenced by Receive().
|
protectedpure virtual |
Implemented in Nektar::SolverUtils::CouplingCwipi, and Nektar::SolverUtils::CouplingFile.
Referenced by Send().
|
protected |
Definition at line 109 of file Coupling.h.
Referenced by Coupling(), Nektar::SolverUtils::CouplingCwipi::CouplingCwipi(), Nektar::SolverUtils::CouplingFile::CouplingFile(), Nektar::SolverUtils::CouplingCwipi::DumpRawFields(), GetConfig(), Nektar::SolverUtils::CouplingCwipi::ReadConfig(), Nektar::SolverUtils::CouplingCwipi::ReceiveCwipi(), Nektar::SolverUtils::CouplingCwipi::SendCallback(), Nektar::SolverUtils::CouplingCwipi::SetupReceive(), Nektar::SolverUtils::CouplingCwipi::SetupSendInterpolation(), v_Init(), Nektar::SolverUtils::CouplingCwipi::v_Init(), Nektar::SolverUtils::CouplingFile::v_Init(), Nektar::SolverUtils::CouplingFile::v_Receive(), and Nektar::SolverUtils::CouplingFile::v_Send().
|
protected |
Definition at line 107 of file Coupling.h.
Referenced by Nektar::SolverUtils::CouplingCwipi::AnnounceMesh(), Nektar::SolverUtils::CouplingCwipi::ReceiveCwipi(), Nektar::SolverUtils::CouplingCwipi::ReceiveStart(), Nektar::SolverUtils::CouplingCwipi::SendComplete(), Nektar::SolverUtils::CouplingCwipi::SetupReceive(), Nektar::SolverUtils::CouplingCwipi::SetupSend(), Nektar::SolverUtils::CouplingCwipi::SetupSendInterpolation(), Nektar::SolverUtils::CouplingCwipi::v_Finalize(), v_Init(), Nektar::SolverUtils::CouplingCwipi::v_Init(), and Nektar::SolverUtils::CouplingCwipi::v_Send().
|
protected |
Definition at line 111 of file Coupling.h.
Referenced by Nektar::SolverUtils::CouplingCwipi::AnnounceMesh(), Nektar::SolverUtils::CouplingCwipi::DumpRawFields(), Nektar::SolverUtils::CouplingCwipi::EvaluateFields(), Nektar::SolverUtils::CouplingCwipi::ExtrapolateFields(), Nektar::SolverUtils::CouplingCwipi::ReceiveCwipi(), Nektar::SolverUtils::CouplingCwipi::ReceiveStart(), Nektar::SolverUtils::CouplingCwipi::SendComplete(), Nektar::SolverUtils::CouplingCwipi::SetupReceive(), Nektar::SolverUtils::CouplingCwipi::SetupSend(), Nektar::SolverUtils::CouplingCwipi::SetupSendInterpolation(), v_Init(), Nektar::SolverUtils::CouplingCwipi::v_Init(), Nektar::SolverUtils::CouplingFile::v_Init(), Nektar::SolverUtils::CouplingCwipi::v_Receive(), Nektar::SolverUtils::CouplingFile::v_Receive(), Nektar::SolverUtils::CouplingCwipi::v_Send(), and Nektar::SolverUtils::CouplingFile::v_Send().
|
protected |
Definition at line 117 of file Coupling.h.
Referenced by Nektar::SolverUtils::CouplingCwipi::DumpRawFields(), Nektar::SolverUtils::CouplingCwipi::ExtrapolateFields(), Nektar::SolverUtils::CouplingCwipi::ReceiveCwipi(), Nektar::SolverUtils::CouplingCwipi::ReceiveStart(), Nektar::SolverUtils::CouplingCwipi::SetupReceive(), v_Init(), Nektar::SolverUtils::CouplingCwipi::v_Init(), Nektar::SolverUtils::CouplingFile::v_Init(), Nektar::SolverUtils::CouplingCwipi::v_Receive(), and Nektar::SolverUtils::CouplingFile::v_Receive().
|
protected |
Definition at line 113 of file Coupling.h.
Referenced by Nektar::SolverUtils::CouplingCwipi::EvaluateFields(), Nektar::SolverUtils::CouplingCwipi::SendCallback(), Nektar::SolverUtils::CouplingCwipi::SetupSend(), v_Init(), Nektar::SolverUtils::CouplingCwipi::v_Init(), Nektar::SolverUtils::CouplingCwipi::v_Send(), and Nektar::SolverUtils::CouplingFile::v_Send().
|
protected |
Definition at line 118 of file Coupling.h.
Referenced by Nektar::SolverUtils::CouplingCwipi::DumpRawFields(), GetRecvFieldNames(), Nektar::SolverUtils::CouplingCwipi::ReceiveCwipi(), v_Init(), Nektar::SolverUtils::CouplingCwipi::v_Receive(), and Nektar::SolverUtils::CouplingFile::v_Receive().
|
protected |
Definition at line 119 of file Coupling.h.
Referenced by Nektar::SolverUtils::CouplingCwipi::ReceiveCwipi(), v_Init(), Nektar::SolverUtils::CouplingCwipi::v_Init(), Nektar::SolverUtils::CouplingFile::v_Init(), Nektar::SolverUtils::CouplingCwipi::v_Receive(), and Nektar::SolverUtils::CouplingFile::v_Receive().
|
protected |
Definition at line 114 of file Coupling.h.
Referenced by GetSendFieldNames(), v_Init(), Nektar::SolverUtils::CouplingCwipi::v_Send(), and Nektar::SolverUtils::CouplingFile::v_Send().
|
protected |
Definition at line 115 of file Coupling.h.
Referenced by v_Init(), Nektar::SolverUtils::CouplingCwipi::v_Init(), Nektar::SolverUtils::CouplingCwipi::v_Send(), and Nektar::SolverUtils::CouplingFile::v_Send().