helics  3.2.0
helics_enums.h
Go to the documentation of this file.
1 /*
2 Copyright (c) 2017-2022,
3 Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable
4 Energy, LLC. See the top-level NOTICE for additional details. All rights reserved.
5 SPDX-License-Identifier: BSD-3-Clause
6 */
7 
8 /*defines left in this code as it is used in the shared library*/
9 #ifndef _HELICS_ENUMS_
10 #define _HELICS_ENUMS_
11 #pragma once
12 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
22 typedef enum {
61 
63 typedef enum {
64  HELICS_DATA_TYPE_UNKNOWN = -1,
92 
94 #define HELICS_DATA_TYPE_CHAR HELICS_DATA_TYPE_STRING
95 
97 typedef enum {
142 
144 typedef enum {
152 
154 typedef enum {
173 } HelicsFlags;
174 
177 typedef enum {
204 
207 typedef enum {
243 
244 const int HELICS_INVALID_OPTION_INDEX = -101;
245 
247 typedef enum {
283 
286 
288 typedef enum {
309 
311 typedef enum {
344 
346 typedef enum {
364 
366 typedef enum {
373 
375 
381 typedef enum {
389 
390 #define HELICS_BIG_NUMBER 9223372036.854774
391 const double cHelicsBigNumber = HELICS_BIG_NUMBER;
392 
393 #ifdef __cplusplus
394 } /* end of extern "C" { */
395 #endif
396 #endif
HELICS_LOG_LEVEL_PROFILING
@ HELICS_LOG_LEVEL_PROFILING
Definition: helics_enums.h:185
HELICS_ERROR_USER_ABORT
@ HELICS_ERROR_USER_ABORT
Definition: helics_enums.h:217
HELICS_HANDLE_OPTION_CLEAR_PRIORITY_LIST
@ HELICS_HANDLE_OPTION_CLEAR_PRIORITY_LIST
Definition: helics_enums.h:340
HelicsCoreTypes
HelicsCoreTypes
Definition: helics_enums.h:22
HELICS_CORE_TYPE_DEFAULT
@ HELICS_CORE_TYPE_DEFAULT
Definition: helics_enums.h:24
HELICS_CORE_TYPE_NULL
@ HELICS_CORE_TYPE_NULL
Definition: helics_enums.h:57
HELICS_HANDLE_OPTION_ONLY_TRANSMIT_ON_CHANGE
@ HELICS_HANDLE_OPTION_ONLY_TRANSMIT_ON_CHANGE
Definition: helics_enums.h:330
HELICS_FLAG_INTERRUPTIBLE
@ HELICS_FLAG_INTERRUPTIBLE
Definition: helics_enums.h:103
HelicsCoreFlags
HelicsCoreFlags
Definition: helics_enums.h:144
HELICS_MULTI_INPUT_MIN_OPERATION
@ HELICS_MULTI_INPUT_MIN_OPERATION
Definition: helics_enums.h:305
HELICS_FILTER_TYPE_CLONE
@ HELICS_FILTER_TYPE_CLONE
Definition: helics_enums.h:359
HELICS_SEQUENCING_MODE_ORDERED
@ HELICS_SEQUENCING_MODE_ORDERED
Definition: helics_enums.h:385
HELICS_CORE_TYPE_ZMQ
@ HELICS_CORE_TYPE_ZMQ
Definition: helics_enums.h:26
HELICS_DATA_TYPE_JSON
@ HELICS_DATA_TYPE_JSON
Definition: helics_enums.h:86
HELICS_FLAG_DEBUGGING
@ HELICS_FLAG_DEBUGGING
Definition: helics_enums.h:162
HELICS_FLAG_FORWARD_COMPUTE
@ HELICS_FLAG_FORWARD_COMPUTE
Definition: helics_enums.h:123
HELICS_ERROR_INVALID_STATE_TRANSITION
@ HELICS_ERROR_INVALID_STATE_TRANSITION
Definition: helics_enums.h:225
HELICS_HANDLE_OPTION_ONLY_UPDATE_ON_CHANGE
@ HELICS_HANDLE_OPTION_ONLY_UPDATE_ON_CHANGE
Definition: helics_enums.h:332
HELICS_ERROR_FATAL
@ HELICS_ERROR_FATAL
Definition: helics_enums.h:209
HELICS_LOG_LEVEL_NO_PRINT
@ HELICS_LOG_LEVEL_NO_PRINT
Definition: helics_enums.h:181
HELICS_FILTER_TYPE_DELAY
@ HELICS_FILTER_TYPE_DELAY
Definition: helics_enums.h:350
HELICS_DATA_TYPE_ANY
@ HELICS_DATA_TYPE_ANY
Definition: helics_enums.h:90
HELICS_HANDLE_OPTION_IGNORE_INTERRUPTS
@ HELICS_HANDLE_OPTION_IGNORE_INTERRUPTS
Definition: helics_enums.h:334
HELICS_TRANSLATOR_TYPE_CUSTOM
@ HELICS_TRANSLATOR_TYPE_CUSTOM
Definition: helics_enums.h:368
HELICS_LOG_LEVEL_CONNECTIONS
@ HELICS_LOG_LEVEL_CONNECTIONS
Definition: helics_enums.h:192
HELICS_DATA_TYPE_COMPLEX
@ HELICS_DATA_TYPE_COMPLEX
Definition: helics_enums.h:72
HelicsDataTypes
HelicsDataTypes
Definition: helics_enums.h:63
HELICS_HANDLE_OPTION_STRICT_TYPE_CHECKING
@ HELICS_HANDLE_OPTION_STRICT_TYPE_CHECKING
Definition: helics_enums.h:325
HELICS_MULTI_INPUT_NO_OP
@ HELICS_MULTI_INPUT_NO_OP
Definition: helics_enums.h:290
HELICS_MULTI_INPUT_VECTORIZE_OPERATION
@ HELICS_MULTI_INPUT_VECTORIZE_OPERATION
Definition: helics_enums.h:292
HELICS_LOG_LEVEL_WARNING
@ HELICS_LOG_LEVEL_WARNING
Definition: helics_enums.h:187
HELICS_MULTI_INPUT_AVERAGE_OPERATION
@ HELICS_MULTI_INPUT_AVERAGE_OPERATION
Definition: helics_enums.h:307
HELICS_ERROR_INVALID_OBJECT
@ HELICS_ERROR_INVALID_OBJECT
Definition: helics_enums.h:235
HELICS_SEQUENCING_MODE_DEFAULT
@ HELICS_SEQUENCING_MODE_DEFAULT
Definition: helics_enums.h:387
HELICS_ERROR_INSUFFICIENT_SPACE
@ HELICS_ERROR_INSUFFICIENT_SPACE
Definition: helics_enums.h:219
HELICS_CORE_TYPE_INTERPROCESS
@ HELICS_CORE_TYPE_INTERPROCESS
Definition: helics_enums.h:33
HELICS_ERROR_REGISTRATION_FAILURE
@ HELICS_ERROR_REGISTRATION_FAILURE
Definition: helics_enums.h:239
HELICS_FLAG_STRICT_CONFIG_CHECKING
@ HELICS_FLAG_STRICT_CONFIG_CHECKING
Definition: helics_enums.h:132
HELICS_ERROR_DISCARD
@ HELICS_ERROR_DISCARD
Definition: helics_enums.h:231
HELICS_FLAG_LOCAL_PROFILING_CAPTURE
@ HELICS_FLAG_LOCAL_PROFILING_CAPTURE
Definition: helics_enums.h:140
HELICS_FLAG_WAIT_FOR_CURRENT_TIME_UPDATE
@ HELICS_FLAG_WAIT_FOR_CURRENT_TIME_UPDATE
Definition: helics_enums.h:114
HELICS_CORE_TYPE_NNG
@ HELICS_CORE_TYPE_NNG
Definition: helics_enums.h:44
HELICS_FLAG_SOURCE_ONLY
@ HELICS_FLAG_SOURCE_ONLY
Definition: helics_enums.h:105
HELICS_HANDLE_OPTION_INPUT_PRIORITY_LOCATION
@ HELICS_HANDLE_OPTION_INPUT_PRIORITY_LOCATION
Definition: helics_enums.h:338
HELICS_ERROR_CONNECTION_FAILURE
@ HELICS_ERROR_CONNECTION_FAILURE
Definition: helics_enums.h:237
HELICS_ERROR_EXTERNAL_TYPE
@ HELICS_ERROR_EXTERNAL_TYPE
Definition: helics_enums.h:211
HELICS_CORE_TYPE_ZMQ_SS
@ HELICS_CORE_TYPE_ZMQ_SS
Definition: helics_enums.h:42
HELICS_FLAG_PROFILING
@ HELICS_FLAG_PROFILING
Definition: helics_enums.h:170
HELICS_MULTI_INPUT_AND_OPERATION
@ HELICS_MULTI_INPUT_AND_OPERATION
Definition: helics_enums.h:294
HELICS_PROPERTY_INT_LOG_BUFFER
@ HELICS_PROPERTY_INT_LOG_BUFFER
Definition: helics_enums.h:281
HELICS_DATA_TYPE_STRING
@ HELICS_DATA_TYPE_STRING
Definition: helics_enums.h:66
HELICS_CORE_TYPE_HTTP
@ HELICS_CORE_TYPE_HTTP
Definition: helics_enums.h:48
HELICS_CORE_TYPE_UDP
@ HELICS_CORE_TYPE_UDP
Definition: helics_enums.h:40
HELICS_ERROR_INVALID_FUNCTION_CALL
@ HELICS_ERROR_INVALID_FUNCTION_CALL
Definition: helics_enums.h:223
HELICS_DATA_TYPE_NAMED_POINT
@ HELICS_DATA_TYPE_NAMED_POINT
Definition: helics_enums.h:78
HELICS_HANDLE_OPTION_CONNECTION_OPTIONAL
@ HELICS_HANDLE_OPTION_CONNECTION_OPTIONAL
Definition: helics_enums.h:317
HelicsFederateFlags
HelicsFederateFlags
Definition: helics_enums.h:97
HELICS_FLAG_REALTIME
@ HELICS_FLAG_REALTIME
Definition: helics_enums.h:125
HELICS_FLAG_DELAY_INIT_ENTRY
@ HELICS_FLAG_DELAY_INIT_ENTRY
Definition: helics_enums.h:146
HELICS_LOG_LEVEL_DUMPLOG
@ HELICS_LOG_LEVEL_DUMPLOG
Definition: helics_enums.h:179
HELICS_PROPERTY_INT_CONSOLE_LOG_LEVEL
@ HELICS_PROPERTY_INT_CONSOLE_LOG_LEVEL
Definition: helics_enums.h:279
HELICS_FLAG_OBSERVER
@ HELICS_FLAG_OBSERVER
Definition: helics_enums.h:99
HELICS_FLAG_ROLLBACK
@ HELICS_FLAG_ROLLBACK
Definition: helics_enums.h:121
HELICS_FLAG_IGNORE_TIME_MISMATCH_WARNINGS
@ HELICS_FLAG_IGNORE_TIME_MISMATCH_WARNINGS
Definition: helics_enums.h:129
HELICS_WARNING
@ HELICS_WARNING
Definition: helics_enums.h:227
HELICS_TRANSLATOR_TYPE_JSON
@ HELICS_TRANSLATOR_TYPE_JSON
Definition: helics_enums.h:370
HELICS_LOG_LEVEL_DEBUG
@ HELICS_LOG_LEVEL_DEBUG
Definition: helics_enums.h:200
HELICS_DATA_TYPE_BOOLEAN
@ HELICS_DATA_TYPE_BOOLEAN
Definition: helics_enums.h:80
HELICS_PROPERTY_INT_LOG_LEVEL
@ HELICS_PROPERTY_INT_LOG_LEVEL
Definition: helics_enums.h:273
HELICS_DATA_TYPE_RAW
@ HELICS_DATA_TYPE_RAW
Definition: helics_enums.h:84
HELICS_MULTI_INPUT_DIFF_OPERATION
@ HELICS_MULTI_INPUT_DIFF_OPERATION
Definition: helics_enums.h:301
HELICS_ERROR_OTHER
@ HELICS_ERROR_OTHER
Definition: helics_enums.h:213
HELICS_CORE_TYPE_WEBSOCKET
@ HELICS_CORE_TYPE_WEBSOCKET
Definition: helics_enums.h:50
HELICS_PROPERTY_INT_MAX_ITERATIONS
@ HELICS_PROPERTY_INT_MAX_ITERATIONS
Definition: helics_enums.h:271
HELICS_HANDLE_OPTION_MULTI_INPUT_HANDLING_METHOD
@ HELICS_HANDLE_OPTION_MULTI_INPUT_HANDLING_METHOD
Definition: helics_enums.h:336
HELICS_DATA_TYPE_TIME
@ HELICS_DATA_TYPE_TIME
Definition: helics_enums.h:82
HELICS_FILTER_TYPE_CUSTOM
@ HELICS_FILTER_TYPE_CUSTOM
Definition: helics_enums.h:348
HELICS_ERROR_INVALID_ARGUMENT
@ HELICS_ERROR_INVALID_ARGUMENT
Definition: helics_enums.h:233
HELICS_MULTI_INPUT_OR_OPERATION
@ HELICS_MULTI_INPUT_OR_OPERATION
Definition: helics_enums.h:296
HELICS_DATA_TYPE_VECTOR
@ HELICS_DATA_TYPE_VECTOR
Definition: helics_enums.h:74
HELICS_USER_EXCEPTION
@ HELICS_USER_EXCEPTION
Definition: helics_enums.h:215
HELICS_PROPERTY_TIME_PERIOD
@ HELICS_PROPERTY_TIME_PERIOD
Definition: helics_enums.h:251
HELICS_PROPERTY_TIME_RT_TOLERANCE
@ HELICS_PROPERTY_TIME_RT_TOLERANCE
Definition: helics_enums.h:262
HELICS_CORE_TYPE_INPROC
@ HELICS_CORE_TYPE_INPROC
Definition: helics_enums.h:54
HELICS_HANDLE_OPTION_CONNECTION_REQUIRED
@ HELICS_HANDLE_OPTION_CONNECTION_REQUIRED
Definition: helics_enums.h:314
HELICS_FLAG_IGNORE
@ HELICS_FLAG_IGNORE
Definition: helics_enums.h:150
HELICS_PROPERTY_TIME_DELTA
@ HELICS_PROPERTY_TIME_DELTA
Definition: helics_enums.h:249
HelicsMultiInputModes
HelicsMultiInputModes
Definition: helics_enums.h:288
HelicsSequencingModes
HelicsSequencingModes
Definition: helics_enums.h:381
HELICS_DATA_TYPE_INT
@ HELICS_DATA_TYPE_INT
Definition: helics_enums.h:70
HELICS_CORE_TYPE_TEST
@ HELICS_CORE_TYPE_TEST
Definition: helics_enums.h:30
HELICS_CORE_TYPE_TCP_SS
@ HELICS_CORE_TYPE_TCP_SS
Definition: helics_enums.h:46
HELICS_FLAG_FORCE_LOGGING_FLUSH
@ HELICS_FLAG_FORCE_LOGGING_FLUSH
Definition: helics_enums.h:166
HELICS_FLAG_TERMINATE_ON_ERROR
@ HELICS_FLAG_TERMINATE_ON_ERROR
Definition: helics_enums.h:164
HELICS_FILTER_TYPE_RANDOM_DELAY
@ HELICS_FILTER_TYPE_RANDOM_DELAY
Definition: helics_enums.h:352
HELICS_LOG_LEVEL_DATA
@ HELICS_LOG_LEVEL_DATA
Definition: helics_enums.h:198
HELICS_MULTI_INPUT_MAX_OPERATION
@ HELICS_MULTI_INPUT_MAX_OPERATION
Definition: helics_enums.h:303
HelicsFilterTypes
HelicsFilterTypes
Definition: helics_enums.h:346
HELICS_FLAG_ONLY_UPDATE_ON_CHANGE
@ HELICS_FLAG_ONLY_UPDATE_ON_CHANGE
Definition: helics_enums.h:111
HELICS_DATA_TYPE_MULTI
@ HELICS_DATA_TYPE_MULTI
Definition: helics_enums.h:88
HELICS_MULTI_INPUT_SUM_OPERATION
@ HELICS_MULTI_INPUT_SUM_OPERATION
Definition: helics_enums.h:298
HELICS_FLAG_USE_JSON_SERIALIZATION
@ HELICS_FLAG_USE_JSON_SERIALIZATION
Definition: helics_enums.h:134
HELICS_FLAG_EVENT_TRIGGERED
@ HELICS_FLAG_EVENT_TRIGGERED
Definition: helics_enums.h:137
HELICS_HANDLE_OPTION_MULTIPLE_CONNECTIONS_ALLOWED
@ HELICS_HANDLE_OPTION_MULTIPLE_CONNECTIONS_ALLOWED
Definition: helics_enums.h:321
HELICS_DATA_TYPE_DOUBLE
@ HELICS_DATA_TYPE_DOUBLE
Definition: helics_enums.h:68
HELICS_HANDLE_OPTION_CONNECTIONS
@ HELICS_HANDLE_OPTION_CONNECTIONS
Definition: helics_enums.h:342
HELICS_FILTER_TYPE_REROUTE
@ HELICS_FILTER_TYPE_REROUTE
Definition: helics_enums.h:357
HelicsHandleOptions
HelicsHandleOptions
Definition: helics_enums.h:311
HelicsTranslatorTypes
HelicsTranslatorTypes
Definition: helics_enums.h:366
HELICS_OK
@ HELICS_OK
Definition: helics_enums.h:241
HELICS_LOG_LEVEL_SUMMARY
@ HELICS_LOG_LEVEL_SUMMARY
Definition: helics_enums.h:189
HELICS_PROPERTY_TIME_RT_LAG
@ HELICS_PROPERTY_TIME_RT_LAG
Definition: helics_enums.h:256
HELICS_FLAG_SINGLE_THREAD_FEDERATE
@ HELICS_FLAG_SINGLE_THREAD_FEDERATE
Definition: helics_enums.h:127
HELICS_HANDLE_OPTION_IGNORE_UNIT_MISMATCH
@ HELICS_HANDLE_OPTION_IGNORE_UNIT_MISMATCH
Definition: helics_enums.h:327
HELICS_SEQUENCING_MODE_FAST
@ HELICS_SEQUENCING_MODE_FAST
Definition: helics_enums.h:383
HELICS_FLAG_ENABLE_INIT_ENTRY
@ HELICS_FLAG_ENABLE_INIT_ENTRY
Definition: helics_enums.h:148
HELICS_HANDLE_OPTION_BUFFER_DATA
@ HELICS_HANDLE_OPTION_BUFFER_DATA
Definition: helics_enums.h:323
HELICS_LOG_LEVEL_ERROR
@ HELICS_LOG_LEVEL_ERROR
Definition: helics_enums.h:183
HELICS_CORE_TYPE_IPC
@ HELICS_CORE_TYPE_IPC
Definition: helics_enums.h:36
HELICS_FLAG_RESTRICTIVE_TIME_POLICY
@ HELICS_FLAG_RESTRICTIVE_TIME_POLICY
Definition: helics_enums.h:119
HELICS_FILTER_TYPE_RANDOM_DROP
@ HELICS_FILTER_TYPE_RANDOM_DROP
Definition: helics_enums.h:354
HELICS_HANDLE_OPTION_SINGLE_CONNECTION_ONLY
@ HELICS_HANDLE_OPTION_SINGLE_CONNECTION_ONLY
Definition: helics_enums.h:319
HELICS_PROPERTY_TIME_RT_LEAD
@ HELICS_PROPERTY_TIME_RT_LEAD
Definition: helics_enums.h:259
HELICS_PROPERTY_TIME_OUTPUT_DELAY
@ HELICS_PROPERTY_TIME_OUTPUT_DELAY
Definition: helics_enums.h:266
HELICS_PROPERTY_TIME_INPUT_DELAY
@ HELICS_PROPERTY_TIME_INPUT_DELAY
Definition: helics_enums.h:264
HELICS_FLAG_UNINTERRUPTIBLE
@ HELICS_FLAG_UNINTERRUPTIBLE
Definition: helics_enums.h:101
HELICS_DATA_TYPE_COMPLEX_VECTOR
@ HELICS_DATA_TYPE_COMPLEX_VECTOR
Definition: helics_enums.h:76
HELICS_ERROR_EXECUTION_FAILURE
@ HELICS_ERROR_EXECUTION_FAILURE
Definition: helics_enums.h:221
HelicsFlags
HelicsFlags
Definition: helics_enums.h:154
HELICS_PROPERTY_INT_FILE_LOG_LEVEL
@ HELICS_PROPERTY_INT_FILE_LOG_LEVEL
Definition: helics_enums.h:276
HELICS_FLAG_ONLY_TRANSMIT_ON_CHANGE
@ HELICS_FLAG_ONLY_TRANSMIT_ON_CHANGE
Definition: helics_enums.h:108
HELICS_LOG_LEVEL_TRACE
@ HELICS_LOG_LEVEL_TRACE
Definition: helics_enums.h:202
HelicsErrorTypes
HelicsErrorTypes
Definition: helics_enums.h:207
HELICS_CORE_TYPE_TCP
@ HELICS_CORE_TYPE_TCP
Definition: helics_enums.h:38
HELICS_LOG_LEVEL_TIMING
@ HELICS_LOG_LEVEL_TIMING
Definition: helics_enums.h:196
HELICS_FLAG_PROFILING_MARKER
@ HELICS_FLAG_PROFILING_MARKER
Definition: helics_enums.h:172
HELICS_LOG_LEVEL_INTERFACES
@ HELICS_LOG_LEVEL_INTERFACES
Definition: helics_enums.h:194
HELICS_CORE_TYPE_EMPTY
@ HELICS_CORE_TYPE_EMPTY
Definition: helics_enums.h:59
HELICS_CORE_TYPE_MPI
@ HELICS_CORE_TYPE_MPI
Definition: helics_enums.h:28
HELICS_PROPERTY_TIME_GRANT_TIMEOUT
@ HELICS_PROPERTY_TIME_GRANT_TIMEOUT
Definition: helics_enums.h:269
HELICS_TRANSLATOR_TYPE_BINARY
@ HELICS_TRANSLATOR_TYPE_BINARY
Definition: helics_enums.h:372
HELICS_PROPERTY_TIME_OFFSET
@ HELICS_PROPERTY_TIME_OFFSET
Definition: helics_enums.h:253
HELICS_FLAG_DUMPLOG
@ HELICS_FLAG_DUMPLOG
Definition: helics_enums.h:168
HELICS_ERROR_SYSTEM_FAILURE
@ HELICS_ERROR_SYSTEM_FAILURE
Definition: helics_enums.h:229
HELICS_INVALID_PROPERTY_VALUE
const int HELICS_INVALID_PROPERTY_VALUE
Definition: helics_enums.h:285
HelicsProperties
HelicsProperties
Definition: helics_enums.h:247
HelicsLogLevels
HelicsLogLevels
Definition: helics_enums.h:177
HELICS_FLAG_SLOW_RESPONDING
@ HELICS_FLAG_SLOW_RESPONDING
Definition: helics_enums.h:158
HELICS_FILTER_TYPE_FIREWALL
@ HELICS_FILTER_TYPE_FIREWALL
Definition: helics_enums.h:362