XC Open source finite element analysis program
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members

LineSearch is an abstract base class, i.e. no objects of it's type can be created. Its subclasses seek to find a better solution to R(U)=0 than the solution Ui-1 + delta Ui would give, typically Ui = Ui-1 + factor * delta Ui. More...

#include <LineSearch.h>

Inheritance diagram for XC::LineSearch:
XC::MovableObject XC::DistributedBase XC::BisectionLineSearch XC::InitialInterpolatedLineSearch XC::RegulaFalsiLineSearch XC::SecantLineSearch

Public Member Functions

virtual int newStep (LinearSOE &theSOE)
 
virtual int search (double s0, double s1, LinearSOE &theSOE, IncrementalIntegrator &theIntegrator)=0
 
int sendSelf (CommParameters &)
 
int recvSelf (const CommParameters &)
 
void Print (std::ostream &s, int flag=0)
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor.
 
 MovableObject (int classTag)
 Constructor.
 
 MovableObject (const MovableObject &otro)
 Copy constructor.
 
MovableObjectoperator= (const MovableObject &otro)
 Operacdor asignación.
 
int getClassTag (void) const
 Returns the tag de la clase.
 
int getDbTag (void) const
 Returns the tag para la database.
 
int getDbTag (CommParameters &)
 Returns the tag para la database.
 
void setDbTag (int dbTag)
 Asigna el tag para la database.
 
void setDbTag (CommParameters &)
 Asigna, sólo si es preciso, el tag para la database.
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 
virtual int updateParameter (int parameterID, Information &info)
 
virtual int activateParameter (int parameterID)
 
virtual int setVariable (const std::string &variable, Information &)
 Returns the identificador de la variable cuyo nombre being passed as parameter.
 
virtual int getVariable (const std::string &variable, Information &)
 
- Public Member Functions inherited from XC::DistributedBase
 DistributedBase (void)
 Constructor.
 
virtual DbTagDatagetDbTagData (void) const
 Returns a vector to store class dbTags.
 
const int & getDbTagDataPos (const int &i) const
 Returns the data at the i-th position.
 
void setDbTagDataPos (const int &i, const int &v)
 Sets the data at the i-th position.
 
void inicComm (const int &dataSize) const
 Initializes communication.
 

Protected Member Functions

 LineSearch (int classTag, const double &tol=0.8, const int &mi=10, const double &mneta=0.1, const double &mxeta=10, const int &flag=1)
 
virtual LineSearchgetCopy (void) const =0
 
int updateAndUnbalance (IncrementalIntegrator &)
 

Protected Attributes

Vector x
 
double tolerance
 
int maxIter
 
double minEta
 
double maxEta
 
int printFlag
 

Friends

class NewtonLineSearch
 

Detailed Description

LineSearch is an abstract base class, i.e. no objects of it's type can be created. Its subclasses seek to find a better solution to R(U)=0 than the solution Ui-1 + delta Ui would give, typically Ui = Ui-1 + factor * delta Ui.


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