OOF2: The Manual
Name
OOF.LoadData.Mesh.Load_Field — Load Field values into a Mesh.
Synopsis
OOF.LoadData.Mesh.Load_Field(mesh, fields, field_values)
Details
- Parent Menu: OOF.LoadData.Mesh
-
Callback: function
_loadFieldValuesin moduleooflib.engine.IO.meshIO -
Parameters:
mesh- Type: The path to an existing
Meshobject. 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. This
command is used internally in data files and not invoked directly
by the OOF2 user interface.
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
containing an integer node number, followed by the components of
the listed fields in the listed order.
Because different Nodes may have different sets of
Fields defined on them, more than one call to
Load_Field may be needed to load all of the
Fields on a Mesh.



