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 _hasConverged
False, if iterations are left to be performed.
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.
double getTime() const final override
Not implemented.
int _timeWindows
Performed number of time windows.
double getTimeWindowStart() const final override
void secondExchange() final override
bool isImplicitCouplingScheme() const override
Returns true if the scheme or one subscheme is implicit.
ChangedMeshes firstSynchronization(const ChangedMeshes &changes) override
bool isActionRequired(Action action) const final override
Not implemented.
void finalize() final override
Finalizes the coupling and disconnects communication.
bool addComputedTime(double timeToAdd) final override
Always assumes we reached the end of a time window.
int _numberIterations
Number of iterations performed per time window. 1 --> explicit.
bool isCouplingOngoing() const final override
Not implemented.
ChangedMeshes secondSynchronization() override
bool _isInitialized
True, if initialize has been called.
int _iterations
Performed iterations in the current time window.
void initialize() final override
Destructor, empty.