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

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

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

Public Types

typedef NewtonResult< RFType > Result
 

Public Member Functions

 NewtonTerminate (const GridOperator &go, TrialVector &u_)
 
 NewtonTerminate (const GridOperator &go)
 
void setReduction (RFType reduction)
 
void setMaxIterations (unsigned int maxit)
 
void setForceIteration (bool force_iteration)
 
void setAbsoluteLimit (RFType abs_limit_)
 
virtual bool terminate ()
 
void setVerbosityLevel (unsigned int verbosity_level)
 
void setKeepMatrix (bool b)
 Set whether the jacobian matrix should be kept across calls to apply(). More...
 
bool keepMatrix () const
 Return whether the jacobian matrix is kept across calls to apply(). More...
 
void discardMatrix ()
 Discard the stored Jacobian matrix. More...
 

Protected Member Functions

virtual void prepare_step (Matrix &A, TestVector &r)=0
 
virtual void line_search (TrialVector &z, TestVector &r)=0
 
virtual void defect (TestVector &r)=0
 

Protected Attributes

const GridOperator & gridoperator_
 
TrialVector * u_
 
std::shared_ptr< TrialVector > z_
 
std::shared_ptr< TestVector > r_
 
std::shared_ptr< Matrix > A_
 
Result res_
 
unsigned int verbosity_level_
 
RFType prev_defect_
 
RFType linear_reduction_
 
bool reassembled_
 
RFType reduction_
 
RFType abs_limit_
 
bool keep_matrix_
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<class GOS , class TrlV , class TstV >
Dune::PDELab::NewtonTerminate< GOS, TrlV, TstV >::NewtonTerminate ( const GridOperator &  go,
TrialVector &  u_ 
)
inline

References e.

template<class GOS , class TrlV , class TstV >
Dune::PDELab::NewtonTerminate< GOS, TrlV, TstV >::NewtonTerminate ( const GridOperator &  go)
inline

References e.

Member Function Documentation

template<class GOS , class TrlV , class TstV >
virtual void Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::defect ( TestVector &  r)
protectedpure virtualinherited
template<class GOS , class TrlV , class TstV >
void Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::discardMatrix ( )
inlineinherited

Discard the stored Jacobian matrix.

template<class GOS , class TrlV , class TstV >
bool Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::keepMatrix ( ) const
inlineinherited

Return whether the jacobian matrix is kept across calls to apply().

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::NewtonBase< GOS, TrlV, TstV >::prepare_step ( Matrix &  A,
TestVector &  r 
)
protectedpure virtualinherited
template<class GOS , class TrlV , class TstV >
void Dune::PDELab::NewtonTerminate< GOS, TrlV, TstV >::setAbsoluteLimit ( RFType  abs_limit_)
inline
template<class GOS , class TrlV , class TstV >
void Dune::PDELab::NewtonTerminate< GOS, TrlV, TstV >::setForceIteration ( bool  force_iteration)
inline
template<class GOS , class TrlV , class TstV >
void Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::setKeepMatrix ( bool  b)
inlineinherited

Set whether the jacobian matrix should be kept across calls to apply().

template<class GOS , class TrlV , class TstV >
void Dune::PDELab::NewtonTerminate< GOS, TrlV, TstV >::setMaxIterations ( unsigned int  maxit)
inline
template<class GOS , class TrlV , class TstV >
void Dune::PDELab::NewtonTerminate< GOS, TrlV, TstV >::setReduction ( RFType  reduction)
inline
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 >
virtual bool Dune::PDELab::NewtonTerminate< GOS, TrlV, TstV >::terminate ( )
inlinevirtual

Member Data Documentation

template<class GOS , class TrlV , class TstV >
std::shared_ptr<Matrix> Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::A_
protectedinherited
template<class GOS , class TrlV , class TstV >
RFType Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::abs_limit_
protectedinherited
template<class GOS , class TrlV , class TstV >
const GridOperator& Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::gridoperator_
protectedinherited
template<class GOS , class TrlV , class TstV >
bool Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::keep_matrix_
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 >
std::shared_ptr<TestVector> Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::r_
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
template<class GOS , class TrlV , class TstV >
std::shared_ptr<TrialVector> Dune::PDELab::NewtonBase< GOS, TrlV, TstV >::z_
protectedinherited

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