37 const Eigen::VectorXd &oldValues,
38 const Eigen::VectorXd &newValues) = 0;
Interface for measures checking the convergence of a series of datasets.
virtual std::string getAbbreviation() const
Returns an abbreviation of the name of the measure for the log file headers.
virtual bool isConvergence() const =0
Returns true, if the last measurement indicates convergence.
virtual void newMeasurementSeries()=0
To be called when a new meas. series (iteration process) starts.
virtual void measure(const Eigen::VectorXd &oldValues, const Eigen::VectorXd &newValues)=0
Performs convergence measurement.
virtual std::string printState(const std::string &dataName)=0
Adds current convergence information to output stream.
virtual double getNormResidual()
Returns the l2-norm of the coupling residuum.
virtual ~ConvergenceMeasure()
Destructor, empty.
Main namespace of the precice library.
static std::unique_ptr< precice::Participant > impl