FEMTIC
Public Member Functions | Private Member Functions | List of all members
ComplexSparseSquareSymmetricMatrix Class Reference

#include <ComplexSparseSquareSymmetricMatrix.h>

Inheritance diagram for ComplexSparseSquareSymmetricMatrix:
Inheritance graph
[legend]
Collaboration diagram for ComplexSparseSquareSymmetricMatrix:
Collaboration graph
[legend]

Public Member Functions

 ComplexSparseSquareSymmetricMatrix ()
 
 ComplexSparseSquareSymmetricMatrix (const int nEq, const int nRhs=1)
 
virtual ~ComplexSparseSquareSymmetricMatrix ()
 
virtual void setStructureByTripletFormat (const int row, const int col)
 
virtual void setStructureAndAddValueByTripletFormat (const int row, const int col, const std::complex< double > &val)
 
virtual void addNonZeroValues (const int row, const int col, const std::complex< double > &val)
 
virtual void initializeMatrixSolver (const std::string &oocHeaderName, const int imode)
 
void postmultiplyByVectorAndSubtractResult (const std::complex< double > *const vecIn, const int numCompsCopied, const int *const compsCopied2Full, const int *const full2CompsCopied, std::complex< double > *const vecOut) const
 
- Public Member Functions inherited from ComplexSparseSquareMatrix
 ComplexSparseSquareMatrix ()
 
 ComplexSparseSquareMatrix (const int nEq, const int nRhs=1)
 
virtual ~ComplexSparseSquareMatrix ()
 
virtual void setNumRowsAndColumns (const int nrows, const int ncols)
 
void setDegreeOfEquation (const int nEq)
 
void initializeMatrixAndRhsVectors (const int nEq, const int nRhs)
 
void analysisPhaseMatrixSolver ()
 
void factorizationPhaseMatrixSolver ()
 
void solvePhaseMatrixSolver (std::complex< double > *solution, const long long iRhsStart, const int nRhs)
 
void solvePhaseMatrixSolver (std::complex< double > *solution)
 
void releaseMemoryMatrixSolver ()
 
void writeMemoryRequiredByMatrixSolver ()
 
virtual void releaseMemory ()
 
int getDegreeOfEquation () const
 
- Public Member Functions inherited from ComplexSparseMatrix
 ComplexSparseMatrix ()
 
 ComplexSparseMatrix (const int nrows, const int ncols, const int nrhs=1)
 
virtual ~ComplexSparseMatrix ()
 
void convertToCRSFormat ()
 
virtual int checkAndGetLocationNonZeroValue (const int row, const int col)
 
virtual void addNonZeroValuesWithoutSearchingLocation (const int loc, const std::complex< double > &val)
 
void zeroClearNonZeroValues ()
 
void addRightHandSideVector (const int row, const std::complex< double > &val, const int irhs=0)
 
void zeroClearRightHandSideVector ()
 
virtual void initializeMatrixAndRhsVectors (const int nrows, const int ncols, const int nrhs)
 
int getNumRows () const
 
int getNumColumns () const
 
int getNumRightHandSideVectors () const
 
bool hasConvertedToCRSFormat () const
 
void reallocateMemoryForRightHandSideVectors (const int nrhs)
 
void copyRhsVector (std::complex< double > *vecOut) const
 
void copyRhsVector (const int numCompsCopied, const int *const compsCopied, std::complex< double > *vecOut) const
 
void debugWriteMatrix () const
 
void debugWriteRightHandSide () const
 
void debugWriteNonZeroRightHandSide () const
 

Private Member Functions

 ComplexSparseSquareSymmetricMatrix (const ComplexSparseSquareSymmetricMatrix &matrix)
 
ComplexSparseSquareSymmetricMatrixoperator= (const ComplexSparseSquareSymmetricMatrix &rhs)
 

Additional Inherited Members

- Protected Member Functions inherited from ComplexSparseMatrix
void deleteTripletMatrix ()
 
- Protected Attributes inherited from ComplexSparseSquareMatrix
PARDISOSolverComplex m_pardisoSolver
 
- Protected Attributes inherited from ComplexSparseMatrix
int m_numRows
 
int m_numColumns
 
int m_numNonZeros
 
int m_numRightHandSideVectors
 
bool m_hasConvertedToCRSFormat
 
std::map< int, std::complex< double > > * m_matrixTripletFormat
 
long long int * m_rowIndex
 
long long int * m_columns
 
std::complex< double > * m_values
 
std::complex< double > * m_rightHandSideVector
 

Constructor & Destructor Documentation

◆ ComplexSparseSquareSymmetricMatrix() [1/3]

ComplexSparseSquareSymmetricMatrix::ComplexSparseSquareSymmetricMatrix ( )
explicit

◆ ComplexSparseSquareSymmetricMatrix() [2/3]

ComplexSparseSquareSymmetricMatrix::ComplexSparseSquareSymmetricMatrix ( const int  nEq,
const int  nRhs = 1 
)
explicit

◆ ~ComplexSparseSquareSymmetricMatrix()

ComplexSparseSquareSymmetricMatrix::~ComplexSparseSquareSymmetricMatrix ( )
virtual

◆ ComplexSparseSquareSymmetricMatrix() [3/3]

ComplexSparseSquareSymmetricMatrix::ComplexSparseSquareSymmetricMatrix ( const ComplexSparseSquareSymmetricMatrix matrix)
private

Member Function Documentation

◆ addNonZeroValues()

void ComplexSparseSquareSymmetricMatrix::addNonZeroValues ( const int  row,
const int  col,
const std::complex< double > &  val 
)
virtual

Reimplemented from ComplexSparseMatrix.

◆ initializeMatrixSolver()

void ComplexSparseSquareSymmetricMatrix::initializeMatrixSolver ( const std::string &  oocHeaderName,
const int  imode 
)
virtual

◆ operator=()

ComplexSparseSquareSymmetricMatrix & ComplexSparseSquareSymmetricMatrix::operator= ( const ComplexSparseSquareSymmetricMatrix rhs)
private

◆ postmultiplyByVectorAndSubtractResult()

void ComplexSparseSquareSymmetricMatrix::postmultiplyByVectorAndSubtractResult ( const std::complex< double > *const  vecIn,
const int  numCompsCopied,
const int *const  compsCopied2Full,
const int *const  full2CompsCopied,
std::complex< double > *const  vecOut 
) const

◆ setStructureAndAddValueByTripletFormat()

void ComplexSparseSquareSymmetricMatrix::setStructureAndAddValueByTripletFormat ( const int  row,
const int  col,
const std::complex< double > &  val 
)
virtual

Reimplemented from ComplexSparseMatrix.

◆ setStructureByTripletFormat()

void ComplexSparseSquareSymmetricMatrix::setStructureByTripletFormat ( const int  row,
const int  col 
)
virtual

Reimplemented from ComplexSparseMatrix.


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