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

#include <DoubleSparseSquareUnsymmetricMatrix.h>

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

Public Member Functions

 DoubleSparseSquareUnsymmetricMatrix ()
 
 DoubleSparseSquareUnsymmetricMatrix (const int nEq, const int nRhs=1)
 
virtual ~DoubleSparseSquareUnsymmetricMatrix ()
 
virtual void initializeMatrixSolver (const std::string &oocHeaderName, const int imode)
 
void makeTansposedMatrix (DoubleSparseSquareUnsymmetricMatrix &tansposedMatrix) const
 
- 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 ()
 
virtual void setStructureByTripletFormat (const int row, const int col)
 
virtual void setStructureAndAddValueByTripletFormat (const int row, const int col, const double val)
 
void convertToCRSFormat ()
 
virtual void addNonZeroValues (const int row, const int col, const double val)
 
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

 DoubleSparseSquareUnsymmetricMatrix (const DoubleSparseSquareUnsymmetricMatrix &matrix)
 
DoubleSparseSquareUnsymmetricMatrixoperator= (const DoubleSparseSquareUnsymmetricMatrix &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

◆ DoubleSparseSquareUnsymmetricMatrix() [1/3]

DoubleSparseSquareUnsymmetricMatrix::DoubleSparseSquareUnsymmetricMatrix ( )
explicit

◆ DoubleSparseSquareUnsymmetricMatrix() [2/3]

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

◆ ~DoubleSparseSquareUnsymmetricMatrix()

DoubleSparseSquareUnsymmetricMatrix::~DoubleSparseSquareUnsymmetricMatrix ( )
virtual

◆ DoubleSparseSquareUnsymmetricMatrix() [3/3]

DoubleSparseSquareUnsymmetricMatrix::DoubleSparseSquareUnsymmetricMatrix ( const DoubleSparseSquareUnsymmetricMatrix matrix)
private

Member Function Documentation

◆ initializeMatrixSolver()

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

◆ makeTansposedMatrix()

void DoubleSparseSquareUnsymmetricMatrix::makeTansposedMatrix ( DoubleSparseSquareUnsymmetricMatrix tansposedMatrix) const

◆ operator=()

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

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