#include <ForcingProgrammatic.h>
|
SOLVER_UTILS_EXPORT Array< OneD, Array< OneD, NekDouble > > & | UpdateForces () |
|
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...
|
|
|
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) |
|
SOLVER_UTILS_EXPORT | Forcing (const LibUtilities::SessionReaderSharedPtr &) |
| Constructor. More...
|
|
SOLVER_UTILS_EXPORT 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)) |
|
SOLVER_UTILS_EXPORT void | EvaluateTimeFunction (LibUtilities::SessionReaderSharedPtr pSession, std::string pFieldName, Array< OneD, NekDouble > &pArray, const std::string &pFunctionName, NekDouble pTime=NekDouble(0)) |
|
Definition at line 57 of file ForcingProgrammatic.h.
Definition at line 48 of file ForcingProgrammatic.cpp.
SOLVER_UTILS_EXPORT Forcing(const LibUtilities::SessionReaderSharedPtr &)
Constructor.
virtual Nektar::SolverUtils::ForcingProgrammatic::~ForcingProgrammatic |
( |
void |
| ) |
|
|
inlineprivatevirtual |
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().
82 Vmath::Vadd(outarray[i].num_elements(), outarray[i], 1,
Array< OneD, Array< OneD, NekDouble > > m_Forcing
Evaluated forcing function.
int m_NumVariable
Number of variables.
void Vadd(int n, const T *x, const int incx, const T *y, const int incy, T *z, const int incz)
Add vector z = x+y.
std::string Nektar::SolverUtils::ForcingProgrammatic::className |
|
static |
Initial value:
RegisterCreatorFunction("Programmatic",
"Programmatic Forcing")
Name of the class.
Definition at line 77 of file ForcingProgrammatic.h.