Skip to main content

System Coupling C library 2025 R1

syscInputScalarData

Last update: 17.07.2025
1 /*
2 * Copyright ANSYS, Inc. Unauthorized use, distribution, or duplication is prohibited.
3 */
4 
5 #pragma once
6 
7 #include "SystemCouplingParticipant/LibraryType.hpp"
8 
9 #include "SystemCouplingParticipant/syscCommonTypes.h"
10 
11 #include <stddef.h>
12 #include <stdint.h>
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
23 /* ******** Input scalar data ********************************************** */
24 
40 typedef struct {
41  enum SyscPrimitiveType primitiveType;
42  void* data;
43  size_t size;
45 
56 
66  double* const data,
67  size_t dataSize);
68 
78  float* const data,
79  size_t dataSize);
80 
83 #ifdef __cplusplus
84 }
85 #endif
SyscInputScalarData syscGetInputScalarDataFloat(float *const data, size_t dataSize)
Create an input scalar data access struct.
SyscInputScalarData syscGetInputScalarDataDouble(double *const data, size_t dataSize)
Create an input scalar data access struct.
SyscInputScalarData syscGetInputScalarData()
Create an input scalar data access struct.
SyscPrimitiveType
Provide an enum for supported primitive types.
Provide a struct for input scalar data.

Connect with Ansys