helics  3.3.0
helicsVersion.hpp
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 #pragma once
8 
9 #include "helics/helics-config.h"
10 
11 #include <string>
12 
16 namespace helics {
18 constexpr auto versionString = HELICS_VERSION_STRING;
19 
21 constexpr int versionMajor = HELICS_VERSION_MAJOR;
23 constexpr int versionMinor = HELICS_VERSION_MINOR;
25 constexpr int versionPatch = HELICS_VERSION_PATCH;
27 constexpr auto versionBuild = HELICS_VERSION_BUILD;
29 #ifdef NDEBUG
30 constexpr auto buildFlags = HELICS_BUILD_FLAGS_RELEASE;
31 #else
32 constexpr auto buildFlags = HELICS_BUILD_FLAGS_DEBUG;
33 #endif
34 
35 constexpr auto compiler = HELICS_COMPILER_VERSION;
37 std::string systemInfo();
38 } // namespace helics
helics::CoreFactory::getAvailableCoreTypes
std::vector< std::string > getAvailableCoreTypes()
Definition: CoreFactory.cpp:93
helics::versionMinor
constexpr int versionMinor
Definition: helicsVersion.hpp:23
helics::versionString
constexpr auto versionString
Definition: helicsVersion.hpp:18
helics::versionMajor
constexpr int versionMajor
Definition: helicsVersion.hpp:21
helics::versionBuild
constexpr auto versionBuild
Definition: helicsVersion.hpp:27
ZmqCommsCommon.h
helics::compiler
constexpr auto compiler
Definition: helicsVersion.hpp:35
helics
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14
helics::buildFlags
constexpr auto buildFlags
Definition: helicsVersion.hpp:32
helics::systemInfo
std::string systemInfo()
Definition: helicsVersion.cpp:195
helics::versionPatch
constexpr int versionPatch
Definition: helicsVersion.hpp:25
helicsVersion.hpp