#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]
Display name will default to the same as name.
Quantity type will default to unspecified.
DataType will default to real.
Variable() [3/6]
Display name will default to the same as name.
Quantity type will default to unspecified.
Variable() [4/6]
DataType will default to real.
Variable() [5/6]
Variable() [6/6]
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:
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.