FieldLocation object

The FieldLocation object specifies locations for which data are available in the field. For example, a displacement field will have a FieldLocation object with a position member value of NODAL. The FieldLocation object has no constructor; it is created automatically as an element of the location member of a FieldOutput object by the addData method of a FieldOutput object.

This page discusses:

Access

odb.steps()[name].frames(i).fieldOutputs()[name].locations(i)

Members

The FieldLocation object can have the following members:

Prototype

odb_Enum::odb_ResultPositionEnum position() const;
const odb_SequenceSectionPoint& sectionPoint() const;
const odb_SectionPoint& sectionPoint(int index) const;
position

An odb_Enum::odb_ResultPositionEnum specifying the position of the output in the element. Possible values are:

  • odb_Enum::NODAL, specifying the values calculated at the nodes.

  • odb_Enum::INTEGRATION_POINT, specifying the values calculated at the integration points.

  • odb_Enum::ELEMENT_NODAL, specifying the values obtained by extrapolating results calculated at the integration points.

  • odb_Enum::ELEMENT_FACE.

  • odb_Enum::CENTROID, specifying the value at the centroid obtained by extrapolating results calculated at the integration points.

sectionPoint

A sequence of SectionPoint objects.