35 #ifndef NEKTAR_SOLVERUTILS_FORCINGPROGRAMMATIC 36 #define NEKTAR_SOLVERUTILS_FORCINGPROGRAMMATIC 65 const std::weak_ptr<EquationSystem> &pEquation,
67 const unsigned int& pNumForcingFields,
68 const TiXmlElement* pForce)
72 p->InitObject(pFields, pNumForcingFields, pForce);
85 const unsigned int& pNumForcingFields,
86 const TiXmlElement* pForce);
97 const std::weak_ptr<EquationSystem> &pEquation);
SOLVER_UTILS_EXPORT typedef std::shared_ptr< Forcing > ForcingSharedPtr
A shared pointer to an EquationSystem object.
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)
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
virtual ~ForcingProgrammatic(void)
static SOLVER_UTILS_EXPORT ForcingSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession, const std::weak_ptr< EquationSystem > &pEquation, const Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const unsigned int &pNumForcingFields, const TiXmlElement *pForce)
Creates an instance of this class.
static std::string className
Name of the class.
virtual SOLVER_UTILS_EXPORT void v_InitObject(const Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const unsigned int &pNumForcingFields, const TiXmlElement *pForce)
ForcingProgrammatic(const LibUtilities::SessionReaderSharedPtr &pSession, const std::weak_ptr< EquationSystem > &pEquation)
SOLVER_UTILS_EXPORT typedef std::shared_ptr< ForcingProgrammatic > ForcingProgrammaticSharedPtr
A shared pointer to an EquationSystem object.
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
#define SOLVER_UTILS_EXPORT
SOLVER_UTILS_EXPORT Array< OneD, Array< OneD, NekDouble > > & UpdateForces()
Defines a forcing term to be explicitly applied.
std::shared_ptr< SessionReader > SessionReaderSharedPtr