#include <system_interface_ldl.h>
Public Member Functions | |
double & | A (int row, int col) |
return the value of the matrix | |
double & | B (int i) |
void | CreateSparse (std::vector< IndexType > Entries) |
K is symmetric positice definite matrix. | |
void | Initalize (int dimension) |
allocate the resources for the system of equations | |
bool | IsSymmetric () |
return true if the rapresention of sparse matriz is symmetric | |
int | Size () |
return the dimension of the matrix | |
void | Solve () |
double & | X (int i) |
void | Zero () |
Private Types | |
typedef std::map< IndexType, int > | mapType |
Private Attributes | |
std::vector< double > | _B |
mapType | _M |
std::vector< double > | _X |
std::vector< double > | D |
std::vector< int > | Flag |
std::vector< int > | Li |
std::vector< int > | Lnz |
std::vector< int > | Lp |
std::vector< double > | Lx |
std::vector< int > | Parent |
std::vector< int > | Pattern |
std::vector< double > | Y |
Definition at line 9 of file system_interface_ldl.h.
typedef std::map<IndexType,int> SystemLDL::mapType [private] |
Definition at line 11 of file system_interface_ldl.h.
double& SystemLDL::A | ( | int | row, | |
int | col | |||
) | [inline, virtual] |
return the value of the matrix
Reimplemented from SparseMatrix< double >.
Definition at line 32 of file system_interface_ldl.h.
double& SystemLDL::B | ( | int | i | ) | [inline] |
Definition at line 48 of file system_interface_ldl.h.
void SystemLDL::CreateSparse | ( | std::vector< IndexType > | Entries | ) | [inline, virtual] |
K is symmetric positice definite matrix.
put the index of vertices for each edge in the right order for simmetry of the sistem
the sort and erase duplicates
Reimplemented from SparseMatrix< double >.
Definition at line 98 of file system_interface_ldl.h.
void SystemLDL::Initalize | ( | int | dimension | ) | [inline, virtual] |
allocate the resources for the system of equations
Reimplemented from SparseMatrix< double >.
Definition at line 23 of file system_interface_ldl.h.
bool SystemLDL::IsSymmetric | ( | ) | [inline, virtual] |
return true if the rapresention of sparse matriz is symmetric
Reimplemented from SparseMatrix< double >.
Definition at line 86 of file system_interface_ldl.h.
int SystemLDL::Size | ( | ) | [inline, virtual] |
return the dimension of the matrix
Reimplemented from SparseMatrix< double >.
Definition at line 95 of file system_interface_ldl.h.
void SystemLDL::Solve | ( | ) | [inline] |
dl_numeric failed
Definition at line 55 of file system_interface_ldl.h.
double& SystemLDL::X | ( | int | i | ) | [inline] |
Definition at line 51 of file system_interface_ldl.h.
void SystemLDL::Zero | ( | ) | [inline, virtual] |
Reimplemented from SparseMatrix< double >.
Definition at line 89 of file system_interface_ldl.h.
std::vector<double> SystemLDL::_B [private] |
Definition at line 12 of file system_interface_ldl.h.
mapType SystemLDL::_M [private] |
Definition at line 18 of file system_interface_ldl.h.
std::vector<double> SystemLDL::_X [private] |
Definition at line 13 of file system_interface_ldl.h.
std::vector<double> SystemLDL::D [private] |
Definition at line 15 of file system_interface_ldl.h.
std::vector<int> SystemLDL::Flag [private] |
Definition at line 16 of file system_interface_ldl.h.
std::vector<int> SystemLDL::Li [private] |
Definition at line 16 of file system_interface_ldl.h.
std::vector<int> SystemLDL::Lnz [private] |
Definition at line 16 of file system_interface_ldl.h.
std::vector<int> SystemLDL::Lp [private] |
Definition at line 16 of file system_interface_ldl.h.
std::vector<double> SystemLDL::Lx [private] |
Definition at line 15 of file system_interface_ldl.h.
std::vector<int> SystemLDL::Parent [private] |
Definition at line 16 of file system_interface_ldl.h.
std::vector<int> SystemLDL::Pattern [private] |
Definition at line 16 of file system_interface_ldl.h.
std::vector<double> SystemLDL::Y [private] |
Definition at line 15 of file system_interface_ldl.h.