Nektar++
|
#include <AdvectionNonConservative.h>
Static Public Member Functions | |
static AdvectionSharedPtr | create (std::string advType) |
Static Public Attributes | |
static std::string | type |
Protected Member Functions | |
AdvectionNonConservative () | |
virtual void | v_InitObject (LibUtilities::SessionReaderSharedPtr pSession, Array< OneD, MultiRegions::ExpListSharedPtr > pFields) |
Initialise AdvectionNonConservative objects and store them before starting the time-stepping. | |
virtual void | v_Advect (const int nConvective, 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. | |
Protected Member Functions inherited from Nektar::SolverUtils::Advection | |
virtual SOLVER_UTILS_EXPORT void | v_SetBaseFlow (const Array< OneD, Array< OneD, NekDouble > > &inarray) |
Overrides the base flow used during linearised advection. |
Additional Inherited Members | |
Public Member Functions inherited from Nektar::SolverUtils::Advection | |
SOLVER_UTILS_EXPORT void | InitObject (LibUtilities::SessionReaderSharedPtr pSession, Array< OneD, MultiRegions::ExpListSharedPtr > pFields) |
Interface function to initialise the advection object. | |
SOLVER_UTILS_EXPORT void | 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) |
Interface function to advect the vector field. | |
template<typename FuncPointerT , typename ObjectPointerT > | |
void | SetFluxVector (FuncPointerT func, ObjectPointerT obj) |
Set the flux vector callback function. | |
void | SetRiemannSolver (RiemannSolverSharedPtr riemann) |
Set a Riemann solver object for this advection object. | |
void | SetFluxVector (AdvectionFluxVecCB fluxVector) |
Set the flux vector callback function. | |
void | SetBaseFlow (const Array< OneD, Array< OneD, NekDouble > > &inarray) |
Set the base flow used for linearised advection objects. | |
Protected Attributes inherited from Nektar::SolverUtils::Advection | |
AdvectionFluxVecCB | m_fluxVector |
Callback function to the flux vector (set when advection is in conservative form). | |
RiemannSolverSharedPtr | m_riemann |
Riemann solver for DG-type schemes. | |
int | m_spaceDim |
Storage for space dimension. Used for homogeneous extension. |
Definition at line 45 of file AdvectionNonConservative.h.
|
protected |
|
inlinestatic |
Definition at line 48 of file AdvectionNonConservative.h.
References AdvectionNonConservative().
|
protectedvirtual |
Advects a vector field.
Implements Nektar::SolverUtils::Advection.
Definition at line 65 of file AdvectionNonConservative.cpp.
References ASSERTL0, Vmath::Vmul(), and Vmath::Vvtvp().
|
protectedvirtual |
Initialise AdvectionNonConservative objects and store them before starting the time-stepping.
pSession | Pointer to session reader. |
pFields | Pointer to fields. |
Reimplemented from Nektar::SolverUtils::Advection.
Definition at line 58 of file AdvectionNonConservative.cpp.
|
static |
Definition at line 53 of file AdvectionNonConservative.h.