47 #include <solution/system_of_eqn/SystemOfEqn.h> 48 #include "/usr/include/boost/numeric/ublas/matrix_sparse.hpp" 66 typedef boost::numeric::ublas::mapped_matrix<double> sparse_matrix;
76 void resize_mass_matrix_if_needed(
const size_t &);
84 virtual int solve(
int numModes);
85 virtual int solve(
void);
88 virtual int addA(
const Matrix &,
const ID &,
double fact = 1.0) = 0;
89 virtual int addM(
const Matrix &,
const ID &,
double fact = 1.0) = 0;
91 virtual int setSize(
Graph &theGraph) = 0;
92 virtual void zeroA(
void) = 0;
93 virtual void zeroM(
void);
Matrix getDistributionFactors(void) const
Returns a matrix with the computed distribution factors placed by columns.
Definition: EigenSOE.cpp:271
Matrix getEigenvectors(void) const
Returns a matriz con los eigenvectors calculados colocados por columnas.
Definition: EigenSOE.cpp:187
virtual bool setSolver(EigenSolver *)
Asigna the solver que se empleará para resolver the eigenproblem.
Definition: EigenSOE.cpp:89
int size
order of A
Definition: EigenSOE.h:68
int getNumEqn(void) const
Returns the number of equations.
Definition: EigenSOE.cpp:111
virtual int solve(void)
No hace nada.
Definition: EigenSOE.cpp:148
Solution procedure for the finite element problem. The solution procedure is definde by specifiying: ...
Definition: SoluMethod.h:76
Vector getModalParticipationFactors(void) const
Returns the modal participation factors.
Definition: EigenSOE.cpp:256
virtual void zeroM(void)
Anula la matriz M.
Definition: EigenSOE.cpp:159
Base class for eigenproblem systems of equations.
Definition: EigenSOE.h:63
Vector getEquivalentStaticLoad(int mode, const double &) const
Return the equivalennt static force for the mode being passed as parameter.
Definition: EigenSOE.cpp:327
System of equations base class.
Definition: SystemOfEqn.h:84
double getEffectiveModalMass(int mode) const
Return the effective modal mass for the i-th mode.
Definition: EigenSOE.cpp:293
double getFrecuencia(int mode) const
Return the frecuency of the i-th mode.
Definition: EigenSOE.cpp:208
Vector getAngularFrequencies(void) const
Returns a vector with the computed angular frequencies for each mode.
Definition: EigenSOE.cpp:217
Vector getEigenvalues(void) const
Returns a vector with computed eigenvalues for each mode.
Definition: EigenSOE.cpp:212
Vector getEffectiveModalMasses(void) const
Returns the effective modal masses for each mode.
Definition: EigenSOE.cpp:307
sparse_matrix massMatrix
Matriz de masas (se usa en getModalParticipationFactor).
Definition: EigenSOE.h:70
Vector getDistributionFactor(int mode) const
Returns the distribution factors for the i-th mode.
Definition: EigenSOE.cpp:266
Vector getFrecuencias(void) const
Returns a vector with the computed frequencies for each mode.
Definition: EigenSOE.cpp:228
Matrix getNormalizedEigenvectors(void) const
Returns a matriz con los eigenvectors normalizados colocados por columnas (norma_infinito).
Definition: EigenSOE.cpp:192
The Graph class provides the abstraction of a graph, a collection of vertices and edges...
Definition: Graph.h:84
double getTotalMass(void) const
Return the model total mass.
Definition: EigenSOE.cpp:317
virtual ~EigenSOE(void)
Destructor.
Definition: EigenSOE.cpp:134
double getAngularFrequency(int mode) const
Returns the angular frequency of the i-th mode.
Definition: EigenSOE.cpp:200
virtual const Vector & getEigenvector(int mode) const
Returns the autovector que corresponde al modo being passed as parameter.
Definition: EigenSOE.cpp:177
virtual void identityM(void)
Makes M the identity matrix (to find stiffness matrix eigenvalues).
Definition: EigenSOE.cpp:165
const int & getNumModes(void) const
Returns the number of computed eigenvalues.
Definition: EigenSOE.cpp:232
virtual double getModalParticipationFactor(int mode) const
Returns the modal participation factor for the mode.
Definition: EigenSOE.cpp:236
virtual const double & getEigenvalue(int mode) const
Returns the eigenvalue of the mode being passed as parameter.
Definition: EigenSOE.cpp:196
Eigenvalue SOE solver.
Definition: EigenSolver.h:59
double getPeriodo(int mode) const
Returns the period of the i-th mode.
Definition: EigenSOE.cpp:204
EigenSOE(SoluMethod *, int classTag)
Constructor.
Definition: EigenSOE.cpp:62
================================================================================
Definition: ContinuaReprComponent.h:34
Vector getNormalizedEigenvector(int mode) const
Returns the autovector que corresponde al modo being passed as parameter normalizado de modo que la c...
Definition: EigenSOE.cpp:182
EigenSolver * getSolver(void)
Returns a pointer to the solver que se emplea para resolver the eigenproblem.
Definition: EigenSOE.cpp:155
Vector getPeriodos(void) const
Returns a vector with the computed periods for each mode.
Definition: EigenSOE.cpp:223