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