OOF2: The Manual

Name

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

Synopsis

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

Details

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

    mesh
    The mesh on which to compute the output Type: The path to an existing Mesh object.
    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
    File where data should be written, or 'automatic' for the message window. Type: A character string.
    comment_character
    Set the string at the start of the header line. Type: A character string.
    separator
    Set the character between data entries. Type: An object from the Separator enumerated class.

Description

Output data points directly, either to the screen or to a file. If destination is automatic, the data will be printed in the message window, otherwise the destination will be interpreted as a file name.

A header line will be printed to identify the data. The header will begin with the given comment_character (which can actually be more than one character). If you're going to be loading the data file into a plotting program, set the comment_character to whatever is appropriate for that program, to ensure that it doesn't interpret the header as data.

If more than one number is to be printed at each evaluation point, the given separator will be printed between them. Choose whatever's required for your plotting program.


/* OOF home */ /* OOF2 home */ /* Send mail to the OOF Team */