    

 ## On this page

  

 

 # syscInputVectorData

 Last update: 17.07.2025 

<a id="l00001" name="l00001"></a> 1/\*

<a id="l00002" name="l00002"></a> 2\* Copyright 2023 ANSYS, Inc. Unauthorized use, distribution, or duplication is prohibited.

<a id="l00003" name="l00003"></a> 3\*/

<a id="l00004" name="l00004"></a> 4 

<a id="l00005" name="l00005"></a> 5\#pragma once

<a id="l00006" name="l00006"></a> 6 

<a id="l00007" name="l00007"></a> 7\#include "SystemCouplingParticipant/LibraryType.hpp"

<a id="l00008" name="l00008"></a> 8 

<a id="l00009" name="l00009"></a> 9\#include "SystemCouplingParticipant/syscCommonTypes.h"

<a id="l00010" name="l00010"></a> 10 

<a id="l00011" name="l00011"></a> 11\#include &lt;stddef.h&gt;

<a id="l00012" name="l00012"></a> 12\#include &lt;stdint.h&gt;

<a id="l00013" name="l00013"></a> 13 

<a id="l00014" name="l00014"></a> 14\#ifdef \_\_cplusplus

<a id="l00015" name="l00015"></a> 15extern "C" {

<a id="l00016" name="l00016"></a> 16\#endif

<a id="l00017" name="l00017"></a> 17 

<a id="l00042" name="l00042"></a>[ 42](structSyscInputVectorData.xhtml)typedef struct {

<a id="l00043" name="l00043"></a>[ 43](structSyscInputVectorData.xhtml#a9f94dd62dccc2b3899c69b2ce1c6d1ea) enum [SyscPrimitiveType](group__SyscParticipantLibraryCAPI.xhtml#gade3becc3625d881bdd988111e0895a3c) [primitiveType](structSyscInputVectorData.xhtml#a9f94dd62dccc2b3899c69b2ce1c6d1ea); 

<a id="l00044" name="l00044"></a>[ 44](structSyscInputVectorData.xhtml#a5d82442ce980b42b83952c7cc5add7c1) void *[data0](structSyscInputVectorData.xhtml#a5d82442ce980b42b83952c7cc5add7c1); 

<a id="l00045" name="l00045"></a>[ 45](structSyscInputVectorData.xhtml#a55afda92952939d2ff72b07e3792e509) void *[data1](structSyscInputVectorData.xhtml#a55afda92952939d2ff72b07e3792e509); 

<a id="l00046" name="l00046"></a>[ 46](structSyscInputVectorData.xhtml#a8e8fa224f82b93e781c57d6b9db9fe19) void *[data2](structSyscInputVectorData.xhtml#a8e8fa224f82b93e781c57d6b9db9fe19); 

<a id="l00047" name="l00047"></a>[ 47](structSyscInputVectorData.xhtml#aef2f006ed5084f3c78dd98f7b4bf5429) size\_t [size](structSyscInputVectorData.xhtml#aef2f006ed5084f3c78dd98f7b4bf5429); 

<a id="l00048" name="l00048"></a> 48} [SyscInputVectorData](structSyscInputVectorData.xhtml);

<a id="l00049" name="l00049"></a> 49 

<a id="l00059" name="l00059"></a>[ 59](group__SyscParticipantLibraryCAPI.xhtml#ga8609363d94eccb5ac5113332b5bd0d77)[SyscInputVectorData](structSyscInputVectorData.xhtml) [syscGetInputVectorData](group__SyscParticipantLibraryCAPI.xhtml#ga8609363d94eccb5ac5113332b5bd0d77)();

<a id="l00060" name="l00060"></a> 60 

<a id="l00070" name="l00070"></a>[ 70](group__SyscParticipantLibraryCAPI.xhtml#ga21f7b8327230f78d41e61bdac3f073c0)[SyscInputVectorData](structSyscInputVectorData.xhtml) [syscGetInputVectorDataCompactDouble](group__SyscParticipantLibraryCAPI.xhtml#ga21f7b8327230f78d41e61bdac3f073c0)(

<a id="l00071" name="l00071"></a> 71 double *const data,

<a id="l00072" name="l00072"></a> 72 size\_t dataSize);

<a id="l00073" name="l00073"></a> 73 

<a id="l00083" name="l00083"></a>[ 83](group__SyscParticipantLibraryCAPI.xhtml#ga1dab4c326c88b20cb402ca06c84d39c2)[SyscInputVectorData](structSyscInputVectorData.xhtml) [syscGetInputVectorDataCompactFloat](group__SyscParticipantLibraryCAPI.xhtml#ga1dab4c326c88b20cb402ca06c84d39c2)(

<a id="l00084" name="l00084"></a> 84 float *const data,

<a id="l00085" name="l00085"></a> 85 size\_t dataSize);

<a id="l00086" name="l00086"></a> 86 

<a id="l00098" name="l00098"></a>[ 98](group__SyscParticipantLibraryCAPI.xhtml#ga5432989ff9b68845634e551c6246e42e)[SyscInputVectorData](structSyscInputVectorData.xhtml) [syscGetInputVectorDataSplitDouble](group__SyscParticipantLibraryCAPI.xhtml#ga5432989ff9b68845634e551c6246e42e)(

<a id="l00099" name="l00099"></a> 99 double *const data0,

<a id="l00100" name="l00100"></a> 100 double *const data1,

<a id="l00101" name="l00101"></a> 101 double *const data2,

<a id="l00102" name="l00102"></a> 102 size\_t dataSize);

<a id="l00103" name="l00103"></a> 103 

<a id="l00115" name="l00115"></a>[ 115](group__SyscParticipantLibraryCAPI.xhtml#ga774cdf0f3bb11efe50a587e6a11e7539)[SyscInputVectorData](structSyscInputVectorData.xhtml) [syscGetInputVectorDataSplitFloat](group__SyscParticipantLibraryCAPI.xhtml#ga774cdf0f3bb11efe50a587e6a11e7539)(

<a id="l00116" name="l00116"></a> 116 float *const data0,

<a id="l00117" name="l00117"></a> 117 float *const data1,

<a id="l00118" name="l00118"></a> 118 float *const data2,

<a id="l00119" name="l00119"></a> 119 size\_t dataSize);

<a id="l00120" name="l00120"></a> 120 

<a id="l00123" name="l00123"></a> 123\#ifdef \_\_cplusplus

<a id="l00124" name="l00124"></a> 124}

<a id="l00125" name="l00125"></a> 125\#endif

[syscGetInputVectorDataCompactFloat](group__SyscParticipantLibraryCAPI.xhtml#ga1dab4c326c88b20cb402ca06c84d39c2)

SyscInputVectorData syscGetInputVectorDataCompactFloat(float *const data, size_t dataSize)

Create an input vector data access struct with compact storage.



[syscGetInputVectorDataCompactDouble](group__SyscParticipantLibraryCAPI.xhtml#ga21f7b8327230f78d41e61bdac3f073c0)

SyscInputVectorData syscGetInputVectorDataCompactDouble(double *const data, size_t dataSize)

Create an input vector data access struct with compact storage.



[syscGetInputVectorDataSplitDouble](group__SyscParticipantLibraryCAPI.xhtml#ga5432989ff9b68845634e551c6246e42e)

SyscInputVectorData syscGetInputVectorDataSplitDouble(double *const data0, double *const data1, double *const data2, size_t dataSize)

Create an input vector data access struct with split storage.



[syscGetInputVectorDataSplitFloat](group__SyscParticipantLibraryCAPI.xhtml#ga774cdf0f3bb11efe50a587e6a11e7539)

SyscInputVectorData syscGetInputVectorDataSplitFloat(float *const data0, float *const data1, float *const data2, size_t dataSize)

Create an input vector data access struct with split storage.



[syscGetInputVectorData](group__SyscParticipantLibraryCAPI.xhtml#ga8609363d94eccb5ac5113332b5bd0d77)

SyscInputVectorData syscGetInputVectorData()

Create an input scalar data access struct.



[SyscPrimitiveType](group__SyscParticipantLibraryCAPI.xhtml#gade3becc3625d881bdd988111e0895a3c)

SyscPrimitiveType

Provide an enum for supported primitive types.

**Definition:** [syscCommonTypes.h:135](syscCommonTypes_8h_source.xhtml#l00135)



[SyscInputVectorData](structSyscInputVectorData.xhtml)

Provide a struct for input vector data.

**Definition:** [syscInputVectorData.h:42](syscInputVectorData_8h_source.xhtml#l00042)



[SyscInputVectorData::data1](structSyscInputVectorData.xhtml#a55afda92952939d2ff72b07e3792e509)

void * data1

**Definition:** [syscInputVectorData.h:45](syscInputVectorData_8h_source.xhtml#l00045)



[SyscInputVectorData::data0](structSyscInputVectorData.xhtml#a5d82442ce980b42b83952c7cc5add7c1)

void * data0

**Definition:** [syscInputVectorData.h:44](syscInputVectorData_8h_source.xhtml#l00044)



[SyscInputVectorData::data2](structSyscInputVectorData.xhtml#a8e8fa224f82b93e781c57d6b9db9fe19)

void * data2

**Definition:** [syscInputVectorData.h:46](syscInputVectorData_8h_source.xhtml#l00046)



[SyscInputVectorData::primitiveType](structSyscInputVectorData.xhtml#a9f94dd62dccc2b3899c69b2ce1c6d1ea)

enum SyscPrimitiveType primitiveType

**Definition:** [syscInputVectorData.h:43](syscInputVectorData_8h_source.xhtml#l00043)



[SyscInputVectorData::size](structSyscInputVectorData.xhtml#aef2f006ed5084f3c78dd98f7b4bf5429)

size_t size

**Definition:** [syscInputVectorData.h:47](syscInputVectorData_8h_source.xhtml#l00047)