18 : _relaxation(relaxation),
19 _dataIDs(
std::move(dataIDs))
22 "Relaxation factor for constant relaxation acceleration has to be larger than zero and smaller or equal to one. "
23 "Current relaxation factor is: {}",
#define PRECICE_TRACE(...)
#define PRECICE_CHECK(check,...)
void checkDataIDs(const DataMap &cplData) const
Checks if all dataIDs are contained in cplData.
static void applyRelaxation(double omega, DataMap &cplData)
performs a relaxation given a relaxation factor omega
ConstantRelaxationAcceleration(double relaxation, std::vector< int > dataIDs)
virtual void performAcceleration(DataMap &cplData) override
virtual void initialize(const DataMap &cplData) override
contains implementations of acceleration schemes.