36 #ifndef NEKTAR_SOLVERS_ADJOINTADVECTION_H
37 #define NEKTAR_SOLVERS_ADJOINTADVECTION_H
104 bool UseContCoeffs =
false)
const;
108 bool UseContCoeffs =
false)
const;
121 const int nConvectiveFields,
183 #endif //NEKTAR_SOLVERS_INCNAVIERSTOKES_H
Array< OneD, NekDouble > m_tmpOUT
SpatialDomains::BoundaryConditionsSharedPtr m_boundaryConditions
boost::shared_ptr< FloquetBlockMatrixMap > FloquetBlockMatrixMapShPtr
A shared pointer to a BlockMatrixMap.
static SolverUtils::AdvectionSharedPtr create(std::string)
Creates an instance of this class.
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
void ImportFldBase(std::string pInfile, Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, int slice)
Import Base flow.
LibUtilities::SessionReaderSharedPtr m_session
FloquetBlockMatrixMapShPtr m_FloquetBlockMat
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
int m_npointsX
number of points in X direction (if homogeneous)
boost::shared_ptr< Advection > AdvectionSharedPtr
A shared pointer to an Advection object.
bool m_homogen_dealiasing
ProjectionType
Type of Galerkin projection.
NekDouble m_LhomY
physical length in Y direction (if homogeneous)
LibUtilities::NektarFFTSharedPtr m_FFT
Array< OneD, Array< OneD, NekDouble > > m_baseflow
Storage for base flow.
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
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.
virtual void v_InitObject(LibUtilities::SessionReaderSharedPtr pSession, Array< OneD, MultiRegions::ExpListSharedPtr > pFields)
Initialises the advection object.
Array< OneD, Array< OneD, NekDouble > > m_interp
DNekBlkMatSharedPtr GetFloquetBlockMatrix(FloquetMatType mattype, bool UseContCoeffs=false) const
map< FloquetMatType, DNekBlkMatSharedPtr > FloquetBlockMatrixMap
A map between matrix keys and their associated block matrices.
virtual ~AdjointAdvection()
int m_npointsY
number of points in Y direction (if homogeneous)
bool m_HalfMode
flag to determine if use half mode or not
int m_HomoDirec
number of homogenous directions
static std::string className
Name of class.
int m_NumMode
Mode to use in case of single mode analysis.
NekDouble m_LhomX
physical length in X direction (if homogeneous)
void UpdateBase(const NekDouble m_slices, const Array< OneD, const NekDouble > &inarray, Array< OneD, NekDouble > &outarray, const NekDouble m_time, const NekDouble m_period)
MultiRegions::CoeffState m_CoeffState
boost::shared_ptr< DNekBlkMat > DNekBlkMatSharedPtr
enum HomogeneousType m_HomogeneousType
Advection for the adjoint form of the linearised Navier-Stokes equations.
boost::shared_ptr< BoundaryConditions > BoundaryConditionsSharedPtr
void DFT(const string file, Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const NekDouble m_slices)
NekDouble m_LhomZ
physical length in Z direction (if homogeneous)
virtual void v_SetBaseFlow(const Array< OneD, Array< OneD, NekDouble > > &inarray)
Overrides the base flow used during linearised advection.
bool m_SingleMode
flag to determine if use single mode or not
int m_npointsZ
number of points in Z direction (if homogeneous)
Array< OneD, NekDouble > m_tmpIN
DNekBlkMatSharedPtr GenFloquetBlockMatrix(FloquetMatType mattype, bool UseContCoeffs=false) const
MultiRegions::ProjectionType m_projectionType
bool m_useFFT
flag to determine if use or not the FFT for transformations
HomogeneousType
Parameter for homogeneous expansions.
Defines a callback function which evaluates the flux vector.
boost::shared_ptr< NektarFFT > NektarFFTSharedPtr
bool m_MultipleModes
flag to determine if use multiple mode or not