OOF2: The Manual

Name

OOF.Mesh.Analyze.Direct_Output — Write the data values directly.

Synopsis

OOF.Mesh.Analyze.Direct_Output(mesh,time,data,domain,sampling,destination)

Details

  • Parent Menu: OOF.Mesh.Analyze
  • Callback: function _ops_callback in module ooflib.engine.IO.analyzemenu
  • Parameters:

    mesh
    The mesh on which to compute the output Type: The path to an existing Mesh object.
    time
    Time at which to perform the analysis. Type: A floating point number, or the earliest or latest time.
    data
    The output data source. Type: Either a AggregateOutput object, or an Output object whose value is a real number.
    domain
    Where on the mesh to compute the data. Type: An object of the Domain class.
    sampling
    How to sample the domain. Type: An object of the SampleSet class.
    destination
    Where the data should be written. Type: An object of the OutputDestination class.

Description

Output data points directly, either to the screen or to a file. destination must be a MessageWindowStream or a OutputStream.

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. If OOF.Settings.Output_Formatting.Show_Time is set, the header will include the current Mesh time.