Nektar++
|
#include <ForcingProgrammatic.h>
Public Member Functions | |
SOLVER_UTILS_EXPORT Array < OneD, Array< OneD, NekDouble > > & | UpdateForces () |
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... | |
SOLVER_UTILS_EXPORT const Array< OneD, const Array< OneD, NekDouble > > & | GetForces () |
SOLVER_UTILS_EXPORT Array < OneD, Array< OneD, NekDouble > > & | UpdateForces () |
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 | |
ForcingProgrammatic (const LibUtilities::SessionReaderSharedPtr &pSession) | |
virtual | ~ForcingProgrammatic (void) |
Friends | |
class | MemoryManager< ForcingProgrammatic > |
Additional Inherited Members | |
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 57 of file ForcingProgrammatic.h.
|
private |
Definition at line 48 of file ForcingProgrammatic.cpp.
|
inlineprivatevirtual |
Definition at line 96 of file ForcingProgrammatic.h.
|
inlinestatic |
Creates an instance of this class.
Definition at line 64 of file ForcingProgrammatic.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), Nektar::SolverUtils::ForcingSharedPtr, and CellMLToNektar.cellml_metadata::p.
Array< OneD, Array< OneD, NekDouble > > & Nektar::SolverUtils::ForcingProgrammatic::UpdateForces | ( | ) |
Definition at line 54 of file ForcingProgrammatic.cpp.
References Nektar::SolverUtils::Forcing::m_Forcing.
|
protectedvirtual |
Implements Nektar::SolverUtils::Forcing.
Definition at line 74 of file ForcingProgrammatic.cpp.
References Nektar::SolverUtils::Forcing::m_Forcing, Nektar::SolverUtils::Forcing::m_NumVariable, and Vmath::Vadd().
|
protectedvirtual |
Implements Nektar::SolverUtils::Forcing.
Definition at line 59 of file ForcingProgrammatic.cpp.
References Nektar::SolverUtils::Forcing::m_Forcing, and Nektar::SolverUtils::Forcing::m_NumVariable.
|
friend |
Definition at line 61 of file ForcingProgrammatic.h.
|
static |
Name of the class.
Definition at line 77 of file ForcingProgrammatic.h.