From Gerris

Revision as of 09:59, 9 July 2010; view current revision
←Older revision | Newer revision→
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 weight option of GfsOutputScalar.


Personal tools