OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::InverseIteration Class Reference

This class implements the class NumericalMethod instance Generalized Jacobi Eigen Value Problem Solver. More...

#include <inverseit.h>

+ Inheritance diagram for oofem::InverseIteration:
+ Collaboration diagram for oofem::InverseIteration:

Public Member Functions

 InverseIteration (Domain *d, EngngModel *m)
 
virtual ~InverseIteration ()
 
virtual NM_Status solve (SparseMtrx &A, SparseMtrx &B, FloatArray &x, FloatMatrix &v, double rtol, int nroot)
 Solves the given sparse generalized eigen value system of equations $ Av = x^2 Bv $. More...
 
virtual const char * giveClassName () const
 
- Public Member Functions inherited from oofem::SparseGeneralEigenValueSystemNM
 SparseGeneralEigenValueSystemNM (Domain *d, EngngModel *m)
 Constructor. More...
 
virtual ~SparseGeneralEigenValueSystemNM ()
 Destructor. More...
 
std::string errorInfo (const char *func)
 
- Public Member Functions inherited from oofem::NumericalMethod
 NumericalMethod (Domain *d, EngngModel *m)
 Constructor. More...
 
virtual ~NumericalMethod ()
 Destructor. More...
 
EngngModelgiveEngngModel ()
 
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 nitem
 

Additional Inherited Members

- Protected Attributes inherited from oofem::NumericalMethod
Domaindomain
 Pointer to domain. More...
 
EngngModelengngModel
 Pointer to engineering model. More...
 

Detailed Description

This class implements the class NumericalMethod instance Generalized Jacobi Eigen Value Problem Solver.

DESCRIPTION : Perform solution of eigen value problem in the form K y = (omega)^2 M y

TASKS :

  • solving problem solveYourselfAt.
  • returning results (eigen values and associated eigen vectors).

Variable description :

  A(N,N)    = STIFFNESS MATRIX (ASSUMED POZITIVE DEFINITE)        *
  B(N,N)    = MASS MATRIX (ASSUMED POZITIVE DEFINITE)             *
  X(N,N)    = MATRIX STORING EIGENVECTORS ON SOLUTION EXIT        *
  EIGV(N)   = VECTOR STORING EIGENVALUES ON SOLUTION EXIT         *
  D(N)      = WORKING VECTOR                                      *
  N         = ORDER OF WORKING AREA MATRICES A AND B              *
  RTOL      = CONVERGENCE TOLERANCE (USUALLY SET TO 10.**-12)     *
  NSMAX     = MAXIMUM NUMBER OF SWEEPS ALLOVED                    *
                            (USUALLY SET TO 15)                   *

OUTPUT : (after call solveYourselfAt) A(N,N) = DIAGONALIZED STIFFNESS MATRIX * B(N,N) = DIAGONALIZED MASS MATRIX * X(N,N) = EIGENVECTORS STORED COLUMNWISE * EIGV(N) = EIGENVALUES *

Definition at line 86 of file inverseit.h.

Constructor & Destructor Documentation

oofem::InverseIteration::InverseIteration ( Domain d,
EngngModel m 
)

Definition at line 47 of file inverseit.C.

References nitem.

oofem::InverseIteration::~InverseIteration ( )
virtual

Definition at line 54 of file inverseit.C.

Member Function Documentation

virtual const char* oofem::InverseIteration::giveClassName ( ) const
inlinevirtual

Implements oofem::SparseGeneralEigenValueSystemNM.

Definition at line 96 of file inverseit.h.

NM_Status oofem::InverseIteration::solve ( SparseMtrx A,
SparseMtrx B,
FloatArray x,
FloatMatrix v,
double  rtol,
int  nroot 
)
virtual

Member Data Documentation

int oofem::InverseIteration::nitem
private

Definition at line 89 of file inverseit.h.

Referenced by InverseIteration(), and solve().


The documentation for this class was generated from the following files:

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:37 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011