autogenu-jupyter
An automatic code generator and the continuation/GMRES (C/GMRES) based numerical solvers for nonlinear MPC
Loading...
Searching...
No Matches
cgmres::detail::ContinuationGMRES< NLP > Class Template Reference

#include <continuation_gmres.hpp>

Public Member Functions

 ContinuationGMRES (const NLP &nlp, const Scalar finite_difference_epsilon, const Scalar zeta)
 
 ContinuationGMRES ()=default
 
 ~ContinuationGMRES ()=default
 
Scalar optError () const
 
template<typename VectorType >
void eval_fonc (const Scalar t, const MatrixBase< VectorType > &x, const Vector< dim > &solution)
 
template<typename VectorType1 , typename VectorType2 , typename VectorType3 , typename VectorType4 >
void eval_b (const Scalar t, const MatrixBase< VectorType1 > &x, const MatrixBase< VectorType2 > &solution, const MatrixBase< VectorType3 > &solution_update, const MatrixBase< VectorType4 > &b_vec)
 
template<typename VectorType1 , typename VectorType2 , typename VectorType3 , typename VectorType4 >
void eval_Ax (const Scalar t, const MatrixBase< VectorType1 > &x, const MatrixBase< VectorType2 > &solution, const MatrixBase< VectorType3 > &solution_update, const MatrixBase< VectorType4 > &ax_vec)
 
void retrive_dummy (Vector< dim > &solution, const Scalar min_dummy)
 
void retrive_mu (Vector< dim > &solution)
 
decltype(auto) x () const
 
decltype(auto) lmd () const
 
const NLP & get_nlp () const
 
void synchronize_ocp ()
 

Static Public Attributes

static constexpr int nx = NLP::nx
 
static constexpr int nu = NLP::nu
 
static constexpr int nc = NLP::nc
 
static constexpr int dim = NLP::dim
 

Constructor & Destructor Documentation

◆ ContinuationGMRES() [1/2]

template<class NLP >
cgmres::detail::ContinuationGMRES< NLP >::ContinuationGMRES ( const NLP &  nlp,
const Scalar  finite_difference_epsilon,
const Scalar  zeta 
)
inline

◆ ContinuationGMRES() [2/2]

template<class NLP >
cgmres::detail::ContinuationGMRES< NLP >::ContinuationGMRES ( )
default

◆ ~ContinuationGMRES()

template<class NLP >
cgmres::detail::ContinuationGMRES< NLP >::~ContinuationGMRES ( )
default

Member Function Documentation

◆ eval_Ax()

template<class NLP >
template<typename VectorType1 , typename VectorType2 , typename VectorType3 , typename VectorType4 >
void cgmres::detail::ContinuationGMRES< NLP >::eval_Ax ( const Scalar  t,
const MatrixBase< VectorType1 > &  x,
const MatrixBase< VectorType2 > &  solution,
const MatrixBase< VectorType3 > &  solution_update,
const MatrixBase< VectorType4 > &  ax_vec 
)
inline

◆ eval_b()

template<class NLP >
template<typename VectorType1 , typename VectorType2 , typename VectorType3 , typename VectorType4 >
void cgmres::detail::ContinuationGMRES< NLP >::eval_b ( const Scalar  t,
const MatrixBase< VectorType1 > &  x,
const MatrixBase< VectorType2 > &  solution,
const MatrixBase< VectorType3 > &  solution_update,
const MatrixBase< VectorType4 > &  b_vec 
)
inline

◆ eval_fonc()

template<class NLP >
template<typename VectorType >
void cgmres::detail::ContinuationGMRES< NLP >::eval_fonc ( const Scalar  t,
const MatrixBase< VectorType > &  x,
const Vector< dim > &  solution 
)
inline

◆ get_nlp()

template<class NLP >
const NLP & cgmres::detail::ContinuationGMRES< NLP >::get_nlp ( ) const
inline

◆ lmd()

template<class NLP >
decltype(auto) cgmres::detail::ContinuationGMRES< NLP >::lmd ( ) const
inline

◆ optError()

template<class NLP >
Scalar cgmres::detail::ContinuationGMRES< NLP >::optError ( ) const
inline

◆ retrive_dummy()

template<class NLP >
void cgmres::detail::ContinuationGMRES< NLP >::retrive_dummy ( Vector< dim > &  solution,
const Scalar  min_dummy 
)
inline

◆ retrive_mu()

template<class NLP >
void cgmres::detail::ContinuationGMRES< NLP >::retrive_mu ( Vector< dim > &  solution)
inline

◆ synchronize_ocp()

template<class NLP >
void cgmres::detail::ContinuationGMRES< NLP >::synchronize_ocp ( )
inline

◆ x()

template<class NLP >
decltype(auto) cgmres::detail::ContinuationGMRES< NLP >::x ( ) const
inline

Member Data Documentation

◆ dim

template<class NLP >
constexpr int cgmres::detail::ContinuationGMRES< NLP >::dim = NLP::dim
staticconstexpr

◆ nc

template<class NLP >
constexpr int cgmres::detail::ContinuationGMRES< NLP >::nc = NLP::nc
staticconstexpr

◆ nu

template<class NLP >
constexpr int cgmres::detail::ContinuationGMRES< NLP >::nu = NLP::nu
staticconstexpr

◆ nx

template<class NLP >
constexpr int cgmres::detail::ContinuationGMRES< NLP >::nx = NLP::nx
staticconstexpr

The documentation for this class was generated from the following file: