Nektar++
|
#include <ForcingWavyness.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... | |
Private Member Functions | |
ForcingWavyness (const LibUtilities::SessionReaderSharedPtr &pSession) | |
void | CalculateForcing (const Array< OneD, MultiRegions::ExpListSharedPtr > &fields) |
Private Attributes | |
Array< OneD, Array< OneD, NekDouble > > | m_wavyGeom |
NekDouble | m_kinvis |
Friends | |
class | MemoryManager< ForcingWavyness > |
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... | |
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... | |
Definition at line 52 of file ForcingWavyness.h.
|
private |
Definition at line 51 of file ForcingWavyness.cpp.
|
private |
Definition at line 141 of file ForcingWavyness.cpp.
References Nektar::MultiRegions::DirCartesianMap, Nektar::SolverUtils::Forcing::m_Forcing, m_kinvis, m_wavyGeom, Vmath::Smul(), Vmath::Vadd(), Vmath::Vmul(), and Vmath::Vsub().
Referenced by v_Apply().
|
inlinestatic |
Creates an instance of this class.
Definition at line 60 of file ForcingWavyness.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and Nektar::SolverUtils::ForcingSharedPtr.
|
protectedvirtual |
Implements Nektar::SolverUtils::Forcing.
Definition at line 120 of file ForcingWavyness.cpp.
References CalculateForcing(), Nektar::SolverUtils::Forcing::m_Forcing, Nektar::SolverUtils::Forcing::m_NumVariable, and Vmath::Vadd().
|
protectedvirtual |
Implements Nektar::SolverUtils::Forcing.
Definition at line 61 of file ForcingWavyness.cpp.
References ASSERTL0, Nektar::MultiRegions::DirCartesianMap, Nektar::MultiRegions::e3DH1D, Nektar::SolverUtils::Forcing::EvaluateFunction(), Nektar::SolverUtils::Forcing::m_Forcing, m_kinvis, Nektar::SolverUtils::Forcing::m_NumVariable, Nektar::SolverUtils::Forcing::m_session, m_wavyGeom, and Vmath::Vmul().
|
friend |
Definition at line 56 of file ForcingWavyness.h.
|
static |
Name of the class.
Definition at line 73 of file ForcingWavyness.h.
|
private |
Definition at line 92 of file ForcingWavyness.h.
Referenced by CalculateForcing(), and v_InitObject().
Definition at line 91 of file ForcingWavyness.h.
Referenced by CalculateForcing(), and v_InitObject().