GRIDMAN
grid managment library
Public Attributes | List of all members
gridman::gridman_grid Type Reference

Data-type which describes a grid as a set of edges, methods in grid.f. More...

Collaboration diagram for gridman::gridman_grid:
Collaboration graph
[legend]

Public Attributes

integer type
 Index of the grid type. More...
 
character(len=gridman_lengthdescription
 String with human-readable description of the grid (title)
 
integer(gridman_spnedges
 Number of edges, must be > 0.
 
integer(gridman_spncells
 Number of cells, must be >=0 (can be = 0)
 
integer edim
 Number of points required to define one edge. More...
 
integer pdim
 Dimension of points. More...
 
integer(gridman_spnpoints
 Number of points.
 
integer(gridman_sp), dimension(:,:), allocatable cells
 Indices of the neighbour cells or edges for each edge. CELLS(2,NEDGES). Index>0 is the index cell to which the edge is connected Index<0 is the index of edge to which the edge is connected (periodicity or "teleportation") Index=0 is the outer grid boundary.
 
integer(gridman_sp), dimension(:,:), allocatable points
 Indices of points which define each edge. POINTS(EDIM,NEDGES)
 
real(gridman_dpunit2si
 Convertion factor into SI uinits (Meter or Radian) for each coordinate.
 
character(len=gridman_lengthunits
 Strings with human readable units.
 
real(gridman_dp), dimension(:,:), allocatable x
 Cartesian coordinates of points, X(PDIM,NPOINTS)
 
integer nedgeindex
 Number of indices (groups of indices) for edges.
 
integer ncellindex
 Number of indices (groups of indices) for cells.
 
type(gridman_index), dimension(:), allocatable edgeindex
 Groups of indices for edges.
 
type(gridman_index), dimension(:), allocatable cellindex
 Groups of indices for cells.
 

Detailed Description

Data-type which describes a grid as a set of edges, methods in grid.f.

Each edge is connected to (at max.) two cells. Each edge is defined by a set of points. Here "point" does not necessarily meean a geometrical point, but can be any parameter which defines edges

Definition at line 168 of file gridman.f.

Member Data Documentation

integer gridman::gridman_grid::type

Index of the grid type.

  • 2 : 2D unstructured grid
  • 3 : 3D grid with triangular edges

Definition at line 173 of file gridman.f.

integer gridman::gridman_grid::edim

Number of points required to define one edge.

EDIM depends on TYPE

  • TYPE=2: EDIM=2
  • TYPE=3: EDIM=3

Definition at line 185 of file gridman.f.

integer gridman::gridman_grid::pdim

Dimension of points.

PDIM depend on TYPE

  • TYPE=2: PDIM=2
  • TYPE=3: PDIM=3

Definition at line 191 of file gridman.f.