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. | |
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 | className |
Name of the class. |
Protected Member Functions | |
virtual SOLVER_UTILS_EXPORT void | v_InitObject (const Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const unsigned int &pNumForcingFields, const TiXmlElement *pForce) |
virtual SOLVER_UTILS_EXPORT void | v_Apply (const Array< OneD, MultiRegions::ExpListSharedPtr > &fields, const Array< OneD, Array< OneD, NekDouble > > &inarray, Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble &time) |
Protected Member Functions inherited from Nektar::SolverUtils::Forcing | |
SOLVER_UTILS_EXPORT | Forcing (const LibUtilities::SessionReaderSharedPtr &) |
Constructor. | |
void | EvaluateFunction (Array< OneD, MultiRegions::ExpListSharedPtr > pFields, LibUtilities::SessionReaderSharedPtr pSession, std::string pFieldName, Array< OneD, NekDouble > &pArray, const std::string &pFunctionName, NekDouble pTime=NekDouble(0)) |
void | EvaluateTimeFunction (LibUtilities::SessionReaderSharedPtr pSession, std::string pFieldName, Array< OneD, NekDouble > &pArray, const std::string &pFunctionName, NekDouble pTime=NekDouble(0)) |
Private Member Functions | |
ForcingBody (const LibUtilities::SessionReaderSharedPtr &pSession) |
Friends | |
class | MemoryManager< ForcingBody > |
Additional Inherited Members | |
Public Member Functions inherited from Nektar::SolverUtils::Forcing | |
virtual SOLVER_UTILS_EXPORT | ~Forcing () |
SOLVER_UTILS_EXPORT void | InitObject (const Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const unsigned int &pNumForcingFields, const TiXmlElement *pForce) |
Initialise the forcing object. | |
SOLVER_UTILS_EXPORT void | Apply (const Array< OneD, MultiRegions::ExpListSharedPtr > &fields, const Array< OneD, Array< OneD, NekDouble > > &inarray, Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble &time) |
Apply the forcing. | |
Protected Attributes inherited from Nektar::SolverUtils::Forcing | |
LibUtilities::SessionReaderSharedPtr | m_session |
Session reader. | |
Array< OneD, Array< OneD, NekDouble > > | m_Forcing |
Evaluated forcing function. | |
int | m_NumVariable |
Number of variables. |
Definition at line 52 of file ForcingBody.h.
|
private |
Definition at line 49 of file ForcingBody.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 59 of file ForcingBody.h.
References Nektar::SolverUtils::ForcingSharedPtr.
|
protectedvirtual |
Implements Nektar::SolverUtils::Forcing.
Definition at line 110 of file ForcingBody.cpp.
References Nektar::SolverUtils::Forcing::m_Forcing, Nektar::SolverUtils::Forcing::m_NumVariable, and Vmath::Vadd().
|
protectedvirtual |
Implements Nektar::SolverUtils::Forcing.
Definition at line 55 of file ForcingBody.cpp.
References ASSERTL0, Nektar::SolverUtils::Forcing::EvaluateFunction(), Nektar::SolverUtils::Forcing::m_Forcing, Nektar::SolverUtils::Forcing::m_NumVariable, and Nektar::SolverUtils::Forcing::m_session.
|
friend |
Definition at line 56 of file ForcingBody.h.
|
static |
Name of the class.
Definition at line 72 of file ForcingBody.h.