|
Nektar++
|
#include <AdvectionWeakDG.h>
Static Public Member Functions | |
| static AdvectionSharedPtr | create (std::string advType) |
Static Public Attributes | |
| static std::string | type |
Protected Member Functions | |
| AdvectionWeakDG () | |
| virtual void | v_InitObject (LibUtilities::SessionReaderSharedPtr pSession, Array< OneD, MultiRegions::ExpListSharedPtr > pFields) |
| Initialise AdvectionWeakDG objects and store them before starting the time-stepping. More... | |
| 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, const Array< OneD, Array< OneD, NekDouble > > &pFwd=NullNekDoubleArrayofArray, const Array< OneD, Array< OneD, NekDouble > > &pBwd=NullNekDoubleArrayofArray) |
| Compute the advection term at each time-step using the Discontinuous Galerkin approach (DG). More... | |
Protected Member Functions inherited from Nektar::SolverUtils::Advection | |
| virtual SOLVER_UTILS_EXPORT void | v_SetBaseFlow (const Array< OneD, Array< OneD, NekDouble > > &inarray, const Array< OneD, MultiRegions::ExpListSharedPtr > &fields) |
| Overrides the base flow used during linearised advection. More... | |
Additional Inherited Members | |
Public Member Functions inherited from Nektar::SolverUtils::Advection | |
| virtual SOLVER_UTILS_EXPORT | ~Advection () |
| SOLVER_UTILS_EXPORT void | InitObject (LibUtilities::SessionReaderSharedPtr pSession, Array< OneD, MultiRegions::ExpListSharedPtr > pFields) |
| Interface function to initialise the advection object. More... | |
| 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, const Array< OneD, Array< OneD, NekDouble > > &pFwd=NullNekDoubleArrayofArray, const Array< OneD, Array< OneD, NekDouble > > &pBwd=NullNekDoubleArrayofArray) |
| Interface function to advect the vector field. More... | |
| template<typename FuncPointerT , typename ObjectPointerT > | |
| void | SetFluxVector (FuncPointerT func, ObjectPointerT obj) |
| Set the flux vector callback function. More... | |
| void | SetRiemannSolver (RiemannSolverSharedPtr riemann) |
| Set a Riemann solver object for this advection object. More... | |
| void | SetFluxVector (AdvectionFluxVecCB fluxVector) |
| Set the flux vector callback function. More... | |
| void | SetBaseFlow (const Array< OneD, Array< OneD, NekDouble > > &inarray, const Array< OneD, MultiRegions::ExpListSharedPtr > &fields) |
| Set the base flow used for linearised advection objects. More... | |
Protected Attributes inherited from Nektar::SolverUtils::Advection | |
| AdvectionFluxVecCB | m_fluxVector |
| Callback function to the flux vector (set when advection is in conservative form). More... | |
| RiemannSolverSharedPtr | m_riemann |
| Riemann solver for DG-type schemes. More... | |
| int | m_spaceDim |
| Storage for space dimension. Used for homogeneous extension. More... | |
Definition at line 46 of file AdvectionWeakDG.h.
|
protected |
|
inlinestatic |
Definition at line 49 of file AdvectionWeakDG.h.
References AdvectionWeakDG().
|
protectedvirtual |
Compute the advection term at each time-step using the Discontinuous Galerkin approach (DG).
| nConvectiveFields | Number of fields. |
| fields | Pointer to fields. |
| advVel | Advection velocities. |
| inarray | Solution at the previous time-step. |
| outarray | Advection term to be passed at the time integration class. |
Implements Nektar::SolverUtils::Advection.
Definition at line 77 of file AdvectionWeakDG.cpp.
References ASSERTL1, Nektar::SolverUtils::Advection::m_fluxVector, Nektar::SolverUtils::Advection::m_riemann, Nektar::SolverUtils::Advection::m_spaceDim, Vmath::Neg(), and Nektar::NullNekDoubleArrayofArray.
|
protectedvirtual |
Initialise AdvectionWeakDG 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 59 of file AdvectionWeakDG.cpp.
References Nektar::SolverUtils::Advection::v_InitObject().
|
static |
Definition at line 55 of file AdvectionWeakDG.h.
1.8.13