Gowdy solver
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Grid driver

Namespaces

namespace  fld
 Definitions of grid functions are here.

Data Structures

class  UniformGrid
 Uniform grid of grid functions. More...
struct  GridUser
 GridUser contains cached variables from the grid-driver. More...
class  IORecord
 A wrapper for GridPoint so that GridPoint's array of fields can be treated as a compound object when reading/writing. More...

Defines

#define GF(f, m, n)   grid[m][n][f]
 Access the given grid function data (a utility macro for the grid users).
#define emitField(gf)   inline Real& gf( Int m, Int n ) { return grid[m][n][fld::gf]; }
 emitField is a macro that emits a method encapsulating a grid function that access data in a grid at a point given by m (discretized t-coordinate) and n (discretized r-coordinate).

Typedefs

typedef Real GridPoint [GFCNT]
 A set of variables that is tracked on a grid point.

Define Documentation

#define emitField (   gf)    inline Real& gf( Int m, Int n ) { return grid[m][n][fld::gf]; }

emitField is a macro that emits a method encapsulating a grid function that access data in a grid at a point given by m (discretized t-coordinate) and n (discretized r-coordinate).

For example, emitField(r) defines r(m,n).

Definition at line 195 of file gridDriver.h.


Typedef Documentation

typedef Real GridPoint[GFCNT]

A set of variables that is tracked on a grid point.

Definition at line 14 of file gridPoint.h.