OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
This class implements the Generalized Jacobi Eigenvalue Problem Solver. More...
#include <gjacobi.h>
Public Member Functions | |
GJacobi (Domain *d, EngngModel *m) | |
virtual | ~GJacobi () |
virtual NM_Status | solve (FloatMatrix &K, FloatMatrix &M, FloatArray &w, FloatMatrix &x) |
Solves the given sparse generalized eigenvalue system of equations . More... | |
virtual const char * | giveClassName () const |
std::string | errorInfo (const char *func) |
Public Member Functions inherited from oofem::NumericalMethod | |
NumericalMethod (Domain *d, EngngModel *m) | |
Constructor. More... | |
virtual | ~NumericalMethod () |
Destructor. More... | |
EngngModel * | giveEngngModel () |
virtual IRResultType | initializeFrom (InputRecord *ir) |
virtual void | reinitialize () |
Reinitializes the receiver. More... | |
virtual void | setDomain (Domain *d) |
virtual contextIOResultType | saveContext (DataStream &stream, ContextMode mode, void *obj=NULL) |
virtual contextIOResultType | restoreContext (DataStream &stream, ContextMode mode, void *obj=NULL) |
Private Attributes | |
int | nsmax |
double | rtol |
Additional Inherited Members | |
Protected Attributes inherited from oofem::NumericalMethod | |
Domain * | domain |
Pointer to domain. More... | |
EngngModel * | engngModel |
Pointer to engineering model. More... | |
This class implements the Generalized Jacobi Eigenvalue Problem Solver.
Perform solution of eigenvalue problem in the form
oofem::GJacobi::GJacobi | ( | Domain * | d, |
EngngModel * | m | ||
) |
|
inline |
|
inlinevirtual |
|
virtual |
Solves the given sparse generalized eigenvalue system of equations .
K | Coefficient matrix. |
M | Coefficient matrix. |
x | Eigenvector(s). |
w | Eigenvalue(s). |
Definition at line 55 of file gjacobi.C.
References oofem::FloatArray::at(), oofem::FloatMatrix::at(), oofem::FloatMatrix::beUnitMatrix(), oofem::FloatMatrix::giveNumberOfRows(), GJacobi_ZERO_CHECK_TOL, oofem::FloatMatrix::isSquare(), NM_Success, nsmax, OOFEM_ERROR, OOFEM_LOG_DEBUG, oofem::FloatArray::printYourself(), oofem::FloatMatrix::printYourself(), oofem::FloatArray::resize(), oofem::FloatMatrix::resize(), and rtol.
Referenced by oofem::SubspaceIteration::solve().
|
private |
|
private |