HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Initialize the tridiagLU solver. More...
Go to the source code of this file.
Functions | |
int | tridiagLUInit (void *r, void *c) |
Initialize the tridiagLU solver.
Definition in file tridiagLUInit.c.
int tridiagLUInit | ( | void * | r, |
void * | c | ||
) |
Initialize the tridiagLU solver by setting the various parameters in TridiagLU to their default values. If the file lusolver.inp is available, read it and set the parameters.
The file lusolver.inp must be in the following format:
begin <keyword> <value> <keyword> <value> <keyword> <value> ... <keyword> <value> end
where the list of keywords are:
Keyword name | Type | Variable | Default value ---— |
---|---|---|---|
evaluate_norm | int | TridiagLU::evaluate_norm | 1 |
maxiter | int | TridiagLU::maxiter | 10 |
atol | double | TridiagLU::atol | 1e-12 |
rtol | double | TridiagLU::rtol | 1e-10 |
verbose | int | TridiagLU::verbose | 0 |
reducedsolvetype | char[] | TridiagLU::reducedsolvetype | _TRIDIAG_JACOBI_ |
r | Object of type TridiagLU |
c | MPI communicator |
Definition at line 39 of file tridiagLUInit.c.