OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
This base class is an abstraction for all numerical methods solving sparse linear system of equations. More...
#include <sparsegeneigenvalsystemnm.h>
Public Member Functions | |
SparseGeneralEigenValueSystemNM (Domain *d, EngngModel *m) | |
Constructor. More... | |
virtual | ~SparseGeneralEigenValueSystemNM () |
Destructor. More... | |
virtual const char * | giveClassName () const =0 |
std::string | errorInfo (const char *func) |
virtual NM_Status | solve (SparseMtrx &A, SparseMtrx &B, FloatArray &x, FloatMatrix &v, double rtol, int nroot)=0 |
Solves the given sparse generalized eigen value system of equations . More... | |
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) |
Additional Inherited Members | |
Protected Attributes inherited from oofem::NumericalMethod | |
Domain * | domain |
Pointer to domain. More... | |
EngngModel * | engngModel |
Pointer to engineering model. More... | |
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 56 of file sparsegeneigenvalsystemnm.h.
|
inline |
Constructor.
Definition at line 60 of file sparsegeneigenvalsystemnm.h.
|
inlinevirtual |
Destructor.
Definition at line 62 of file sparsegeneigenvalsystemnm.h.
|
inline |
Definition at line 65 of file sparsegeneigenvalsystemnm.h.
|
pure virtual |
Implemented in oofem::SubspaceIteration, oofem::InverseIteration, and oofem::SLEPcSolver.
|
pure virtual |
Solves the given sparse generalized eigen value system of equations .
A | coefficient matrix. |
B | coefficient matrix. |
v | eigen vector(s). |
x | eigen value(s). |
rtol | tolerance |
nroot | number of required eigenvalues. |
Implemented in oofem::SubspaceIteration, oofem::InverseIteration, and oofem::SLEPcSolver.