sid_lapack/sih_lapack.h File Reference
Go to the source code of this file.
Classes |
struct | sit_direct_dof_struct |
struct | sit_direct_solver |
Functions |
int | sir_direct_module_introduce (char *Solver_name) |
int | sir_direct_init (int Parallel, char *Filename) |
int | sir_direct_create (int Solver_id, int Problem_id) |
int | sir_direct_solve (int Solver_id, int Comp_type, int Monitor) |
int | sir_direct_free (int Solver_id) |
int | sir_direct_destroy (int Solver_id) |
sit_direct_solver * | sir_direct_select_solver (int Solver_id) |
int | sir_direct_assemble_stiff_mat (int Solver_id, int Comp_type, int Nr_dof_bl, int *L_bl_nrdofs, int *L_bl_posglob, double *Stiff_mat, double *Rhs_vect, char *Rewr_dofs) |
Variables |
int | siv_direct_nr_solvers |
int | siv_direct_cur_solver_id |
sit_direct_solver | siv_direct_solvers [SIC_MAX_NUM_SOLV] |
Function Documentation
int sir_direct_assemble_stiff_mat |
( |
int |
Solver_id, |
|
|
int |
Comp_type, |
|
|
int |
Nr_dof_bl, |
|
|
int * |
L_bl_nrdofs, |
|
|
int * |
L_bl_posglob, |
|
|
double * |
Stiff_mat, |
|
|
double * |
Rhs_vect, |
|
|
char * |
Rewr_dofs | |
|
) |
| | |
----------------------------------------------------------- sir_direct_assemble_stiff_mat - to assemble entries to the global stiffness matrix and the global load vector using the provided local stiffness matrix and load vector ------------------------------------------------------------
int sir_direct_create |
( |
int |
Solver_id, |
|
|
int |
Problem_id | |
|
) |
| | |
----------------------------------------------------------- sir_direct_create - to create and initialize solver data structure ------------------------------------------------------------
- Parameters:
-
| Solver_id | returns: >=0 - success code, <0 - error code |
| Problem_id | in: solver identification ID of the problem associated with the solver |
int sir_direct_destroy |
( |
int |
Solver_id |
) |
|
----------------------------------------------------------- sir_direct_destroy - to destroy a solver instance and make room for next solvers ------------------------------------------------------------
- Parameters:
-
| Solver_id | returns: >=0 - success code, <0 - error code in: solver identification |
int sir_direct_free |
( |
int |
Solver_id |
) |
|
----------------------------------------------------------- sir_direct_free - to free memory for stiffness and preconditioner matrices ------------------------------------------------------------
- Parameters:
-
| Solver_id | returns: >=0 - success code, <0 - error code in: solver identification |
int sir_direct_init |
( |
int |
Parallel, |
|
|
char * |
Filename | |
|
) |
| | |
----------------------------------------------------------- sir_direct_init - to create a new iterative solver, read its control parameters and initialize its data structure ------------------------------------------------------------
- Parameters:
-
| Parallel | returns: >0 - solver ID, <0 - error code |
| Filename | parameter specifying sequential (SIC_SEQUENTIAL) or parallel (SIC_PARALLEL) execution in: name of the file with control parameters |
int sir_direct_module_introduce |
( |
char * |
Solver_name |
) |
|
----------------------------------------------------------- sir_direct_module_introduce - to return the direct solver name ------------------------------------------------------------
- Parameters:
-
| Solver_name | returns: >=0 - success code, <0 - error code out: the name of the solver |
----------------------------------------------------------- sir_direct_select_solver - to return the pointer to a given solver ------------------------------------------------------------
int sir_direct_solve |
( |
int |
Solver_id, |
|
|
int |
Comp_type, |
|
|
int |
Monitor | |
|
) |
| | |
----------------------------------------------------------- sir_direct_solve - to solve the system for a given data ------------------------------------------------------------
- Parameters:
-
| Solver_id | returns: >=0 - success code, <0 - error code |
| Comp_type | in: solver identification |
| Monitor | in: indicator for the scope of computations: SIC_SOLVE - solve the system SIC_RESOLVE - resolve for the new right hand side in: monitoring flag with options: SIC_PRINT_NOT - do not print anything SIC_PRINT_ERRORS - print error messages only SIC_PRINT_INFO - print most important information SIC_PRINT_ALLINFO - print all available information |
Variable Documentation