113 double getTime() const final override;
#define PRECICE_ASSERT(...)
Interface for all coupling schemes.
std::vector< MeshID > ChangedMeshes
Action
Actions that are required by CouplingSchemes.
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.
int getTimeWindows() const final override
Not implemented.
bool sendsInitializedData() const final override
Not implemented.
std::vector< std::string > getCouplingPartners() const final override
Returns list of all coupling partners.
void firstExchange() override
void requireAction(Action action) final override
Not implemented.
bool willDataBeExchanged(double lastSolverTimeStepSize) const final override
Not implemented.
std::string printCouplingState() const final override
Empty.
DummyCouplingScheme(int numberIterations, int maxTimeWindows)
Constructor.
double getTime() const final override
Not implemented.
int _timeWindows
Performed number of time windows.
bool requiresSubsteps() const final override
Returns true if any send data of the scheme requires substeps.
ImplicitData implicitDataToReceive() const final override
Returns a vector of implicit data to receive in the next advance.
double getTimeWindowStart() const final override
void secondExchange() final override
bool isImplicitCouplingScheme() const override
Returns true if the scheme or one subscheme is implicit.
void markActionFulfilled(Action action) final override
Not implemented.
ChangedMeshes firstSynchronization(const ChangedMeshes &changes) override
bool hasDataBeenReceived() const final override
Not implemented.
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.
bool isTimeWindowComplete() const final override
Not implemented.
bool isInitialized() const final override
Not implemented.
bool isActionFulfilled(Action action) const final override
Returns true, if the given action has already been performed by the accessor.
int getCheckpointTimestepInterval() const
Not implemented.
std::string localParticipant() const final override
Returns the name of the local participant.
int _numberIterations
Number of iterations performed per time window. 1 --> explicit.
bool hasTimeWindowSize() const final override
Returns true, if time window size is prescribed by the cpl scheme.
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 reinitialize() final override
Reinitializes the coupling scheme, coupling data, and acceleration schemes.
double getTimeWindowSize() const final override
Not implemented.
void initialize() final override
Destructor, empty.
double getNextTimeStepMaxSize() const final override
Not implemented.
This class provides a lightweight logger.
contains actions to modify exchanged data.