fieldVectorWriter

fieldVectorWriter

Works with VSimBase, VSimEM, VSimPD, VSimPA, and VSimVE licenses.

Fill vector entries from values in a single Field. A range of component indices from that field may be read into the vector.

fieldVectorWriter Parameters

minDim (integer, required)

If NDIM < minDim, the writer will not be used to fill the vector.

component (integer, required if componentBounds not specified)

If a single-component fill, the component over which this writer operates. The number of components is set by the updater, and valid component indices are in the range [0, numberUpdaterComponents).

componentBounds (integer vector, required if component not specified)

The component range over which this writer operates. The number of components is set by the updater, and valid component indices are in the range [0, numberUpdaterComponents).

readFields (string, required)

The names of the fields whose values will be written to the vector. If multiple fields are given, only the first is used.

readComponent (integer, required if readComponentBounds not specified)

The component index of the field being read.

readComponentBounds (integer vector, required if readComponent not specified)

The range of component indices of the field being read.

scaling (real, default = 1.0)

A factor for scaling all field values that are written to the vector.