Nektar++
|
#include <ForcingBody.h>
Static Public Member Functions | |
static SOLVER_UTILS_EXPORT ForcingSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, const Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const unsigned int &pNumForcingFields, const TiXmlElement *pForce) |
Creates an instance of this class. More... | |
Static Public Member Functions inherited from Nektar::SolverUtils::Forcing | |
static SOLVER_UTILS_EXPORT std::vector< ForcingSharedPtr > | Load (const LibUtilities::SessionReaderSharedPtr &pSession, const Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const unsigned int &pNumForcingFields=0) |
Static Public Attributes | |
static std::string | classNameBody |
Name of the class. More... | |
static std::string | classNameField |
Private Member Functions | |
ForcingBody (const LibUtilities::SessionReaderSharedPtr &pSession) | |
virtual | ~ForcingBody (void) |
void | Update (const Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
Private Attributes | |
std::string | m_funcName |
bool | m_hasTimeFcnScaling |
LibUtilities::EquationSharedPtr | m_timeFcnEqn |
bool | m_transform |
Friends | |
class | MemoryManager< ForcingBody > |
Definition at line 52 of file ForcingBody.h.
|
private |
Definition at line 55 of file ForcingBody.cpp.
|
inlineprivatevirtual |
Definition at line 95 of file ForcingBody.h.
|
inlinestatic |
Creates an instance of this class.
Definition at line 59 of file ForcingBody.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), Nektar::SolverUtils::ForcingSharedPtr, and CellMLToNektar.cellml_metadata::p.
|
private |
Definition at line 123 of file ForcingBody.cpp.
References ASSERTL0, Nektar::SolverUtils::Forcing::EvaluateFunction(), Nektar::SolverUtils::Forcing::m_Forcing, m_funcName, Nektar::SolverUtils::Forcing::m_NumVariable, Nektar::SolverUtils::Forcing::m_session, and m_transform.
Referenced by v_Apply(), and v_InitObject().
|
protectedvirtual |
Implements Nektar::SolverUtils::Forcing.
Definition at line 149 of file ForcingBody.cpp.
References Nektar::SolverUtils::Forcing::EvaluateTimeFunction(), Nektar::SolverUtils::Forcing::m_Forcing, m_hasTimeFcnScaling, Nektar::SolverUtils::Forcing::m_NumVariable, m_timeFcnEqn, Vmath::Svtvp(), Update(), and Vmath::Vadd().
|
protectedvirtual |
Implements Nektar::SolverUtils::Forcing.
Definition at line 62 of file ForcingBody.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::MultiRegions::e3DH1D, Nektar::MultiRegions::e3DH2D, Nektar::SolverUtils::Forcing::m_Forcing, m_funcName, m_hasTimeFcnScaling, Nektar::SolverUtils::Forcing::m_NumVariable, Nektar::SolverUtils::Forcing::m_session, m_timeFcnEqn, m_transform, and Update().
|
friend |
Definition at line 56 of file ForcingBody.h.
|
static |
Name of the class.
Definition at line 72 of file ForcingBody.h.
|
static |
Definition at line 73 of file ForcingBody.h.
|
private |
Definition at line 88 of file ForcingBody.h.
Referenced by Update(), and v_InitObject().
|
private |
Definition at line 89 of file ForcingBody.h.
Referenced by v_Apply(), and v_InitObject().
|
private |
Definition at line 90 of file ForcingBody.h.
Referenced by v_Apply(), and v_InitObject().
|
private |
Definition at line 91 of file ForcingBody.h.
Referenced by Update(), and v_InitObject().