#include <SparseMatrixF.h>
Public Types | |
| enum | eOrientation { eCompressedRows, eCompressedColumns, eSymmetric } |
Public Member Functions | |
| void | AddNumbers (double alfa, double *a) |
| ULONG | Adr (int i) const |
| ULONG | Ci (int i) const |
| void | CreateLocalCopy () |
| void | Delete () |
| void | Detach () |
| void | GetA12block (double *pA12, long c) |
| eOrientation | GetOrientation () |
| BOOL | IsSamePattern (SparseMatrixF *sm) |
| BOOL | IsSymmetric () |
| void | LoadMatrix (FILE *stream) |
| void | MulMatrixByVector (double *b, double *c) |
| void | MulNonsymMatrixByVector (double *b, double *c) |
| void | MulSymMatrixByVector (double *b, double *c) |
| void | mxv_scr (double *b, double *c) |
| long | Nonzeros () |
| void | ReadDiagonal (double *dv) |
| void | SaveMatrix (FILE *stream) |
| void | ScaleMatrix (double alfa) |
| SparseMatrixF (IConectMatrix *pConMtx) | |
| SparseMatrixF (unsigned long neq, double *a, unsigned long *ci, unsigned long *adr, ULONG Aofs=0, ULONG Cofs=0, bool JardaConvention=true, bool bIsSymetric=true, eOrientation sparseOri=eCompressedColumns) | |
| SparseMatrixF () | |
| ~SparseMatrixF () | |
Public Attributes | |
| double * | a |
| ULONG | neq |
Private Attributes | |
| ULONG * | adr |
| ULONG | Aoffset |
| bool | bJardaConvention |
| bool | bLocalCopy |
| ULONG * | ci |
| ULONG | Coffset |
| bool | m_bIsSymmertric |
| eOrientation | m_eSparseOrientation |
Definition at line 12 of file SparseMatrixF.h.
| enum eOrientation |
Definition at line 18 of file SparseMatrixF.h.
| SparseMatrixF | ( | ) |
Definition at line 9 of file SparseMatrixF.cpp.
References a, adr, Aoffset, bJardaConvention, bLocalCopy, ci, Coffset, eCompressedColumns, m_bIsSymmertric, m_eSparseOrientation, and neq.
| SparseMatrixF | ( | unsigned long | neq, | |
| double * | a, | |||
| unsigned long * | ci, | |||
| unsigned long * | adr, | |||
| ULONG | Aofs = 0, |
|||
| ULONG | Cofs = 0, |
|||
| bool | JardaConvention = true, |
|||
| bool | bIsSymetric = true, |
|||
| eOrientation | sparseOri = eCompressedColumns | |||
| ) |
Definition at line 23 of file SparseMatrixF.cpp.
References Aoffset, bJardaConvention, bLocalCopy, Coffset, m_bIsSymmertric, and m_eSparseOrientation.
| SparseMatrixF | ( | IConectMatrix * | pConMtx | ) |
Definition at line 37 of file SparseMatrixF.cpp.
| ~SparseMatrixF | ( | ) |
Definition at line 61 of file SparseMatrixF.cpp.
References bLocalCopy, and Delete().
| void AddNumbers | ( | double | alfa, | |
| double * | a | |||
| ) |
Definition at line 129 of file SparseMatrixF.cpp.
References Nonzeros().
Referenced by DSSolver::AddNumbers().
| ULONG Adr | ( | int | i | ) | const [inline] |
Definition at line 56 of file SparseMatrixF.h.
References adr, Aoffset, and bJardaConvention.
Referenced by GetA12block(), SkyLineMtxLDL::LoadMatrixData(), SparseGridMtxLU::LoadMatrixNumbers(), SparseGridMtxLL::LoadMatrixNumbers(), SparseGridMtxLDL::LoadMatrixNumbers(), MulNonsymMatrixByVector(), MulSymMatrixByVector(), mxv_scr(), ReadDiagonal(), and SparseConectivityMtxII::SparseConectivityMtxII().
| ULONG Ci | ( | int | i | ) | const [inline] |
Definition at line 69 of file SparseMatrixF.h.
Referenced by GetA12block(), SkyLineMtxLDL::LoadMatrixData(), SparseGridMtxLU::LoadMatrixNumbers(), SparseGridMtxLL::LoadMatrixNumbers(), SparseGridMtxLDL::LoadMatrixNumbers(), MulNonsymMatrixByVector(), MulSymMatrixByVector(), mxv_scr(), ReadDiagonal(), and SparseConectivityMtxII::SparseConectivityMtxII().
| void CreateLocalCopy | ( | ) |
Definition at line 86 of file SparseMatrixF.cpp.
References a, adr, bJardaConvention, bLocalCopy, ci, Array::Copy(), neq, and Nonzeros().
Referenced by DSSolver::LoadMatrix().
| void Delete | ( | ) |
Definition at line 67 of file SparseMatrixF.cpp.
References a, adr, bLocalCopy, ci, and neq.
Referenced by ~SparseMatrixF().
| void Detach | ( | ) |
| void GetA12block | ( | double * | pA12, | |
| long | c | |||
| ) |
Definition at line 153 of file SparseMatrixF.cpp.
References a, Adr(), Ci(), and neq.
Referenced by DSSolver::GetA12block().
| eOrientation GetOrientation | ( | ) | [inline] |
Definition at line 49 of file SparseMatrixF.h.
References m_eSparseOrientation.
| BOOL IsSamePattern | ( | SparseMatrixF * | sm | ) |
Definition at line 108 of file SparseMatrixF.cpp.
References adr, ci, m_bIsSymmertric, m_eSparseOrientation, neq, and Nonzeros().
Referenced by DSSolver::LoadNumbers().
| BOOL IsSymmetric | ( | ) | [inline] |
Definition at line 48 of file SparseMatrixF.h.
References m_bIsSymmertric.
| void LoadMatrix | ( | FILE * | stream | ) |
Definition at line 248 of file SparseMatrixF.cpp.
References a, adr, Aoffset, bLocalCopy, ci, Coffset, m_bIsSymmertric, and neq.
| void MulMatrixByVector | ( | double * | b, | |
| double * | c | |||
| ) |
Definition at line 166 of file SparseMatrixF.cpp.
References m_bIsSymmertric, MulNonsymMatrixByVector(), and MulSymMatrixByVector().
Referenced by DSSolver::MulMatrixByVector().
| void MulNonsymMatrixByVector | ( | double * | b, | |
| double * | c | |||
| ) |
Definition at line 174 of file SparseMatrixF.cpp.
References a, Adr(), Ci(), eCompressedColumns, eCompressedRows, m_eSparseOrientation, and neq.
Referenced by MulMatrixByVector(), and DSSolver::MulMatrixByVector().
| void MulSymMatrixByVector | ( | double * | b, | |
| double * | c | |||
| ) |
Definition at line 207 of file SparseMatrixF.cpp.
References a, Adr(), Ci(), and neq.
Referenced by MulMatrixByVector().
| void mxv_scr | ( | double * | b, | |
| double * | c | |||
| ) |
| long Nonzeros | ( | ) |
Definition at line 143 of file SparseMatrixF.cpp.
References adr, bJardaConvention, and neq.
Referenced by AddNumbers(), CreateLocalCopy(), DSSolver::CreateNewSparseGridMtx(), IsSamePattern(), ScaleMatrix(), and DSSolver::SetMatrixPattern().
| void ReadDiagonal | ( | double * | dv | ) |
Definition at line 237 of file SparseMatrixF.cpp.
References a, Adr(), Ci(), and neq.
Referenced by DSSolver::SetMatrixPattern().
| void SaveMatrix | ( | FILE * | stream | ) |
| void ScaleMatrix | ( | double | alfa | ) |
Definition at line 136 of file SparseMatrixF.cpp.
References a, and Nonzeros().
Referenced by DSSolver::ScaleMatrix().
| double* a |
Definition at line 16 of file SparseMatrixF.h.
Referenced by DSSolver::AddNumbers(), CreateLocalCopy(), Delete(), Detach(), GetA12block(), DSSolver::GetFactorizationError(), LoadMatrix(), SkyLineMtxLDL::LoadMatrixData(), SparseGridMtxLU::LoadMatrixNumbers(), SparseGridMtxLL::LoadMatrixNumbers(), SparseGridMtxLDL::LoadMatrixNumbers(), DSSolver::LoadNumbers(), MulNonsymMatrixByVector(), MulSymMatrixByVector(), mxv_scr(), ReadDiagonal(), SaveMatrix(), ScaleMatrix(), SparseGridMtxLDL::SparseGridMtxLDL(), SparseGridMtxLL::SparseGridMtxLL(), SparseGridMtxLU::SparseGridMtxLU(), and SparseMatrixF().
ULONG* adr [private] |
Definition at line 27 of file SparseMatrixF.h.
Referenced by Adr(), CreateLocalCopy(), Delete(), Detach(), IsSamePattern(), LoadMatrix(), Nonzeros(), SaveMatrix(), and SparseMatrixF().
ULONG Aoffset [private] |
Definition at line 28 of file SparseMatrixF.h.
Referenced by Adr(), Detach(), LoadMatrix(), and SparseMatrixF().
bool bJardaConvention [private] |
Definition at line 30 of file SparseMatrixF.h.
Referenced by Adr(), CreateLocalCopy(), Nonzeros(), and SparseMatrixF().
bool bLocalCopy [private] |
Definition at line 31 of file SparseMatrixF.h.
Referenced by CreateLocalCopy(), Delete(), LoadMatrix(), SparseMatrixF(), and ~SparseMatrixF().
ULONG* ci [private] |
Definition at line 26 of file SparseMatrixF.h.
Referenced by Ci(), CreateLocalCopy(), Delete(), Detach(), IsSamePattern(), LoadMatrix(), SaveMatrix(), and SparseMatrixF().
ULONG Coffset [private] |
Definition at line 29 of file SparseMatrixF.h.
Referenced by Ci(), Detach(), LoadMatrix(), and SparseMatrixF().
bool m_bIsSymmertric [private] |
Definition at line 32 of file SparseMatrixF.h.
Referenced by IsSamePattern(), IsSymmetric(), LoadMatrix(), MulMatrixByVector(), and SparseMatrixF().
eOrientation m_eSparseOrientation [private] |
Definition at line 33 of file SparseMatrixF.h.
Referenced by GetOrientation(), IsSamePattern(), MulNonsymMatrixByVector(), and SparseMatrixF().
| ULONG neq |
Definition at line 15 of file SparseMatrixF.h.
Referenced by CreateLocalCopy(), Delete(), Detach(), DSSolver::Factorize(), GetA12block(), IsSamePattern(), LoadMatrix(), SkyLineMtxLDL::LoadMatrixData(), SparseGridMtxLU::LoadMatrixNumbers(), SparseGridMtxLL::LoadMatrixNumbers(), SparseGridMtxLDL::LoadMatrixNumbers(), MulNonsymMatrixByVector(), MulSymMatrixByVector(), mxv_scr(), Nonzeros(), DSSolver::PreFactorize(), ReadDiagonal(), SaveMatrix(), DSSolver::SetMatrixPattern(), SkyLineMtx::SkyLineMtx(), SparseConectivityMtxII::SparseConectivityMtxII(), SparseGridMtx::SparseGridMtx(), SparseMatrixF(), and DSSolver::StoreFixedLastPermutation_dom_order().
1.6.2