Bimetric 3+1 toolkit for spherical symmetry
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
grid/gridDriver.h File Reference

Implements a spatially cell-centered uniform grid. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

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

Defines

#define emitField(gf)   inline Real& gf( Int m, Int n ) { return GF( fld::gf, m, n ); }
 emitField is a macro that emits the method which encapsulates a grid function.
#define emitDerivative_r(gf)   emitField(gf##_r)
#define emitDerivative_rr(gf)   emitField(gf##_rr)

Detailed Description

Implements a spatially cell-centered uniform grid.

Author:
Mikica Kocic

Definition in file gridDriver.h.


Define Documentation

#define emitDerivative_r (   gf)    emitField(gf##_r)

Definition at line 290 of file gridDriver.h.

#define emitDerivative_rr (   gf)    emitField(gf##_rr)

Definition at line 291 of file gridDriver.h.

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

emitField is a macro that emits the method which encapsulates a grid function.

Such method can be later used to access data in a grid at a point given by (m,n). For example, emitField(r) defines r(m,n).

Definition at line 286 of file gridDriver.h.