Skip to main content
Part of C++ Interfaces for Participant Library Provide a class for a System Coupling variable. #include <Variable.hpp>

Public Member Functions

Detailed Description

Provide a class for a System Coupling variable. Definition at line 21 of file Variable.hpp.

Constructor & Destructor Documentation

Variable() [1/6]

explicit Provide a constructor for the Variable class. Parameters Display name will default to the same as name. Tensor type will default to scalar. Is extensive flag will default to false (to non-extensive). Location will default to nodes. Quantity type will default to unspecified. DataType will default to real.

Variable() [2/6]

Provide a constructor for the Variable class. Parameters Display name will default to the same as name. Quantity type will default to unspecified. DataType will default to real.

Variable() [3/6]

Provide a constructor for the Variable class. Parameters Display name will default to the same as name. Quantity type will default to unspecified.

Variable() [4/6]

Provide a constructor for the Variable class. Parameters DataType will default to real.

Variable() [5/6]

Provide a constructor for the Variable class. Parameters

Variable() [6/6]

Provide a constructor for the Variable class. Parameters Note that provided quantity type will determine the value of the tensor type and is extensive parameters. The values will be inferred according to the following rules:
For a more explicit control of tensor type and is extensive values, consider using another constructor. DataType will default to real.

Member Function Documentation

getDataType()

noexcept Get the variable’s data type. Returns Return is the DataType enum.

getDisplayName()

noexcept Get the variable’s display name. Returns Return is the display name of this variable (string).

getIsExtensive()

noexcept The the is extensive boolean for this variable. Returns Return is the boolean, true if variable is extensive, false otherwise.

getLocation()

noexcept Get the variable’s location. Returns Return is Location of this variable.

getName()

noexcept Get the variable’s name. Returns Return is the name of this variable (string).

getQuantityType()

noexcept Get the variable’s quantity type. Returns Return is the QuantityType struct of this variable.

getTensorType()

noexcept Get the variable’s tensor type. Returns Return is the TensorType enum.