Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
Loading...
Searching...
No Matches
AMG_data Struct Reference

Data for AMG methods. More...

#include <fasp.h>

Data Fields

SHORT max_levels
 max number of levels More...
 
SHORT num_levels
 number of levels in use <= max_levels More...
 
dCSRmat A
 pointer to the matrix at level level_num More...
 
dCSRmat R
 restriction operator at level level_num More...
 
dCSRmat P
 prolongation operator at level level_num More...
 
dvector b
 pointer to the right-hand side at level level_num More...
 
dvector x
 pointer to the iterative solution at level level_num More...
 
void * Numeric
 pointer to the numerical factorization from UMFPACK More...
 
Pardiso_data pdata
 data for Intel MKL PARDISO More...
 
ivector cfmark
 pointer to the CF marker at level level_num More...
 
INT ILU_levels
 number of levels use ILU smoother More...
 
ILU_data LU
 ILU matrix for ILU smoother. More...
 
INT near_kernel_dim
 dimension of the near kernel for SAMG More...
 
REAL ** near_kernel_basis
 basis of near kernel space for SAMG More...
 
INT SWZ_levels
 number of levels use Schwarz smoother More...
 
SWZ_data Schwarz
 data of Schwarz smoother More...
 
dvector w
 temporary work space More...
 
Mumps_data mumps
 data for MUMPS More...
 
INT cycle_type
 cycle type More...
 
INTic
 indices for different colors More...
 
INTicmap
 mapping from vertex to color More...
 
INT colors
 number of colors More...
 
REAL weight
 weight for smoother More...
 

Detailed Description

Data for AMG methods.

Note
This is needed for the AMG solver/preconditioner.

Definition at line 804 of file fasp.h.

Field Documentation

◆ A

pointer to the matrix at level level_num

Definition at line 817 of file fasp.h.

◆ b

pointer to the right-hand side at level level_num

Definition at line 826 of file fasp.h.

◆ cfmark

ivector cfmark

pointer to the CF marker at level level_num

Definition at line 840 of file fasp.h.

◆ colors

INT colors

number of colors

Definition at line 878 of file fasp.h.

◆ cycle_type

INT cycle_type

cycle type

Definition at line 869 of file fasp.h.

◆ ic

INT* ic

indices for different colors

Definition at line 872 of file fasp.h.

◆ icmap

INT* icmap

mapping from vertex to color

Definition at line 875 of file fasp.h.

◆ ILU_levels

INT ILU_levels

number of levels use ILU smoother

Definition at line 843 of file fasp.h.

◆ LU

ILU matrix for ILU smoother.

Definition at line 846 of file fasp.h.

◆ max_levels

SHORT max_levels

max number of levels

Definition at line 809 of file fasp.h.

◆ mumps

Mumps_data mumps

data for MUMPS

Definition at line 866 of file fasp.h.

◆ near_kernel_basis

REAL** near_kernel_basis

basis of near kernel space for SAMG

Definition at line 852 of file fasp.h.

◆ near_kernel_dim

INT near_kernel_dim

dimension of the near kernel for SAMG

Definition at line 849 of file fasp.h.

◆ num_levels

SHORT num_levels

number of levels in use <= max_levels

Definition at line 812 of file fasp.h.

◆ Numeric

void* Numeric

pointer to the numerical factorization from UMFPACK

Definition at line 834 of file fasp.h.

◆ P

prolongation operator at level level_num

Definition at line 823 of file fasp.h.

◆ pdata

Pardiso_data pdata

data for Intel MKL PARDISO

Definition at line 837 of file fasp.h.

◆ R

restriction operator at level level_num

Definition at line 820 of file fasp.h.

◆ Schwarz

SWZ_data Schwarz

data of Schwarz smoother

Definition at line 860 of file fasp.h.

◆ SWZ_levels

INT SWZ_levels

number of levels use Schwarz smoother

Definition at line 857 of file fasp.h.

◆ w

temporary work space

Definition at line 863 of file fasp.h.

◆ weight

REAL weight

weight for smoother

Definition at line 881 of file fasp.h.

◆ x

pointer to the iterative solution at level level_num

Definition at line 829 of file fasp.h.


The documentation for this struct was generated from the following file: