SelfStart.hpp
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 #pragma once
5 
6 #include "Time/TimeStepId.hpp"
7 
8 namespace SelfStart {
9 /// Reports whether the `time_id` is during self start
10 ///
11 /// This currently assumes that the slab number of the `time_id` will be
12 /// negative if and only if self-start is in progress. If self start is
13 /// modified to alter that behavior, this utility must also be modified.
14 bool is_self_starting(const TimeStepId& time_id) noexcept;
15 } // namespace SelfStart
SelfStart::is_self_starting
bool is_self_starting(const TimeStepId &time_id) noexcept
Reports whether the time_id is during self start.
SelfStart
Definition: SelfStartActions.hpp:98
TimeStepId
Definition: TimeStepId.hpp:25
TimeStepId.hpp