Discontinuous Galerkin Library
#include "dg/algorithm.h"
adaptive.h File Reference
#include "backend/memory.h"
#include "ode.h"
#include "runge_kutta.h"

Go to the source code of this file.

Classes

struct  dg::Adaptive< Stepper >
 Driver class for adaptive timestep ODE integration. More...
 
struct  dg::EntireDomain
 The domain that contains all points. More...
 
struct  dg::AdaptiveTimeloop< ContainerType >
 Integrate using a while loop. More...
 

Namespaces

namespace  dg
 This is the namespace for all functions and classes defined and used by the discontinuous Galerkin library.
 

Variables

static auto dg::l2norm = [] ( const auto& x){ return sqrt( dg::blas1::dot(x,x));}
 Compute \( \sqrt{\sum_i x_i^2}\) using dg::blas1::dot. More...
 
static auto dg::fast_l2norm
 Compute \( \sqrt{\sum_i x_i^2}\) using naive summation. More...
 
static auto dg::i_control
 \( h_{n+1}= h_n \epsilon_n^{-1/p}\) More...
 
static auto dg::pi_control
 \( h_{n+1}= h_n \epsilon_n^{-0.8/p}\epsilon_{n-1}^{0.31/p}\) More...
 
static auto dg::pid_control
 \( h_{n+1}= h_n \epsilon_n^{-0.58/p}\epsilon_{n-1}^{0.21/p}\epsilon_{n-2}^{-0.1/p}\) More...
 
static auto dg::ex_control
 \( h_{n+1} = h_n \epsilon_n^{-0.367/p}(\epsilon_n/\epsilon_{n-1})^{0.268/p} \) More...
 
static auto dg::im_control
 \( h_{n+1} = h_n (h_n/h_{n-1}) \epsilon_n^{-0.98/p}(\epsilon_n/\epsilon_{n-1})^{-0.95/p} \) More...
 
static auto dg::imex_control
 h_{n+1} = |ex_control| < |im_control| ? ex_control : im_control More...