Fast Auxiliary Space Preconditioning  1.8.4 Feb/15/2016
grid2d Struct Reference

Two dimensional grid data structure. More...

#include <fasp.h>

Data Fields

REAL(* p )[2]
INT(* e )[2]
INT(* t )[3]
INT(* s )[3]
INT vertices
INT edges
INT triangles

Detailed Description

Two dimensional grid data structure.

The grid2d structure is simply a list of triangles, edges and vertices. edge i has 2 vertices e[i], triangle i has 3 edges s[i], 3 vertices t[i] vertex i has two coordinates p[i]

Definition at line 1127 of file fasp.h.

Field Documentation

INT(* e)[2]

Vertices of edges

Definition at line 1130 of file fasp.h.

INT edges

Number of edges

Definition at line 1141 of file fasp.h.

INT* ediri

Boundary flags (0 <=> interior edge)

Definition at line 1134 of file fasp.h.

INT* efather

Father edge or triangle

Definition at line 1137 of file fasp.h.

REAL(* p)[2]

Coordinates of vertices

Definition at line 1129 of file fasp.h.

INT* pdiri

Boundary flags (0 <=> interior point)

Definition at line 1133 of file fasp.h.

INT* pfather

Father point or edge

Definition at line 1136 of file fasp.h.

INT(* s)[3]

Edges of triangles

Definition at line 1132 of file fasp.h.

INT(* t)[3]

Vertices of triangles

Definition at line 1131 of file fasp.h.

INT* tfather

Father triangle

Definition at line 1138 of file fasp.h.

INT triangles

Number of triangles

Definition at line 1142 of file fasp.h.

INT vertices

Number of grid points

Definition at line 1140 of file fasp.h.

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