11 : _numberIterations(numberIterations),
12 _maxTimeWindows(maxTimeWindows)
#define PRECICE_DEBUG(...)
#define PRECICE_ASSERT(...)
Action
Actions that are required by CouplingSchemes.
@ WriteCheckpoint
Is the participant required to write a checkpoint?
@ ReadCheckpoint
Is the participant required to read a previously written checkpoint?
bool isActionRequired(Action action) const override final
Not implemented.
bool _hasConverged
False, if iterations are left to be performed.
bool addComputedTime(double timeToAdd) override final
Always assumes we reached the end of a time window.
bool hasConverged() const override
Returns false if the scheme is implicit and hasn't converged.
bool _isOngoing
True, if timesteps are left to be performed.
int _maxTimeWindows
Maximal number of time windows to be performed.
void firstExchange() override
DummyCouplingScheme(int numberIterations, int maxTimeWindows)
Constructor.
int _timeWindows
Performed number of time windows.
double getTime() const override final
Not implemented.
bool isImplicitCouplingScheme() const override
Returns true if the scheme or one subscheme is implicit.
bool isCouplingOngoing() const override final
Not implemented.
ChangedMeshes firstSynchronization(const ChangedMeshes &changes) override
void initialize(double startTime, int startTimeWindows) override final
Destructor, empty.
void secondExchange() final
int _numberIterations
Number of iterations performed per time window. 1 --> explicit.
void finalize() override final
Finalizes the coupling and disconnects communication.
ChangedMeshes secondSynchronization() override
bool _isInitialized
True, if initialize has been called.
double getTimeWindowStart() const override final
int _iterations
Performed iterations in the current time window.