Nektar++
|
Advection for the adjoint form of the linearised Navier-Stokes equations. More...
#include <AdjointAdvection.h>
Static Public Member Functions | |
static SolverUtils::AdvectionSharedPtr | create (std::string) |
Creates an instance of this class. More... | |
Static Public Member Functions inherited from Nektar::LinearisedAdvection | |
static SolverUtils::AdvectionSharedPtr | create (std::string) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static std::string | className |
Name of class. More... | |
Static Public Attributes inherited from Nektar::LinearisedAdvection | |
static std::string | className |
Name of class. More... | |
Friends | |
class | MemoryManager< AdjointAdvection > |
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. 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::LinearisedAdvection | |
LibUtilities::SessionReaderSharedPtr | m_session |
int | m_spacedim |
int | m_expdim |
Array< OneD, Array< OneD, NekDouble > > | m_baseflow |
Storage for base flow. More... | |
Array< OneD, Array< OneD, NekDouble > > | m_gradBase |
int | m_slices |
number of slices More... | |
NekDouble | m_period |
period length More... | |
Array< OneD, Array< OneD, NekDouble > > | m_interp |
interpolation vector More... | |
LibUtilities::NektarFFTSharedPtr | m_FFT |
auxiliary variables More... | |
Array< OneD, NekDouble > | m_tmpIN |
Array< OneD, NekDouble > | m_tmpOUT |
bool | m_useFFTW |
bool | m_singleMode |
flag to determine if use single mode or not More... | |
bool | m_halfMode |
flag to determine if use half mode or not More... | |
bool | m_multipleModes |
flag to determine if use multiple mode or not More... | |
FloquetBlockMatrixMapShPtr | m_FloquetBlockMat |
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... | |
Advection for the adjoint form of the linearised Navier-Stokes equations.
Definition at line 46 of file AdjointAdvection.h.
|
protected |
Definition at line 50 of file AdjointAdvection.cpp.
|
protectedvirtual |
Definition at line 55 of file AdjointAdvection.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 52 of file AdjointAdvection.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
protectedvirtual |
Advects a vector field.
Reimplemented from Nektar::LinearisedAdvection.
Definition at line 59 of file AdjointAdvection.cpp.
References ASSERTL1, Nektar::LinearisedAdvection::m_baseflow, Nektar::LinearisedAdvection::m_gradBase, Nektar::LinearisedAdvection::m_halfMode, Nektar::LinearisedAdvection::m_interp, Nektar::LinearisedAdvection::m_multipleModes, Nektar::LinearisedAdvection::m_period, Nektar::LinearisedAdvection::m_singleMode, Nektar::LinearisedAdvection::m_slices, Nektar::LinearisedAdvection::m_spacedim, Vmath::Neg(), Nektar::LinearisedAdvection::UpdateBase(), Nektar::LinearisedAdvection::UpdateGradBase(), Vmath::Vmul(), and Vmath::Vvtvp().
|
friend |
Definition at line 49 of file AdjointAdvection.h.
|
static |
Name of class.
Definition at line 58 of file AdjointAdvection.h.