xc
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members

Eigenvalue SOE solver. More...

#include <EigenSolver.h>

Inheritance diagram for XC::EigenSolver:
XC::Solver XC::MovableObject XC::DistributedBase XC::BandArpackppSolver XC::BandArpackSolver XC::FullGenEigenSolver XC::SymArpackSolver XC::SymBandEigenSolver

Public Member Functions

virtual int solve (void)=0
 Causes the solver to compute the solution of the system of equations. More...
 
virtual int solve (int numModes)=0
 
const int & getNumModes (void) const
 
virtual const VectorgetEigenvector (int mode) const =0
 
Vector getNormalizedEigenvector (int mode) const
 Returns the autovector of the i-th mode normalized so the maximal component is 1 (infinity norm). More...
 
Matrix getEigenvectors (void) const
 Returns a matrix of eigenvectors disposed in columns.
 
Matrix getNormalizedEigenvectors (void) const
 Returns a matrix with the normalized eigenvectors disposed in columns (infinity norm). More...
 
virtual const double & getEigenvalue (int mode) const =0
 
double getAngularFrequency (int mode) const
 Return the angular frequency for the i-th mode.
 
double getPeriodo (int mode) const
 Returns the period for the i-th mode.
 
double getFrecuencia (int mode) const
 Return the frecuency for the i-th mode.
 
Vector getEigenvalues (void) const
 Returns a vector con los eigenvalues calculados.
 
Vector getAngularFrequencies (void) const
 Returns a vector with the computed angular frequencies for each mode. More...
 
Vector getPeriodos (void) const
 Returns a vector with the computed periods for each mode. More...
 
Vector getFrecuencias (void) const
 Returns a vector with the computed frequencies for each mode. More...
 
virtual int setSize (void)=0
 
virtual const int & getSize (void) const =0
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor. More...
 
 MovableObject (int classTag)
 Constructor. More...
 
 MovableObject (const MovableObject &)
 Copy constructor. Doesn't copy the dbTag.
 
MovableObjectoperator= (const MovableObject &)
 Assignment operator. Doesn't copy the dbTag.
 
int getClassTag (void) const
 Return the class identifier.
 
int getDbTag (void) const
 Return the object identifier in the database.
 
int getDbTag (CommParameters &)
 Return the object identifier in the database.
 
void setDbTag (int dbTag)
 Sets the object identifier in the database.
 
void setDbTag (CommParameters &)
 Sets the object identifier in the database if not already set. More...
 
virtual int sendSelf (CommParameters &cp)=0
 Send the object. More...
 
virtual int recvSelf (const CommParameters &cp)=0
 Receive the object. More...
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 Sets the value param to the parameter argv.
 
virtual int updateParameter (int parameterID, Information &info)
 Updates the parameter identified by parameterID with info.
 
virtual int activateParameter (int parameterID)
 Activates the parameter identified by parameterID.
 
virtual int setVariable (const std::string &variable, Information &)
 Set the value of the variable idenfified by var.
 
virtual int getVariable (const std::string &variable, Information &)
 Return the value of the variable idenfified by var.
 
- 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

virtual EigenSolvergetCopy (void) const =0
 
virtual bool setEigenSOE (EigenSOE *theSOE)=0
 
 EigenSolver (const int &classTag, const int &nModes=0)
 Constructor.
 
- Protected Member Functions inherited from XC::Solver
 Solver (int classTag)
 Constructor. More...
 

Protected Attributes

int numModes
 number of eigenvalues to compute.
 

Friends

class EigenSOE
 

Detailed Description

Eigenvalue SOE solver.

Member Function Documentation

§ getAngularFrequencies()

XC::Vector XC::EigenSolver::getAngularFrequencies ( void  ) const

Returns a vector with the computed angular frequencies for each mode.

§ getFrecuencias()

XC::Vector XC::EigenSolver::getFrecuencias ( void  ) const

Returns a vector with the computed frequencies for each mode.

§ getNormalizedEigenvector()

XC::Vector XC::EigenSolver::getNormalizedEigenvector ( int  i) const

Returns the autovector of the i-th mode normalized so the maximal component is 1 (infinity norm).

§ getNormalizedEigenvectors()

XC::Matrix XC::EigenSolver::getNormalizedEigenvectors ( void  ) const

Returns a matrix with the normalized eigenvectors disposed in columns (infinity norm).

§ getPeriodos()

XC::Vector XC::EigenSolver::getPeriodos ( void  ) const

Returns a vector with the computed periods for each mode.

§ solve()

virtual int XC::EigenSolver::solve ( void  )
pure virtual

Causes the solver to compute the solution of the system of equations.

Return $0$ if successful , negative number if not; the actual value depending on the type of Solver.

Implements XC::Solver.

Implemented in XC::FullGenEigenSolver, XC::SymBandEigenSolver, XC::BandArpackSolver, XC::SymArpackSolver, and XC::BandArpackppSolver.


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