Line data Source code
1 0 : // 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 1 : bool is_self_starting(const TimeStepId& time_id); 15 : } // namespace SelfStart