36 #ifndef NEKTAR_SOLVERUTILS_FORCINGBODY
37 #define NEKTAR_SOLVERUTILS_FORCINGBODY
61 const unsigned int& pNumForcingFields,
62 const TiXmlElement* pForce)
66 p->InitObject(pFields, pNumForcingFields, pForce);
76 const unsigned int& pNumForcingFields,
77 const TiXmlElement* pForce);
virtual SOLVER_UTILS_EXPORT void v_InitObject(const Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const unsigned int &pNumForcingFields, const TiXmlElement *pForce)
ForcingNoise(const LibUtilities::SessionReaderSharedPtr &pSession)
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
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...
SOLVER_UTILS_EXPORT typedef boost::shared_ptr< Forcing > ForcingSharedPtr
A shared pointer to an EquationSystem object.
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
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.
static std::string className
Name of the class.
virtual ~ForcingNoise(void)
#define SOLVER_UTILS_EXPORT
Defines a forcing term to be explicitly applied.