Fast Auxiliary Space Preconditioning  1.8.4 Feb/15/2016
fasp_block.h File Reference

Header file for FASP block matrices. More...

#include "fasp.h"

Go to the source code of this file.

Data Structures

struct  dBSRmat
 Block sparse row storage matrix of REAL type. More...
 
struct  block_dCSRmat
 Block REAL CSR matrix format. More...
 
struct  block_iCSRmat
 Block INT CSR matrix format. More...
 
struct  block_dvector
 Block REAL vector structure. More...
 
struct  block_ivector
 Block INT vector structure. More...
 
struct  block_Reservoir
 Block REAL matrix format for reservoir simulation. More...
 
struct  block_BSR
 Block REAL matrix format for reservoir simulation. More...
 
struct  AMG_data_bsr
 Data for multigrid levels. (BSR format) More...
 
struct  precond_diagbsr
 Data passed to diagnal preconditioner for dBSRmat matrices. More...
 
struct  precond_data_bsr
 Data passed to the preconditioners. More...
 
struct  precond_block_reservoir_data
 Data passed to the preconditioner for reservoir simulation problems. More...
 
struct  precond_block_data
 Data passed to the preconditioner for block preconditioning for block_dCSRmat format. More...
 
struct  precond_FASP_blkoil_data
 Data passed to the preconditioner for preconditioning reservoir simulation problems. More...
 
struct  precond_sweeping_data
 Data passed to the preconditioner for sweeping preconditioning. More...
 

Macros

#define __FASPBLOCK_HEADER__
 
#define SMOOTHER_BLKOIL   11
 Definition of specialized smoother types. More...
 
#define SMOOTHER_SPETEN   19
 

Typedefs

typedef struct dBSRmat dBSRmat
 
typedef struct block_dCSRmat block_dCSRmat
 
typedef struct block_iCSRmat block_iCSRmat
 
typedef struct block_dvector block_dvector
 
typedef struct block_ivector block_ivector
 
typedef struct block_Reservoir block_Reservoir
 
typedef struct block_BSR block_BSR
 
typedef struct precond_block_reservoir_data precond_block_reservoir_data
 

Detailed Description

Header file for FASP block matrices.

Note
This header file contains definitions of block matrices, including grid-major type and variable-major type. In this header, we only define macros and data structures, not function declarations.
Created by Chensong Zhang on 05/21/2010. Modified by Xiaozhe Hu on 05/28/2010: add precond_block_reservoir_data. Modified by Xiaozhe Hu on 06/15/2010: modify precond_block_reservoir_data. Modified by Chensong Zhang on 10/11/2010: add BSR data. Modified by Chensong Zhang on 10/17/2012: modify comments.

Modified by Ludmil Zikatanov on 20151011: cosmetics.

Definition in file fasp_block.h.

Macro Definition Documentation

#define __FASPBLOCK_HEADER__

indicate fasp_block.h has been included before

Definition at line 22 of file fasp_block.h.

#define SMOOTHER_BLKOIL   11

Definition of specialized smoother types.

Used in monolithic AMG for black-oil

Definition at line 27 of file fasp_block.h.

#define SMOOTHER_SPETEN   19

Used in monolithic AMG for black-oil

Definition at line 28 of file fasp_block.h.

Typedef Documentation

typedef struct block_BSR block_BSR

Block of BSR matrices of REAL type

typedef struct block_dCSRmat block_dCSRmat

Matrix of REAL type in Block CSR format

typedef struct block_dvector block_dvector

Vector of REAL type in Block format

typedef struct block_iCSRmat block_iCSRmat

Matrix of INT type in Block CSR format

typedef struct block_ivector block_ivector

Vector of INT type in Block format

Special block matrix for Reservoir Simulation

typedef struct dBSRmat dBSRmat

Matrix of REAL type in BSR format

Precond data for Reservoir Simulation