helics 3.7.0
Loading...
Searching...
No Matches
timeOperations.hpp
Go to the documentation of this file.
1/*
2Copyright (c) 2017-2026,
3Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Energy
4Innovation LLC. See the top-level NOTICE for additional details. All rights reserved.
5SPDX-License-Identifier: BSD-3-Clause
6*/
7#pragma once
8#include "../core/helicsTime.hpp"
9#include "helics_cxx_export.h"
10
11#include <string_view>
15namespace helics {
16
23HELICS_CXX_EXPORT Time loadTimeFromString(std::string_view timeString);
24
33HELICS_CXX_EXPORT Time loadTimeFromString(std::string_view timeString, time_units defUnit);
34
39HELICS_CXX_EXPORT time_units timeUnitsFromString(std::string_view unitString);
40
41} // namespace helics
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition AsyncFedCallInfo.hpp:14
time_units timeUnitsFromString(std::string_view unitString)
Definition timeOperations.cpp:16
Time loadTimeFromString(std::string_view timeString)
Definition timeOperations.cpp:21
TimeRepresentation< count_time< 9 > > Time
Definition helicsTime.hpp:27