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

#include <DoubleSparseSquareSymmetricMatrix.h>

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

Public Member Functions

 DoubleSparseSquareSymmetricMatrix ()
 
 DoubleSparseSquareSymmetricMatrix (const int nEq, const int nRhs=1)
 
virtual ~DoubleSparseSquareSymmetricMatrix ()
 
virtual void setStructureByTripletFormat (const int row, const int col)
 
virtual void setStructureAndAddValueByTripletFormat (const int row, const int col, const double val)
 
virtual void addNonZeroValues (const int row, const int col, const double val)
 
virtual void initializeMatrixSolver (const std::string &oocHeaderName, const int imode)
 
- Public Member Functions inherited from DoubleSparseSquareMatrix
 DoubleSparseSquareMatrix ()
 
 DoubleSparseSquareMatrix (const int nEq, const int nRhs=1)
 
virtual ~DoubleSparseSquareMatrix ()
 
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 (double *solution, const long long iRhsStart, const int nRhs)
 
void solvePhaseMatrixSolver (double *solution)
 
void solvePhaseMatrixSolver (const int nrhs, double *rhs, double *solution)
 
void releaseMemoryMatrixSolver ()
 
void writeMemoryRequiredByMatrixSolver ()
 
virtual void releaseMemory ()
 
int getDegreeOfEquation () const
 
- Public Member Functions inherited from DoubleSparseMatrix
 DoubleSparseMatrix ()
 
 DoubleSparseMatrix (const int nrows, const int ncols, const int nrhs=1)
 
virtual ~DoubleSparseMatrix ()
 
void convertToCRSFormat ()
 
void zeroClearNonZeroValues ()
 
void addRightHandSideVector (const int row, const 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 (double *vecOut) const
 
void debugWriteMatrix () const
 
void debugWriteRightHandSide () const
 
int getRowIndexCRS (const int iRow) const
 
int getColumnsCRS (const int iNonZero) const
 
double getValueCRS (const int iNonZero) const
 
double getRightHandSideVector (const int row, const int irhs=0) const
 
void calcMatrixVectorProduct (const double *invVec, double *outVec) const
 
void calcMatrixVectorProductUsingTransposedMatrix (const double *invVec, double *outVec) const
 

Private Member Functions

 DoubleSparseSquareSymmetricMatrix (const DoubleSparseSquareSymmetricMatrix &matrix)
 
DoubleSparseSquareSymmetricMatrixoperator= (const DoubleSparseSquareSymmetricMatrix &rhs)
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ DoubleSparseSquareSymmetricMatrix() [1/3]

DoubleSparseSquareSymmetricMatrix::DoubleSparseSquareSymmetricMatrix ( )
explicit

◆ DoubleSparseSquareSymmetricMatrix() [2/3]

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

◆ ~DoubleSparseSquareSymmetricMatrix()

DoubleSparseSquareSymmetricMatrix::~DoubleSparseSquareSymmetricMatrix ( )
virtual

◆ DoubleSparseSquareSymmetricMatrix() [3/3]

DoubleSparseSquareSymmetricMatrix::DoubleSparseSquareSymmetricMatrix ( const DoubleSparseSquareSymmetricMatrix matrix)
private

Member Function Documentation

◆ addNonZeroValues()

void DoubleSparseSquareSymmetricMatrix::addNonZeroValues ( const int  row,
const int  col,
const double  val 
)
virtual

Reimplemented from DoubleSparseMatrix.

◆ initializeMatrixSolver()

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

◆ operator=()

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

◆ setStructureAndAddValueByTripletFormat()

void DoubleSparseSquareSymmetricMatrix::setStructureAndAddValueByTripletFormat ( const int  row,
const int  col,
const double  val 
)
virtual

Reimplemented from DoubleSparseMatrix.

◆ setStructureByTripletFormat()

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

Reimplemented from DoubleSparseMatrix.


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