HistoryOutput(...)
This method creates a HistoryOutput object.
Path
odb.steps()[name].historyRegions()[name].HistoryOutput
Prototype
odb_HistoryOutput& HistoryOutput(const odb_String& name, const odb_String& description, odb_Enum::odb_DataTypeEnum type, const odb_SequenceInvariant& validInvariants);
Required arguments
- name
An odb_String specifying the output variable name.
- description
An odb_String specifying the output variable.
- type
An odb_Enum::odb_DataTypeEnum specifying the output type. Only odb_Enum::SCALAR is currently supported.
Optional arguments
- validInvariants
An odb_SequenceInvariant specifying which invariants should be calculated for this field. Possible values are odb_Enum::MAGNITUDE, odb_Enum::MISES, odb_Enum::TRESCA, odb_Enum::PRESS, odb_Enum::INV3, odb_Enum::MAX_PRINCIPAL, odb_Enum::MID_PRINCIPAL, and odb_Enum::MIN_PRINCIPAL. The default value is an empty sequence.
Return value
A HistoryOutput object.
Exceptions
None.