11namespace acceleration {
34 virtual void _update_(
bool timeWindowComplete,
const Eigen::VectorXd &oldValues,
const Eigen::VectorXd &res);
Interface for preconditioner variants that can be applied to quasi-Newton acceleration schemes.
Preconditioner that uses the residuals of all iterations of the current time window summed up to scal...
std::vector< double > _residualSum
ResidualSumPreconditioner(int maxNonConstTimeWindows)
virtual void initialize(std::vector< size_t > &svs)
initialize the preconditioner
virtual ~ResidualSumPreconditioner()
Destructor, empty.
virtual void _update_(bool timeWindowComplete, const Eigen::VectorXd &oldValues, const Eigen::VectorXd &res)
Update the scaling after every FSI iteration.
This class provides a lightweight logger.
Main namespace of the precice library.
static std::unique_ptr< precice::Participant > impl