36 #ifndef NEKTAR_SOLVERUTILS_DRIVERSTEADYSTATE_H
37 #define NEKTAR_SOLVERUTILS_DRIVERSTEADYSTATE_H
84 const std::complex<NekDouble> &alpha,
88 const std::complex<NekDouble> &alpha,
93 int &KrylovSubspaceDim,
162 #endif //NEKTAR_SOLVERUTILS_DRIVERSTEADYSTATE_H
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)
virtual SOLVER_UTILS_EXPORT void v_InitObject(std::ostream &out=std::cout)
Second-stage initialisation.
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)
void GradientDescentMethod(const std::complex< NekDouble > &alpha, NekDouble &X_output, NekDouble &Delta_output)
static std::string className
Name of the class.
void ComputeOptimization()
static DriverSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession)
Creates an instance of this class.
void EvalEV_ScalarSFD(const NekDouble &X_input, const NekDouble &Delta_input, const std::complex< NekDouble > &alpha, NekDouble &MaxEV)
virtual SOLVER_UTILS_EXPORT ~DriverSteadyState()
Destructor.
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:
virtual SOLVER_UTILS_EXPORT void v_Execute(std::ostream &out=std::cout)
Virtual function for solve implementation.
bool FlowPartiallyConverged
For adaptive SFD method.