GfsOutputScalarSum

From Gerris

Jump to: navigation, search

GfsOutputScalarSum is used to write the sum over the whole domain of a given scalar.

The sum is written using the following formatting:

Description time: 1.2 sum: 2.578

where Description is a description of the scalar field.

The syntax in parameter files is:

[ GfsOutputScalar ]

By default the sum is weighted by the volume of each cell (i.e. it is the volume integral of the given scalar). This can be changed using the w option of GfsOutputScalar.

Examples

Personal tools
communication