43 string NoAdvection::className
51 NoAdvection::NoAdvection():
80 const int nConvectiveFields,
87 int nPointsTot = fields[0]->GetNpoints();
88 for (
int i = 0; i < inarray.num_elements(); ++i)
virtual void v_Advect(const int nConvectiveFields, const Array< OneD, MultiRegions::ExpListSharedPtr > &fields, const Array< OneD, Array< OneD, NekDouble > > &advVel, const Array< OneD, Array< OneD, NekDouble > > &inarray, Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble &time)
Advects a vector field.
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
virtual void v_InitObject(LibUtilities::SessionReaderSharedPtr pSession, Array< OneD, MultiRegions::ExpListSharedPtr > pFields)
Initialises the advection object.
AdvectionFactory & GetAdvectionFactory()
Gets the factory for initialising advection objects.
void Zero(int n, T *x, const int incx)
Zero vector.
Defines a callback function which evaluates the flux vector.
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, tDescription pDesc="")
Register a class with the factory.