fieldSlab

fieldSlab

Stores field values in of the field.

Histories of kind=fieldSlab record field values in the slab defined. It does so quite efficiently, as it can store the data in parallel with values contributed by each rank contributing the values that belong to it. It is best when working with large slabs.

This is more efficient than a kind = fieldArray, but lacks some of the functionality that a Tensor History provides and can be advantageous when working with small slabs.

fieldSlab Parameters

field (string, required)

The name of the <Field> for which to record values (the field name may need to be qualified: e.g., myEmField.yeeE instead of just yeeE).

lowerBounds (vectors of integers, required)

The lower bounds of the field values.

upperBounds (vectors of integers, required)

The upper bounds of the field values. As usual in Vorpal, the range is exclusive of the upper bound.

components (vector of integers, required)

The components of the field to be recorded; e.g., components = [0 1 2] to record all components of a 3-vector field, or components = [0] to store just the x-component.

fieldSlab History Example

<History E1>
 kind = fieldSlab
 field = emField.elecField
 components = [0 1 2]
 lowerBounds = [$NX/2$ $NY/2$ $NZ/2$]
 upperBounds = [$NX/2+1$ $NY/2+1$ $NZ/2+1$]
</History>