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

#include <newton_gmres.hpp>

Public Member Functions

 NewtonGMRES (const NLP &nlp, const Scalar finite_difference_epsilon)
 
 NewtonGMRES ()=default
 
 ~NewtonGMRES ()=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 dim = NLP::dim
 

Constructor & Destructor Documentation

◆ NewtonGMRES() [1/2]

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

◆ NewtonGMRES() [2/2]

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

◆ ~NewtonGMRES()

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

Member Function Documentation

◆ eval_Ax()

template<class NLP >
template<typename VectorType1 , typename VectorType2 , typename VectorType3 , typename VectorType4 >
void cgmres::detail::NewtonGMRES< 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::NewtonGMRES< 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::NewtonGMRES< NLP >::eval_fonc ( const Scalar  t,
const MatrixBase< VectorType > &  x,
const Vector< dim > &  solution 
)
inline

◆ get_nlp()

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

◆ lmd()

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

◆ optError()

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

◆ retrive_dummy()

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

◆ retrive_mu()

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

◆ synchronize_ocp()

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

◆ x()

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

Member Data Documentation

◆ dim

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

◆ nx

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

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