Linear solver

| programmer's documentation

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Variables
Linear solver
Space discretisation
Collaboration diagram for Linear solver:

## Variables
integer, dimension(nvarmx), save | nitmax
| maximal number of iteration for the linear solver More...
double precision, dimension(nvarmx), save | epsilo
| relative precision of the linear solver More...
integer, dimension(nvarmx), save | iresol
| type of linear solver More...
integer, dimension(nvarmx), save | idircl
| strengthen of the diagonal part of the matrix if no Dirichlet is set More...
integer, dimension(nvarmx), save | ndircl
| number of Dirichlet BCs More...
integer, dimension(nvarmx), save | imgr
| multigrid algorithm More...
integer, dimension(nvarmx), save | ncymax
| maximal number of cycles in the multigrid algorithm More...
integer, dimension(nvarmx), save | nitmgf
| number of iterations on the finer mesh More...
double precision, save | rlxp1
| relaxation parameter for the multigrid More...

## Detailed Description

## Variable Documentation

double precision, dimension(nvarmx), save epsilo

relative precision of the linear solver

integer, dimension(nvarmx), save idircl

strengthen of the diagonal part of the matrix if no Dirichlet is set

    - 0: false
    - 1: true

Remarks
  the code computes automatically for each variable the number of Dirichlet BCs

integer, dimension(nvarmx), save imgr

multigrid algorithm

- 0: false
- 1: algebraic multigrid

integer, dimension(nvarmx), save iresol

type of linear solver

    - (-1): automatic choice
    -    0: conjugate gradient
    -    1: Jacobi
    -    2: bi-CGSTAB

Remarks
  we add ipol*1000 to iresol(ivar) where ipol is the degree of the polynome of Neumann preconditionning.

integer, dimension(nvarmx), save ncymax

maximal number of cycles in the multigrid algorithm

integer, dimension(nvarmx), save ndircl

number of Dirichlet BCs

integer, dimension(nvarmx), save nitmax

maximal number of iteration for the linear solver

integer, dimension(nvarmx), save nitmgf

number of iterations on the finer mesh

double precision, save rlxp1

relaxation parameter for the multigrid