35 #ifndef NEKTAR_SOLVERUTILS_FORCINGBODY 
   36 #define NEKTAR_SOLVERUTILS_FORCINGBODY 
   58         const std::weak_ptr<EquationSystem> &pEquation,
 
   60         const unsigned int &pNumForcingFields, 
const TiXmlElement *pForce)
 
   64         p->InitObject(pFields, pNumForcingFields, pForce);
 
   74         const unsigned int &pNumForcingFields,
 
   75         const TiXmlElement *pForce) 
override;
 
   85                  const std::weak_ptr<EquationSystem> &pEquation);
 
#define SOLVER_UTILS_EXPORT
 
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
 
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
 
Defines a forcing term to be explicitly applied.
 
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) override
 
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.
 
virtual SOLVER_UTILS_EXPORT void v_InitObject(const Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const unsigned int &pNumForcingFields, const TiXmlElement *pForce) override
 
static std::string className
Name of the class.
 
virtual ~ForcingNoise(void)
 
ForcingNoise(const LibUtilities::SessionReaderSharedPtr &pSession, const std::weak_ptr< EquationSystem > &pEquation)
 
std::shared_ptr< SessionReader > SessionReaderSharedPtr
 
SOLVER_UTILS_EXPORT typedef std::shared_ptr< Forcing > ForcingSharedPtr
A shared pointer to an EquationSystem object.
 
The above copyright notice and this permission notice shall be included.