KASKADE 7 development version
|
Abstract base class for different work models. More...
#include <workModel.hh>
Abstract base class for different work models.
This class represents a generic base class for an arbitrary work model
Abstract base class WorkModel which provides an interface for different kinds of work models for computation of the cost function, maximum number of iterations and local tolerances.
Definition at line 72 of file workModel.hh.
Public Types | |
using | field_type = typename Vector::value_type |
using | RealVector = Dune::DynamicVector< double > |
using | RealMatrix = Dune::DynamicMatrix< double > |
Public Member Functions | |
virtual RealMatrix const & | computeLocalTolerances (std::vector< Vector > const &yPrev, std::vector< Vector > const &yCurrent, std::vector< Vector > const &yNext)=0 |
Pure virtual function implemented in derived classes for different work models. Computes the local tolerances for every time point and every iteration step given global tolerance. More... | |
virtual field_type | lowerBoundIterJ (std::vector< Vector > const &yPrev, std::vector< Vector > const &yCurrent, field_type rho)=0 |
virtual | ~WorkModel () |
using Kaskade::WorkModel< Vector, Norm, Utils >::field_type = typename Vector::value_type |
Definition at line 75 of file workModel.hh.
using Kaskade::WorkModel< Vector, Norm, Utils >::RealMatrix = Dune::DynamicMatrix<double> |
Definition at line 77 of file workModel.hh.
using Kaskade::WorkModel< Vector, Norm, Utils >::RealVector = Dune::DynamicVector<double> |
Definition at line 76 of file workModel.hh.
|
inlinevirtual |
Definition at line 112 of file workModel.hh.
|
pure virtual |
Pure virtual function implemented in derived classes for different work models. Computes the local tolerances for every time point and every iteration step given global tolerance.
yPrev | An (i-1)-th iterative approximation to the solution using sdc Iteration step. |
yCurrent | An i-th iterative approximation to the solution using sdc Iteration step. |
yNext | An (i+1)-th iterative approximation to the solution using sdc Iteration step. |
Implemented in Kaskade::Iteration< Vector, Norm, Utils >, and Kaskade::FiniteElementDiscretization< Vector, Norm, Utils >.
|
pure virtual |
yPrev | |
yCurrent | |
rho |
Implemented in Kaskade::Iteration< Vector, Norm, Utils >, and Kaskade::FiniteElementDiscretization< Vector, Norm, Utils >.