Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
stepUpdate Class Referenceabstract

Abstract base class for step update methods used in line search. More...

Inheritance diagram for stepUpdate:
Inheritance graph
[legend]
Collaboration diagram for stepUpdate:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("stepUpdate")
 
 declareRunTimeSelectionTable (autoPtr, stepUpdate, dictionary,(const dictionary &dict),(dict))
 
 stepUpdate (const dictionary &dict)
 
virtual ~stepUpdate ()=default
 
virtual void updateStep (scalar &step)=0
 
virtual void setDeriv (const scalar deriv)
 
virtual void setNewMeritValue (const scalar value)
 
virtual void setOldMeritValue (const scalar value)
 

Static Public Member Functions

static autoPtr< stepUpdateNew (const dictionary &dict)
 

Protected Member Functions

const dictionarycoeffsDict ()
 

Protected Attributes

const dictionary dict_
 

Detailed Description

Abstract base class for step update methods used in line search.

Source files

Definition at line 50 of file stepUpdate.H.

Constructor & Destructor Documentation

◆ stepUpdate()

stepUpdate ( const dictionary dict)

Definition at line 44 of file stepUpdate.C.

◆ ~stepUpdate()

virtual ~stepUpdate ( )
virtualdefault

Member Function Documentation

◆ coeffsDict()

const Foam::dictionary & coeffsDict ( )
protected

Definition at line 36 of file stepUpdate.C.

References stepUpdate::dict_, dictionary::optionalSubDict(), and Foam::type().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "stepUpdate"  )

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
stepUpdate  ,
dictionary  ,
(const dictionary &dict ,
(dict  
)

◆ New()

Foam::autoPtr< Foam::stepUpdate > New ( const dictionary dict)
static

Definition at line 52 of file stepUpdate.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, dictionary::getOrDefault(), Foam::Info, and Foam::type().

Here is the call graph for this function:

◆ updateStep()

virtual void updateStep ( scalar &  step)
pure virtual

Implemented in quadratic, and bisection.

◆ setDeriv()

void setDeriv ( const scalar  deriv)
virtual

Reimplemented in quadratic.

Definition at line 78 of file stepUpdate.C.

◆ setNewMeritValue()

void setNewMeritValue ( const scalar  value)
virtual

Reimplemented in quadratic.

Definition at line 84 of file stepUpdate.C.

◆ setOldMeritValue()

void setOldMeritValue ( const scalar  value)
virtual

Reimplemented in quadratic.

Definition at line 90 of file stepUpdate.C.

Member Data Documentation

◆ dict_

const dictionary dict_
protected

Definition at line 56 of file stepUpdate.H.

Referenced by stepUpdate::coeffsDict().


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