#include <algorithm>
#include <functional>
#include <vector>
#include "timestepping/sdc.hh"
#include "fem/fixdune.hh"
Go to the source code of this file.
|
template<class Vector > |
Vector::field_type | Kaskade::maxNorm (std::vector< Vector > const &values) |
| A function to compute the partial \(\max-\)norm or \(L^{\infty}-\)norm of a vector of vectors. If \(\mathbf{x}\) denotes a vector of vectors, where \(\mathbf{x} = \{ \mathbf{x_1},\ldots , \mathbf{x_n}\}^{T}\), then \(\| \mathbf{x} \|_{\infty} = \max_{1 \leq i \leq N} \|\mathbf{x_i}\|$\f. Here the norm \)|.| \( is some arbitrary norm and
in the current template function it is implemented as a \)\max- \(norm.
\tparam Vector, a vector type, usually Dune::DenseVector
\param[in]values a vector of vectors.
\return the \)\infty-. More...
|
|
template<class Vector > |
Vector::field_type | Kaskade::sdcExEulerIterationStep (Kaskade::SDCTimeGrid const &grid, std::vector< Vector > &yi, std::vector< Vector > &dyi, std::function< Vector(typename Vector::field_type, Vector const &)> rhsFunc, std::function< typename Vector::field_type(std::vector< Vector > const &)> normFunc, bool verbose=false) |
| A single spectral defect correction iteration sweep based on explicit Euler method. More...
|
|