Gerris
Functions

GfsCartesianGrid

Functions

gboolean gfs_cartesian_grid_interpolate (GfsCartesianGrid *g, gdouble *p, gdouble *val)
GfsCartesianGrid * gfs_cartesian_grid_read (const gchar *name, GtsFile *fp)

Detailed Description

Storage for Cartesian grid data.

See also:

Syntax reference


Function Documentation

gboolean gfs_cartesian_grid_interpolate ( GfsCartesianGrid *  g,
gdouble *  p,
gdouble *  val 
)
Parameters:
ga Cartesian grid.
pa position vector of dimension g->N.
valthe interpolated value at position p.
Returns:
TRUE if val has been computed, FALSE if p is not contained within g.

Here is the call graph for this function:

Here is the caller graph for this function:

GfsCartesianGrid* gfs_cartesian_grid_read ( const gchar *  name,
GtsFile *  fp 
)
Parameters:
namea .cgd filename.
fpa #GtsFile or NULL.
Returns:
the #GfsCartesianGrid stored in name, or NULL if an error occured, in which case an error message is set in fp (if not NULL).
 All Data Structures Files Functions Variables