OOF2: The Manual

Name

OOF.LoadData.Mesh.Load_Field — Load Fields is used internally in Mesh data files.

Synopsis

OOF.LoadData.Mesh.Load_Field(mesh,fields,field_values)

Details

  • Parent Menu: OOF.LoadData.Mesh
  • Callback: function _loadFieldValues in module ooflib.engine.IO.meshIO
  • Parameters:

    mesh
    Type: The path to an existing Mesh object.
    fields
    Names of Fields. Type: A list of character strings.
    field_values
    Values of Fields. Type: A list of tuples containing one integer followed by a variable number of real numbers.

Description

Load values for a Field at the Nodes of a saved Mesh. The fields parameter is a list of the names of the Fields that are defined on the Mesh. The field_values parameter is a list of tuples (Python lists with parentheses instead of square brackets). Each tuple contains an integer node number, followed by the components of the listed fields in the listed order.