KASKADE 7 development version
|
#include <workModel.hh>
Definition at line 120 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 | |
Iteration (field_type tol_, std::vector< Vector > const &y0_, std::vector< Vector > const &y1_, Norm &norm_, Utils &util_, RealVector const &timePts_, RealMatrix const &integrationMatrix_, field_type tolNewton_, int maxIterNewton_, field_type rhoit_, int mmin_) | |
field_type | computeCost (std::vector< Vector > const &yPrev, std::vector< Vector > const &yCurrent, std::vector< Vector > const &yNext, RealMatrix const &tolMat) |
field_type | getIterJ (std::vector< Vector > const &yPrev, std::vector< Vector > const &yCurrent, std::vector< Vector > const &yNext, field_type rho) |
virtual RealMatrix const & | computeLocalTolerances (std::vector< Vector > const &yPrev, std::vector< Vector > const &yCurrent, std::vector< Vector > const &yNext) |
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) |
virtual | ~Iteration () |
Static Public Member Functions | |
static field_type | f (std::vector< Vector > const &yPrev, std::vector< Vector > const &yCurrent, std::vector< Vector > const &yNext, double rho) |
using Kaskade::Iteration< Vector, Norm, Utils >::field_type = typename Vector::value_type |
Definition at line 123 of file workModel.hh.
using Kaskade::Iteration< Vector, Norm, Utils >::RealMatrix = Dune::DynamicMatrix<double> |
Definition at line 125 of file workModel.hh.
using Kaskade::Iteration< Vector, Norm, Utils >::RealVector = Dune::DynamicVector<double> |
Definition at line 124 of file workModel.hh.
Kaskade::Iteration< Vector, Norm, Utils >::Iteration | ( | field_type | tol_, |
std::vector< Vector > const & | y0_, | ||
std::vector< Vector > const & | y1_, | ||
Norm & | norm_, | ||
Utils & | util_, | ||
RealVector const & | timePts_, | ||
RealMatrix const & | integrationMatrix_, | ||
field_type | tolNewton_, | ||
int | maxIterNewton_, | ||
field_type | rhoit_, | ||
int | mmin_ | ||
) |
Definition at line 391 of file workModel.hh.
|
inlinevirtual |
Definition at line 215 of file workModel.hh.
Vector::value_type Kaskade::Iteration< Vector, Norm, Utils >::computeCost | ( | std::vector< Vector > const & | yPrev, |
std::vector< Vector > const & | yCurrent, | ||
std::vector< Vector > const & | yNext, | ||
RealMatrix const & | tolMat | ||
) |
yPrev | |
yCurrent | |
yNext | |
tolMat |
Definition at line 408 of file workModel.hh.
Referenced by Kaskade::EulerSDC< Vector, Norm, Utils, TimeGrid >::integrate().
|
inlinevirtual |
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. |
Implements Kaskade::WorkModel< Vector, Norm, Utils >.
Definition at line 167 of file workModel.hh.
Referenced by Kaskade::EulerSDC< Vector, Norm, Utils, TimeGrid >::integrate().
|
inlinestatic |
Definition at line 205 of file workModel.hh.
Vector::value_type Kaskade::Iteration< Vector, Norm, Utils >::getIterJ | ( | std::vector< Vector > const & | yPrev, |
std::vector< Vector > const & | yCurrent, | ||
std::vector< Vector > const & | yNext, | ||
field_type | rho | ||
) |
yPrev | |
yCurrent | |
yNext | |
rho |
Definition at line 438 of file workModel.hh.
Referenced by Kaskade::Iteration< Vector, Norm, Utils >::computeLocalTolerances(), and Kaskade::EulerSDC< Vector, Norm, Utils, TimeGrid >::integrate().
|
inlinevirtual |
yPrev | |
yCurrent | |
rho |
Implements Kaskade::WorkModel< Vector, Norm, Utils >.
Definition at line 194 of file workModel.hh.