OOF2: The Manual

Name

Average (AverageOutput) — Average the data over all the samples.

Synopsis

AverageOutput()

Details

Description

Compute the average of the given data over the computational domain. If the data has multiple components, the average is computed for each component separately. The destination must be an MessageWindowStream or a OutputStream.

If the sampling is ElementSampleSet or ElementSegmentSampleSet the data is weighted by the Element area or Segment length. Otherwise, all points are given equal weight.

A header will be printed to identify the data. Each line of the header will begin with a comment character, which can be set by OOF.Settings.Output_Formatting.Comment_Character. Multiple columns of data will be separated by a separator character, which can be set by OOF.Settings.Output_Formatting.Separator.

The output line will include the current Mesh time if OOF.Settings.Output_Formatting.Show_Time is set.