xc
|
Eigenvalue SOE solver. More...
#include <EigenSolver.h>
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 Vector & | getEigenvector (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 |
![]() | |
MovableObject (int classTag, int dbTag) | |
Constructor. More... | |
MovableObject (int classTag) | |
Constructor. More... | |
MovableObject (const MovableObject &) | |
Copy constructor. Doesn't copy the dbTag. | |
MovableObject & | operator= (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 ¶m) |
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 . | |
![]() | |
DistributedBase (void) | |
Constructor. | |
virtual DbTagData & | getDbTagData (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 EigenSolver * | getCopy (void) const =0 |
virtual bool | setEigenSOE (EigenSOE *theSOE)=0 |
EigenSolver (const int &classTag, const int &nModes=0) | |
Constructor. | |
![]() | |
Solver (int classTag) | |
Constructor. More... | |
Protected Attributes | |
int | numModes |
number of eigenvalues to compute. | |
Friends | |
class | EigenSOE |
Eigenvalue SOE solver.
XC::Vector XC::EigenSolver::getAngularFrequencies | ( | void | ) | const |
Returns a vector with the computed angular frequencies for each mode.
XC::Vector XC::EigenSolver::getFrecuencias | ( | void | ) | const |
Returns a vector with the computed frequencies for each mode.
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).
XC::Matrix XC::EigenSolver::getNormalizedEigenvectors | ( | void | ) | const |
Returns a matrix with the normalized eigenvectors disposed in columns (infinity norm).
XC::Vector XC::EigenSolver::getPeriodos | ( | void | ) | const |
Returns a vector with the computed periods for each mode.
|
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.