> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Structure SyscVariable

![][C]
![][public]

**Definition**: `syscVariable.h` (line 37)

Provide a struct for a System Coupling variable.

To create and/or initialize the [SyscVariable](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/c-reference/structSyscVariable.md) 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:

```text theme={null}
SyscVariable var = syscGetVariableTE(
  "Temperature", SyscScalar, 0, SyscNode);
```

## Members

* [dataType](#structSyscVariable_1aedd58bab04a4c0036cd07cef9016a91c)
* [displayName](#structSyscVariable_1a04451c3da4978114e5aba6bcf2713731)
* [isExtensive](#structSyscVariable_1aed5ddca8dd956e1b4935aa69c323e011)
* [location](#structSyscVariable_1a417605c130a691478393fbb05840a5ab)
* [name](#structSyscVariable_1a2eba6c9ae1b937d16229bb14abfd0b8c)
* [quantityType](#structSyscVariable_1ac986a066454132f9f70180349586ab8b)
* [tensorType](#structSyscVariable_1a0293955653368e2f48d36587d4d90ca8)

## Public attributes

### Variable name

![][public]

**Definition**: `syscVariable.h` (line 38)

```text theme={null}
char SyscVariable::name[SYSC_STRING_LENGTH][SYSC_STRING_LENGTH]
```

Unique name for this variable.

**Type**: char

### Variable quantityType

![][public]

**Definition**: `syscVariable.h` (line 39)

```text theme={null}
enum SyscQuantityType SyscVariable::quantityType
```

Quantity type (e.g. temperature).

**Type**: enum [SyscQuantityType](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/c-reference/syscCommonTypes_8h#group__SyscParticipantLibraryCAPI_1gaa28a3de6c7c91003a8a15721a5301f12)

### Variable location

![][public]

**Definition**: `syscVariable.h` (line 40)

```text theme={null}
enum SyscLocation SyscVariable::location
```

Location (e.g element or node).

**Type**: enum [SyscLocation](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/c-reference/syscCommonTypes_8h#group__SyscParticipantLibraryCAPI_1gade42aba1a68acbbf5956edcd388cdcda)

### Variable displayName

![][public]

**Definition**: `syscVariable.h` (line 41)

```text theme={null}
char SyscVariable::displayName[SYSC_STRING_LENGTH][SYSC_STRING_LENGTH]
```

User-friendly name.

**Type**: char

### Variable tensorType

![][public]

**Definition**: `syscVariable.h` (line 42)

```text theme={null}
enum SyscTensorType SyscVariable::tensorType
```

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

**Type**: enum [SyscTensorType](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/c-reference/syscCommonTypes_8h#group__SyscParticipantLibraryCAPI_1ga007e2fd66e7263a63c114a6d12b3808d)

### Variable isExtensive

![][public]

**Definition**: `syscVariable.h` (line 43)

```text theme={null}
int SyscVariable::isExtensive
```

Flag indicating whether it's an extensive property.

**Type**: int

### Variable dataType

![][public]

**Definition**: `syscVariable.h` (line 44)

```text theme={null}
enum SyscDataType SyscVariable::dataType
```

Variable data type.

**Type**: enum SyscDataType

[public]: https://img.shields.io/badge/-public-brightgreen "public"

[C]: https://img.shields.io/badge/language-C-blue "C"
