|
OOFEM 3.0
|
#include <sparsegeneigenvalsystemnm.h>
Public Member Functions | |
| SparseGeneralEigenValueSystemNM (Domain *d, EngngModel *m) | |
| Constructor. | |
| virtual | ~SparseGeneralEigenValueSystemNM () |
| Destructor. | |
| virtual const char * | giveClassName () const =0 |
| std::string | errorInfo (const char *func) |
| virtual ConvergedReason | solve (SparseMtrx &A, SparseMtrx &B, FloatArray &x, FloatMatrix &v, double rtol, int nroot)=0 |
| Public Member Functions inherited from oofem::NumericalMethod | |
| NumericalMethod (Domain *d, EngngModel *m) | |
| virtual | ~NumericalMethod () |
| Destructor. | |
| EngngModel * | giveEngngModel () |
| virtual void | initializeFrom (InputRecord &ir) |
| virtual void | reinitialize () |
| virtual void | setDomain (Domain *d) |
| virtual void | saveContext (DataStream &stream, ContextMode mode) |
| virtual void | restoreContext (DataStream &stream, ContextMode mode) |
Additional Inherited Members | |
| Protected Attributes inherited from oofem::NumericalMethod | |
| Domain * | domain |
| Pointer to domain. | |
| EngngModel * | engngModel |
| Pointer to engineering model. | |
This base class is an abstraction for all numerical methods solving sparse linear system of equations. The purpose of this class is to declare the general interface to all numerical methods solving this kind of problem. This interface allows to use any suitable instance of the Numerical method class to the solve problem, and leave the whole engineering model code, including mapping, unchanged, because all instances of this class provide the common interface.
Definition at line 55 of file sparsegeneigenvalsystemnm.h.
|
inline |
Constructor.
Definition at line 59 of file sparsegeneigenvalsystemnm.h.
References oofem::NumericalMethod::NumericalMethod().
Referenced by oofem::InverseIteration::InverseIteration(), oofem::SLEPcSolver::SLEPcSolver(), and oofem::SubspaceIteration::SubspaceIteration().
|
inlinevirtual |
Destructor.
Definition at line 61 of file sparsegeneigenvalsystemnm.h.
|
inline |
Definition at line 64 of file sparsegeneigenvalsystemnm.h.
References giveClassName().
|
pure virtual |
Implemented in oofem::InverseIteration, oofem::SLEPcSolver, and oofem::SubspaceIteration.
Referenced by errorInfo().
|
pure virtual |
Solves the given sparse generalized eigen value system of equations \( Av = x^2 Bv \).
| A | coefficient matrix. |
| B | coefficient matrix. |
| v | eigen vector(s). |
| x | eigen value(s). |
| rtol | tolerance |
| nroot | number of required eigenvalues. |
Implemented in oofem::InverseIteration, oofem::SLEPcSolver, and oofem::SubspaceIteration.