36 #ifndef NEKTAR_SOLVERUTILS_DRIVERSTEADYSTATE_H
37 #define NEKTAR_SOLVERUTILS_DRIVERSTEADYSTATE_H
84 const complex<NekDouble> &alpha,
88 const complex<NekDouble> &alpha,
93 int &KrylovSubspaceDim,
162 #endif //NEKTAR_SOLVERUTILS_DRIVERSTEADYSTATE_H
void EvalEV_ScalarSFD(const NekDouble &X_input, const NekDouble &Delta_input, const complex< NekDouble > &alpha, NekDouble &MaxEV)
boost::shared_ptr< Driver > DriverSharedPtr
A shared pointer to a Driver object.
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
void ConvergenceHistory(const Array< OneD, const Array< OneD, NekDouble > > &qBar1, const Array< OneD, const Array< OneD, NekDouble > > &q0, NekDouble &MaxNormDiff_q_qBar, NekDouble &MaxNormDiff_q1_q0)
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
void ComputeSFD(const int i, const Array< OneD, const Array< OneD, NekDouble > > &q0, const Array< OneD, const Array< OneD, NekDouble > > &qBar0, Array< OneD, Array< OneD, NekDouble > > &q1, Array< OneD, Array< OneD, NekDouble > > &qBar1)
SOLVER_UTILS_EXPORT DriverSteadyState(const LibUtilities::SessionReaderSharedPtr pSession)
Constructor.
int m_NonConvergingStepsCounter
void ReadEVfile(int &KrylovSubspaceDim, NekDouble &growthEV, NekDouble &frequencyEV)
static std::string className
Name of the class.
void ComputeOptimization()
static DriverSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession)
Creates an instance of this class.
virtual SOLVER_UTILS_EXPORT ~DriverSteadyState()
Destructor.
void GradientDescentMethod(const complex< NekDouble > &alpha, NekDouble &X_output, NekDouble &Delta_output)
virtual SOLVER_UTILS_EXPORT void v_InitObject(ostream &out=cout)
Second-stage initialisation.
virtual SOLVER_UTILS_EXPORT void v_Execute(ostream &out=cout)
Virtual function for solve implementation.
void SetSFDOperator(const NekDouble X_input, const NekDouble Delta_input)
#define SOLVER_UTILS_EXPORT
static std::string driverLookupId
NekDouble M11
Definition of the SFD operator.
NekDouble m_Delta
Definition of the SFD parameters:
bool FlowPartiallyConverged
For adaptive SFD method.