Skip to main content

Structure SyscVariable

Definition: syscVariable.h (line 37)

Provide a struct for a System Coupling variable.

To create and/or initialize the SyscVariable struct, it is highly recommended to use one of the functions with names starting with syscGetVariable. These functions will initialize all members to the correct values and will help to avoid back-compatibility issues in the future. For example:

SyscVariable var = syscGetVariableTE(
"Temperature", SyscScalar, 0, SyscNode);

Members

Public attributes

Variable name

Definition: syscVariable.h (line 38)

char SyscVariable::name[SYSC_STRING_LENGTH][SYSC_STRING_LENGTH]

Unique name for this variable.

Type: char

Variable quantityType

Definition: syscVariable.h (line 38)

enum SyscQuantityType SyscVariable::quantityType

Quantity type (e.g. temperature).

Type: enum SyscQuantityType

Variable location

Definition: syscVariable.h (line 38)

enum SyscLocation SyscVariable::location

Location (e.g element or node).

Type: enum SyscLocation

Variable displayName

Definition: syscVariable.h (line 41)

char SyscVariable::displayName[SYSC_STRING_LENGTH][SYSC_STRING_LENGTH]

User-friendly name.

Type: char

Variable tensorType

Definition: syscVariable.h (line 41)

enum SyscTensorType SyscVariable::tensorType

Tensor type (e.g. scalar, vector).

Type: enum SyscTensorType

Variable isExtensive

Definition: syscVariable.h (line 43)

int SyscVariable::isExtensive

Flag indicating whether it's an extensive property.

Type: int

Variable dataType

Definition: syscVariable.h (line 43)

enum SyscDataType SyscVariable::dataType

Variable data type.

Type: enum SyscDataType