OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ExecutionBarrierFrequencyAndLast.h
Go to the documentation of this file.
1#pragma once
2#include "ExecutionBarrier.h"
3
5{
6public:
7 ExecutionBarrierFrequencyAndLast(int frequency, int lastTimeStep) :
8 _executionFrequency(frequency), _lastTimeStep(lastTimeStep) {}
9 virtual bool AllowExecution(int currentTimestep) override;
10
11private:
12 int _executionFrequency;
13 int _lastTimeStep;
14};
15
Definition ExecutionBarrierFrequencyAndLast.h:5
ExecutionBarrierFrequencyAndLast(int frequency, int lastTimeStep)
Definition ExecutionBarrierFrequencyAndLast.h:7
virtual bool AllowExecution(int currentTimestep) override
Definition ExecutionBarrierFrequencyAndLast.cpp:3
Definition ExecutionBarrier.h:4