dune-pdelab  2.0.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Dune::PDELab::Newton< GOS, S, TrlV, TstV > Class Template Referenceabstract

#include <dune/pdelab/newton/newton.hh>

Inheritance diagram for Dune::PDELab::Newton< GOS, S, TrlV, TstV >:
Inheritance graph

Public Types

typedef NewtonResult< RFType > Result
 
enum  Strategy { noLineSearch, hackbuschReusken, hackbuschReuskenAcceptBest }
 

Public Member Functions

 Newton (GridOperator &go, TrialVector &u_, Solver &solver_)
 
 Newton (GridOperator &go, Solver &solver_)
 
void setParameters (Dune::ParameterTree &param)
 interpret a parameter tree as a set of options for the newton solver More...
 
void apply ()
 
void apply (TrialVector &u_)
 
const Resultresult () const
 
void setVerbosityLevel (unsigned int verbosity_level_)
 
void setReduction (RFType reduction_)
 
void setMaxIterations (unsigned int maxit_)
 
void setForceIteration (bool force_iteration_)
 
void setAbsoluteLimit (RFType abs_limit_)
 
virtual bool terminate ()
 
void setLineSearchStrategy (Strategy strategy_)
 
void setLineSearchStrategy (std::string strategy_)
 
void setLineSearchMaxIterations (unsigned int maxit_)
 
void setLineSearchDampingFactor (RFType damping_factor_)
 
virtual void line_search (TrialVector &z, TestVector &r)
 
void setMinLinearReduction (RFType min_linear_reduction_)
 
void setFixedLinearReduction (bool fixed_linear_reduction_)
 
void setReassembleThreshold (RFType reassemble_threshold_)
 
virtual void prepare_step (Matrix &A, TstV &)
 

Protected Member Functions

virtual void defect (TestVector &r)
 
virtual bool terminate ()=0
 
virtual void prepare_step (Matrix &A, TestVector &r)=0
 
virtual void line_search (TrialVector &z, TestVector &r)=0
 
Strategy strategyFromName (const std::string &s)
 

Protected Attributes

GridOperator & gridoperator
 
TrialVector * u
 
Result res
 
unsigned int verbosity_level
 
RFType prev_defect
 
RFType linear_reduction
 
bool reassembled
 
RFType reduction
 
RFType abs_limit
 

Member Typedef Documentation

template<class GOS , class S , class TrlV , class TstV >
typedef NewtonResult<RFType> Dune::PDELab::NewtonSolver< GOS, S, TrlV, TstV >::Result
inherited

Member Enumeration Documentation

template<class GOS , class TrlV , class TstV >
enum Dune::PDELab::NewtonLineSearch::Strategy
inherited
Enumerator
noLineSearch 
hackbuschReusken 
hackbuschReuskenAcceptBest 

Constructor & Destructor Documentation

template<class GOS , class S , class TrlV , class TstV = TrlV>
Dune::PDELab::Newton< GOS, S, TrlV, TstV >::Newton ( GridOperator &  go,
TrialVector &  u_,
Solver &  solver_ 
)
inline
template<class GOS , class S , class TrlV , class TstV = TrlV>
Dune::PDELab::Newton< GOS, S, TrlV, TstV >::Newton ( GridOperator &  go,
Solver &  solver_ 
)
inline

Member Function Documentation

