KASKADE 7 development version
Classes | Namespaces | Functions
sdc_euler.hh File Reference
#include <algorithm>
#include <functional>
#include <vector>
#include "timestepping/sdc.hh"
#include "fem/fixdune.hh"

Go to the source code of this file.

Classes

class  Kaskade::EulerSDC< Vector, TimeGrid >
 Base class to perform SDC iterations based on forward Euler method. Total iterations performed depends on the value set for variable maxSDCiterations. More...
 

Namespaces

namespace  Kaskade
 
 

Functions

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...