11namespace acceleration {
32 virtual void _update_(
bool timeWindowComplete,
const Eigen::VectorXd &oldValues,
const Eigen::VectorXd &res);
Preconditioner that uses the constant user-defined factors to scale the quasi-Newton system.
std::vector< double > _factors
Constant user-defined factors to scale the quasi-Newton system.
virtual void _update_(bool timeWindowComplete, const Eigen::VectorXd &oldValues, const Eigen::VectorXd &res)
Update the scaling after every FSI iteration.
virtual ~ConstantPreconditioner()
Destructor, empty.
virtual void initialize(std::vector< size_t > &svs)
initialize the preconditioner
ConstantPreconditioner(std::vector< double > factors)
Interface for preconditioner variants that can be applied to quasi-Newton acceleration schemes.
This class provides a lightweight logger.
Main namespace of the precice library.
static std::unique_ptr< precice::Participant > impl