template<class GOS , class S , class TrlV , class TstV >
void Dune::PDELab::NewtonSolver< GOS, S, TrlV, TstV >::apply ( )
inherited
template<class GOS , class S , class TrlV , class TstV >
void Dune::PDELab::NewtonSolver< GOS, S, TrlV, TstV >::apply ( TrialVector &  u_)
inherited
template<class GOS , class S , class TrlV , class TstV >
virtual void Dune::PDELab::NewtonSolver< GOS, S, TrlV, TstV >::defect ( TestVector &  r)
inlineprotectedvirtualinherited
template<class GOS , class TrlV , class TstV >
virtual void Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::line_search ( TrialVector &  z,
TestVector &  r 
)
protectedpure virtualinherited
template<class GOS , class TrlV , class TstV >
virtual void Dune::PDELab::NewtonLineSearch< GOS, TrlV, TstV >::line_search ( TrialVector &  z,
TestVector &  r 
)
inlinevirtualinherited
template<class GOS , class TrlV , class TstV >
virtual void Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::prepare_step ( Matrix &  A,
TestVector &  r 
)
protectedpure virtualinherited
template<class GOS , class TrlV , class TstV >
virtual void Dune::PDELab::NewtonPrepareStep< GOS, TrlV, TstV >::prepare_step ( Matrix &  A,
TstV &   
)
inlinevirtualinherited
template<class GOS , class S , class TrlV , class TstV >
const Result& Dune::PDELab::NewtonSolver< GOS, S, TrlV, TstV >::result ( ) const
inlineinherited
template<class GOS , class TrlV , class TstV >
void Dune::PDELab::NewtonTerminate< GOS, TrlV, TstV >::setAbsoluteLimit ( RFType  abs_limit_)
inlineinherited
template<class GOS , class TrlV , class TstV >
void Dune::PDELab::NewtonPrepareStep< GOS, TrlV, TstV >::setFixedLinearReduction ( bool  fixed_linear_reduction_)
inlineinherited
template<class GOS , class TrlV , class TstV >
void Dune::PDELab::NewtonTerminate< GOS, TrlV, TstV >::setForceIteration ( bool  force_iteration_)
inlineinherited
template<class GOS , class TrlV , class TstV >
void Dune::PDELab::NewtonLineSearch< GOS, TrlV, TstV >::setLineSearchDampingFactor ( RFType  damping_factor_)
inlineinherited
template<class GOS , class TrlV , class TstV >
void Dune::PDELab::NewtonLineSearch< GOS, TrlV, TstV >::setLineSearchMaxIterations ( unsigned int  maxit_)
inlineinherited
template<class GOS , class TrlV , class TstV >
void Dune::PDELab::NewtonLineSearch< GOS, TrlV, TstV >::setLineSearchStrategy ( Strategy  strategy_)
inlineinherited
template<class GOS , class TrlV , class TstV >
void Dune::PDELab::NewtonLineSearch< GOS, TrlV, TstV >::setLineSearchStrategy ( std::string  strategy_)
inlineinherited
template<class GOS , class TrlV , class TstV >
void Dune::PDELab::NewtonTerminate< GOS, TrlV, TstV >::setMaxIterations ( unsigned int  maxit_)
inlineinherited
template<class GOS , class TrlV , class TstV >
void Dune::PDELab::NewtonPrepareStep< GOS, TrlV, TstV >::setMinLinearReduction ( RFType  min_linear_reduction_)
inlineinherited
template<class GOS , class S , class TrlV , class TstV = TrlV>
void Dune::PDELab::Newton< GOS, S, TrlV, TstV >::setParameters ( Dune::ParameterTree &  param)
inline
template<class GOS , class TrlV , class TstV >
void Dune::PDELab::NewtonPrepareStep< GOS, TrlV, TstV >::setReassembleThreshold ( RFType  reassemble_threshold_)
inlineinherited
template<class GOS , class TrlV , class TstV >
void Dune::PDELab::NewtonTerminate< GOS, TrlV, TstV >::setReduction ( RFType  reduction_)
inlineinherited
template<class GOS , class TrlV , class TstV >
void Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::setVerbosityLevel ( unsigned int  verbosity_level_)
inlineinherited
template<class GOS , class TrlV , class TstV >
Strategy Dune::PDELab::NewtonLineSearch< GOS, TrlV, TstV >::strategyFromName ( const std::string &  s)
inlineprotectedinherited
template<class GOS , class TrlV , class TstV >
virtual bool Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::terminate ( )
protectedpure virtualinherited
template<class GOS , class TrlV , class TstV >
virtual bool Dune::PDELab::NewtonTerminate< GOS, TrlV, TstV >::terminate ( )
inlinevirtualinherited

Member Data Documentation

template<class GOS , class TrlV , class TstV >
RFType Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::abs_limit
protectedinherited
template<class GOS , class TrlV , class TstV >
GridOperator& Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::gridoperator
protectedinherited
template<class GOS , class TrlV , class TstV >
RFType Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::linear_reduction
protectedinherited
template<class GOS , class TrlV , class TstV >
RFType Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::prev_defect
protectedinherited
template<class GOS , class TrlV , class TstV >
bool Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::reassembled
protectedinherited
template<class GOS , class TrlV , class TstV >
RFType Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::reduction
protectedinherited
template<class GOS , class TrlV , class TstV >
Result Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::res
protectedinherited
template<class GOS , class TrlV , class TstV >
TrialVector* Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::u
protectedinherited
template<class GOS , class TrlV , class TstV >
unsigned int Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::verbosity_level
protectedinherited

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