Location output

Name

Location output -- Writing the values of variables at specified locations

Synopsis


#include <gfs.h>


#define     GFS_OUTPUT_LOCATION             (obj)
#define     GFS_IS_OUTPUT_LOCATION          (obj)

            GfsOutputLocation;

GfsOutputClass* gfs_output_location_class   (void);

Description

GfsOutputLocation writes the values of all permanent variables at a set of given locations. The first time GfsOutputLocation is called it writes a comment describing the fields being written.

The values are linearly interpolated to the given location using gfs_interpolate().

The syntax in parameter files is as follows:

[ GfsOutput ] X Y Z

where X, Y and Z are the coordinates of the location.

or:

[ GfsOutput ] FILE

where FILE is the name of a text file containing the space-separated X, Y and Z coordinates of a set of locations.

or:

[ GfsOutput ] { X1 Y1 Z1 ... XN YN ZN }

where the Xi, Yi and Zi are the coordinates of the set of locations.

Details

GFS_OUTPUT_LOCATION()

#define     GFS_OUTPUT_LOCATION(obj)

obj :


GFS_IS_OUTPUT_LOCATION()

#define     GFS_IS_OUTPUT_LOCATION(obj)

obj :


GfsOutputLocation

typedef struct {
  GArray * p;
} GfsOutputLocation;


gfs_output_location_class ()

GfsOutputClass* gfs_output_location_class   (void);

Returns :