Generic scalar output

Name

Generic scalar output -- Writing values of a given simulation scalar

Synopsis


#include <gfs.h>


#define     GFS_OUTPUT_SCALAR               (obj)
#define     GFS_IS_OUTPUT_SCALAR            (obj)

struct      GfsOutputScalar;

GfsOutputClass* gfs_output_scalar_class     (void);

Description

GfsOutputScalar is a generic object derived from GfsOutput and used for the output of a specific simulation scalar.

The syntax in parameter files is as follows:

[ GfsOutput ] { min = -56.7 max = 100 v = U }

with

minMinimum value for this scalar.
maxMaximum value for this scalar.
vName of the scalar variable to consider.

If neither max nor min are specified the bounding values are calculated before each output.

Details

GFS_OUTPUT_SCALAR()

#define     GFS_OUTPUT_SCALAR(obj)

obj : 


GFS_IS_OUTPUT_SCALAR()

#define     GFS_IS_OUTPUT_SCALAR(obj)

obj : 


struct GfsOutputScalar

struct GfsOutputScalar {
  /*< private >*/
  GfsOutput parent;

  gboolean autoscale;
  
  /*< public >*/
  GfsVariable * v;
  gdouble min, max;
};


gfs_output_scalar_class ()

GfsOutputClass* gfs_output_scalar_class     (void);

Returns :