KASKADE 7 development version
|
#include <comp_step.hh>
Definition at line 1789 of file comp_step.hh.
Public Types | |
typedef Preconditioner::Domain | Domain |
typedef Preconditioner::Range | Range |
typedef Preconditioner::Assembler | NormalStepAssembler |
typedef OptimalControlTraits< typename Assembler::Functional::Functional, Assembler > | Traits |
typedef double | Scalar |
typedef MGProjectionOnTangentSpace< NormalStepAssembler, components, Traits::stateId, Traits::controlId, Traits::adjointId > | Projection |
typedef Assembler::Functional::Functional | Functional |
typedef CGBase< Domain, Range, cgImpl > | Solver |
typedef Bridge::ConnectedKaskadeLinearization< typename NormalStepAssembler::Functional::Functional > | NormalBridgeLinearization |
typedef Bridge::ConnectedKaskadeLinearization< typename Assembler::Functional::Functional > | TangentialBridgeLinearization |
typedef Assembler::Functional::Functional | TF |
typedef Dune::FieldVector< double, 1 > | field_type |
Public Member Functions | |
ProjectedAPCGSolver (Preconditioner &P_, Scalar accuracy_, int verbose_=0, size_t maxSteps_=500, double eps_=1e-12) | |
virtual | ~ProjectedAPCGSolver () |
virtual void | setRelativeAccuracy (double accuracy_) final |
Specify accuracy that should be achieved. More... | |
void | usePreconditionerForNorm () |
void | setLookAHead (size_t d) |
virtual int | nSolutionVectors () const final |
The maximal number of solution vectors, returned by basis. More... | |
virtual bool | localConvergenceLikely () final |
virtual AbstractFunctionSpaceElement & | getCorrectRhs () final |
virtual void | setEps (double eps_) |
virtual void | setLipschitzConstant (double omega) |
int | basis (std::vector< std::shared_ptr< AbstractFunctionSpaceElement > > &corrections, LagrangeLinearization &linearization, AbstractFunctionSpaceElement const &normalStep, double nu0, AbstractFunctionSpaceElement *residual=nullptr) |
virtual bool | getNorms (Dune::Matrix< field_type > &M) const |
Returns true, if some information on the norm is available. More... | |
virtual void | regularize (bool) |
virtual bool | regularizationEnabled () const |
Static Public Attributes | |
static constexpr int | yIdx = Traits::yIdx |
static constexpr int | uIdx = Traits::uIdx |
static constexpr int | pIdx = Traits::pIdx |
typedef Preconditioner::Domain Kaskade::ProjectedAPCGSolver< Assembler, Preconditioner, VariableSet, components, cgImpl >::Domain |
Definition at line 1792 of file comp_step.hh.
|
inherited |
Definition at line 22 of file opt_interface.hh.
typedef Assembler::Functional::Functional Kaskade::ProjectedAPCGSolver< Assembler, Preconditioner, VariableSet, components, cgImpl >::Functional |
Definition at line 1798 of file comp_step.hh.
typedef Bridge::ConnectedKaskadeLinearization<typename NormalStepAssembler::Functional::Functional> Kaskade::ProjectedAPCGSolver< Assembler, Preconditioner, VariableSet, components, cgImpl >::NormalBridgeLinearization |
Definition at line 1803 of file comp_step.hh.
typedef Preconditioner::Assembler Kaskade::ProjectedAPCGSolver< Assembler, Preconditioner, VariableSet, components, cgImpl >::NormalStepAssembler |
Definition at line 1794 of file comp_step.hh.
typedef MGProjectionOnTangentSpace<NormalStepAssembler,components,Traits::stateId,Traits::controlId,Traits::adjointId> Kaskade::ProjectedAPCGSolver< Assembler, Preconditioner, VariableSet, components, cgImpl >::Projection |
Definition at line 1797 of file comp_step.hh.
typedef Preconditioner::Range Kaskade::ProjectedAPCGSolver< Assembler, Preconditioner, VariableSet, components, cgImpl >::Range |
Definition at line 1793 of file comp_step.hh.
typedef double Kaskade::ProjectedAPCGSolver< Assembler, Preconditioner, VariableSet, components, cgImpl >::Scalar |
Definition at line 1796 of file comp_step.hh.
typedef CGBase<Domain,Range,cgImpl> Kaskade::ProjectedAPCGSolver< Assembler, Preconditioner, VariableSet, components, cgImpl >::Solver |
Definition at line 1802 of file comp_step.hh.
typedef Bridge::ConnectedKaskadeLinearization<typename Assembler::Functional::Functional> Kaskade::ProjectedAPCGSolver< Assembler, Preconditioner, VariableSet, components, cgImpl >::TangentialBridgeLinearization |
Definition at line 1804 of file comp_step.hh.
typedef Assembler::Functional::Functional Kaskade::ProjectedAPCGSolver< Assembler, Preconditioner, VariableSet, components, cgImpl >::TF |
Definition at line 1805 of file comp_step.hh.
typedef OptimalControlTraits<typename Assembler::Functional::Functional,Assembler> Kaskade::ProjectedAPCGSolver< Assembler, Preconditioner, VariableSet, components, cgImpl >::Traits |
Definition at line 1795 of file comp_step.hh.
|
inline |
Definition at line 1807 of file comp_step.hh.
|
inlinevirtual |
Definition at line 1811 of file comp_step.hh.
|
inlineinherited |
Solve with possibly multiple solutions, return value: number of computed solutions
Definition at line 27 of file opt_interface.hh.
|
inlinefinalvirtual |
Implements Kaskade::AbstractTangentialSpace.
Definition at line 1829 of file comp_step.hh.
|
inlinevirtualinherited |
Returns true, if some information on the norm is available.
Definition at line 42 of file opt_interface.hh.
|
inlinefinalvirtual |
Reimplemented from Kaskade::AbstractTangentialSpace.
Definition at line 1824 of file comp_step.hh.
|
inlinefinalvirtual |
The maximal number of solution vectors, returned by basis.
Implements Kaskade::AbstractTangentialSpace.
Definition at line 1823 of file comp_step.hh.
|
inlinevirtualinherited |
Definition at line 48 of file opt_interface.hh.
|
inlinevirtualinherited |
Definition at line 46 of file opt_interface.hh.
|
inlinevirtual |
Reimplemented from Kaskade::AbstractTangentialSpace.
Definition at line 1834 of file comp_step.hh.
|
inlinevirtual |
Reimplemented from Kaskade::AbstractTangentialSpace.
Definition at line 1836 of file comp_step.hh.
|
inline |
Definition at line 1821 of file comp_step.hh.
|
inlinefinalvirtual |
Specify accuracy that should be achieved.
Implements Kaskade::AbstractTangentialSpace.
Definition at line 1813 of file comp_step.hh.
|
inline |
Definition at line 1819 of file comp_step.hh.
|
staticconstexpr |
Definition at line 1801 of file comp_step.hh.
|
staticconstexpr |
Definition at line 1800 of file comp_step.hh.
|
staticconstexpr |
Definition at line 1799 of file comp_step.hh.