|
DOUG 0.2
|
Module for factorization of sparse matrices. More...
Data Types | |
| type | Fact |
| Fact type General wrapper for sparse different solvers. More... | |
Functions/Subroutines | |
| type(Fact) | Fact_New (solver_type, nfreds, nnz, indi, indj, val) |
| Factorization constructor. | |
| subroutine | Fact_Destroy (fakt) |
| Destructor for factorization object. | |
| subroutine | Fact_solve (fakt, rhs, sol) |
| Solve sparse system given RHS vector. | |
Variables | |
| integer, parameter | D_NULLSOLVER = -1 |
| Solver types. | |
| integer, parameter | D_UMFPACK4 = 1 |
| UMFPACK v4. | |
| integer, parameter | D_MUMPS = 2 |
| MUMPS package. | |
Module for factorization of sparse matrices.
| subroutine Fact_class::Fact_Destroy | ( | type(Fact) | fakt | ) |
Destructor for factorization object.
| fakt | factorization object to destroy |
Definition at line 224 of file Fact.F90.
References D_MUMPS, D_NULLSOLVER, and D_UMFPACK4.
| type(Fact) Fact_class::Fact_New | ( | integer,intent(in) | solver_type, |
| integer,intent(in) | nfreds, | ||
| integer,intent(in) | nnz, | ||
| integer,dimension(:),intent(inout),target | indi, | ||
| integer,dimension(:),intent(inout),target | indj, | ||
| real(kind=rk),dimension(:),intent(in),target | val | ||
| ) |
Factorization constructor.
| solver_type | what solver to use (D_UMFPACK4, etc) |
| nfreds | number of freedoms in system (matrix rows, columns) |
| nnz | number of non-zero elements in matrix |
| indi | matrix rows indices |
| indj | matrix column indices |
| val | matrix element values |
Definition at line 64 of file Fact.F90.
References D_MUMPS, D_NULLSOLVER, D_UMFPACK4, DOUG_utils::DOUG_abort(), or(), globals::sctls, and globals::stream.
Referenced by subsolvers::factorise().
| subroutine Fact_class::Fact_solve | ( | type(Fact) | fakt, |
| real(kind=rk),dimension(:),pointer | rhs, | ||
| real(kind=rk),dimension(:),pointer | sol | ||
| ) |
Solve sparse system given RHS vector.
| fakt | factorization object (factorized matrix) |
| rhs | right-hand side vector |
| sol | solution vector |
Definition at line 246 of file Fact.F90.
References D_MUMPS, D_UMFPACK4, and DOUG_utils::DOUG_abort().
Referenced by subsolvers::Solve_subdomains().
| integer,parameter Fact_class::D_MUMPS = 2 |
MUMPS package.
Definition at line 41 of file Fact.F90.
Referenced by Fact_Destroy(), Fact_New(), and Fact_solve().
| integer,parameter Fact_class::D_NULLSOLVER = -1 |
Solver types.
internal
Definition at line 39 of file Fact.F90.
Referenced by Fact_Destroy(), and Fact_New().
| integer,parameter Fact_class::D_UMFPACK4 = 1 |
UMFPACK v4.
Definition at line 40 of file Fact.F90.
Referenced by Fact_Destroy(), Fact_New(), and Fact_solve().
1.7.3-20110217