18namespace acceleration {
virtual void importState(io::TXTReader &reader)
void checkDataIDs(const DataMap &cplData) const
Checks if all dataIDs are contained in cplData.
virtual int getDeletedColumns() const
Gives the number of QN columns that where filtered out (i.e. deleted) in this time window.
static const int QR1FILTER_ABS
static void applyRelaxation(double omega, DataMap &cplData)
performs a relaxation given a relaxation factor omega
virtual void iterationsConverged(const DataMap &cpldata)=0
virtual void initialize(const DataMap &cpldata)=0
static const int PODFILTER
static const int QR2FILTER
virtual int getDroppedColumns() const
Gives the number of QN columns that went out of scope in this time window.
void concatenateCouplingData(const DataMap &cplData, const std::vector< DataID > &dataIDs, Eigen::VectorXd &targetValues, Eigen::VectorXd &targetOldValues) const
Concatenates all coupling data involved into a single vector.
virtual void performAcceleration(DataMap &cpldata)=0
static const int NOFILTER
static const int QR1FILTER
virtual std::vector< int > getDataIDs() const =0
virtual int getLSSystemCols() const
Gives the number of current QN columns (LS = least squares)
virtual void exportState(io::TXTWriter &writer)
virtual ~Acceleration()=default
File reader for matrix/vector in Matlab V7 ASCII format.
File writer for matrix in Matlab V7 ASCII format.
Main namespace of the precice library.