Nektar++
|
#include <ForcingAbsorption.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 | className |
Name of the class. More... | |
Protected Attributes | |
bool | m_hasRefFlow |
bool | m_hasRefFlowTime |
Array< OneD, Array< OneD, NekDouble > > | m_Absorption |
Array< OneD, Array< OneD, NekDouble > > | m_Refflow |
std::string | m_funcNameTime |
Protected Attributes inherited from Nektar::SolverUtils::Forcing | |
LibUtilities::SessionReaderSharedPtr | m_session |
Session reader. More... | |
Array< OneD, Array< OneD, NekDouble > > | m_Forcing |
Evaluated forcing function. More... | |
int | m_NumVariable |
Number of variables. More... | |
Private Member Functions | |
ForcingAbsorption (const LibUtilities::SessionReaderSharedPtr &pSession) | |
virtual | ~ForcingAbsorption (void) |
Friends | |
class | MemoryManager< ForcingAbsorption > |
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. More... | |
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. More... | |
Definition at line 51 of file ForcingAbsorption.h.
|
private |
Definition at line 48 of file ForcingAbsorption.cpp.
|
inlineprivatevirtual |
Definition at line 92 of file ForcingAbsorption.h.
|
inlinestatic |
Creates an instance of this class.
Definition at line 57 of file ForcingAbsorption.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and Nektar::SolverUtils::ForcingSharedPtr.
|
protectedvirtual |
Implements Nektar::SolverUtils::Forcing.
Definition at line 117 of file ForcingAbsorption.cpp.
References Nektar::SolverUtils::Forcing::EvaluateTimeFunction(), m_Absorption, Nektar::SolverUtils::Forcing::m_Forcing, m_funcNameTime, m_hasRefFlow, m_hasRefFlowTime, Nektar::SolverUtils::Forcing::m_NumVariable, m_Refflow, Nektar::SolverUtils::Forcing::m_session, Vmath::Smul(), Vmath::Vadd(), Vmath::Vcopy(), Vmath::Vmul(), and Vmath::Vsub().
|
protectedvirtual |
Implements Nektar::SolverUtils::Forcing.
Definition at line 55 of file ForcingAbsorption.cpp.
References ASSERTL0, Nektar::SolverUtils::Forcing::EvaluateFunction(), m_Absorption, Nektar::SolverUtils::Forcing::m_Forcing, m_funcNameTime, m_hasRefFlow, m_hasRefFlowTime, Nektar::SolverUtils::Forcing::m_NumVariable, m_Refflow, Nektar::SolverUtils::Forcing::m_session, and npts.
|
friend |
Definition at line 54 of file ForcingAbsorption.h.
|
static |
Name of the class.
Definition at line 70 of file ForcingAbsorption.h.
Definition at line 75 of file ForcingAbsorption.h.
Referenced by v_Apply(), and v_InitObject().
|
protected |
Definition at line 77 of file ForcingAbsorption.h.
Referenced by v_Apply(), and v_InitObject().
|
protected |
Definition at line 73 of file ForcingAbsorption.h.
Referenced by v_Apply(), and v_InitObject().
|
protected |
Definition at line 74 of file ForcingAbsorption.h.
Referenced by v_Apply(), and v_InitObject().
Definition at line 76 of file ForcingAbsorption.h.
Referenced by v_Apply(), and v_InitObject().