Skip to main content

System Coupling C library 2024 R1

SyscInputVectorData Struct Reference

Last update: 17.07.2025

Provide a struct for input vector data. More...

#include <syscInputVectorData.h>

Data Fields

enum SyscPrimitiveType primitiveType
 
void * data0
 
void * data1
 
void * data2
 
size_t size
 
enum SyscDimension dimension
 

Detailed Description

Provide a struct for input vector data.

Input vector data provides read and write access to an array of vector data.

The size is the total number of vectors, not the total number of components, i.e. if all data is stored in one contiguous array, then size is 1/3 the size of that array.

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

SyscInputVectorData syscGetInputVectorDataSplitDouble(double *const data0, double *const data1, double *const data2, size_t dataSize)
Create an 3D input vector data access struct with split storage.
Provide a struct for input vector data.

Definition at line 42 of file syscInputVectorData.h.

Field Documentation

◆ data0

void* SyscInputVectorData::data0

Pointer to the first array.

Definition at line 44 of file syscInputVectorData.h.

◆ data1

void* SyscInputVectorData::data1

Pointer to the second array.

Definition at line 45 of file syscInputVectorData.h.

◆ data2

void* SyscInputVectorData::data2

Pointer to the third array.

Definition at line 46 of file syscInputVectorData.h.

◆ dimension

enum SyscDimension SyscInputVectorData::dimension

Array Dimension

Definition at line 48 of file syscInputVectorData.h.

◆ primitiveType

enum SyscPrimitiveType SyscInputVectorData::primitiveType

Primitive type.

Definition at line 43 of file syscInputVectorData.h.

◆ size

size_t SyscInputVectorData::size

Array size.

Definition at line 47 of file syscInputVectorData.h.

Connect with Ansys