gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
eigenSolver Class Reference

#include <eigenSolver.h>

Public Member Functions

 eigenSolver (dofManager< double > *manager, std::string A, std::string B="", bool hermitian=false)
 
 eigenSolver (linearSystemPETSc< double > *A, linearSystemPETSc< double > *B=nullptr, bool hermitian=false)
 
bool solve (int=0, std::string="", std::string="", double=0, int=0)
 
int getNumEigenValues ()
 
int getNumberEigenvectors ()
 
std::complex< double > getEigenValue (int num)
 
std::complex< double > getEigenVectorComp (int num, int com)
 
std::vector< std::complex< double > > & getEigenVector (int num)
 
void normalize_mode (std::vector< int > modeView, double scale=1.)
 
void clear ()
 

Private Attributes

std::vector< std::complex< double > > _dummy
 

Detailed Description

Definition at line 62 of file eigenSolver.h.

Constructor & Destructor Documentation

◆ eigenSolver() [1/2]

eigenSolver::eigenSolver ( dofManager< double > *  manager,
std::string  A,
std::string  B = "",
bool  hermitian = false 
)
inline

Definition at line 67 of file eigenSolver.h.

◆ eigenSolver() [2/2]

eigenSolver::eigenSolver ( linearSystemPETSc< double > *  A,
linearSystemPETSc< double > *  B = nullptr,
bool  hermitian = false 
)
inline

Definition at line 71 of file eigenSolver.h.

Member Function Documentation

◆ clear()

void eigenSolver::clear ( )
inline

Definition at line 86 of file eigenSolver.h.

◆ getEigenValue()

std::complex<double> eigenSolver::getEigenValue ( int  num)
inline

Definition at line 82 of file eigenSolver.h.

◆ getEigenVector()

std::vector<std::complex<double> >& eigenSolver::getEigenVector ( int  num)
inline

Definition at line 84 of file eigenSolver.h.

◆ getEigenVectorComp()

std::complex<double> eigenSolver::getEigenVectorComp ( int  num,
int  com 
)
inline

Definition at line 83 of file eigenSolver.h.

◆ getNumberEigenvectors()

int eigenSolver::getNumberEigenvectors ( )
inline

Definition at line 81 of file eigenSolver.h.

◆ getNumEigenValues()

int eigenSolver::getNumEigenValues ( )
inline

Definition at line 80 of file eigenSolver.h.

◆ normalize_mode()

void eigenSolver::normalize_mode ( std::vector< int >  modeView,
double  scale = 1. 
)
inline

Definition at line 85 of file eigenSolver.h.

◆ solve()

bool eigenSolver::solve ( int  = 0,
std::string  = "",
std::string  = "",
double  = 0,
int  = 0 
)
inline

Definition at line 75 of file eigenSolver.h.

Here is the call graph for this function:

Member Data Documentation

◆ _dummy

std::vector<std::complex<double> > eigenSolver::_dummy
private

Definition at line 64 of file eigenSolver.h.

Referenced by getEigenVector().


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