1#ifndef DUNE_FEM_SOLVER_RUNGEKUTTA_BUTCHERTABLE_HH
2#define DUNE_FEM_SOLVER_RUNGEKUTTA_BUTCHERTABLE_HH
6#include <dune/common/dynmatrix.hh>
7#include <dune/common/dynvector.hh>
15 template<
class Field >
38 Dune::DynamicMatrix< FieldType >
A( m, n );
39 for(
int i = 0; i < m; ++i )
40 std::copy( data + i*n, data + (i+1)*n,
A[ i ].begin() );
46 Dune::DynamicVector< FieldType > v( n );
47 std::copy( data, data + n, v.begin() );
89 template<
class Field >
103 Dune::DynamicMatrix< FieldType >
B ()
const {
return Base::makeMatrix( stages_, stages_, a2_ ); }
Definition: multistep.hh:17
SimpleButcherTable< double > implicit34ButcherTable()
Definition: butchertable.cc:121
SimpleButcherTable< double > expl6ButcherTable()
Definition: butchertable.cc:76
SimpleButcherTable< double > semiImplicit33ButcherTable(bool expl)
Definition: butchertable.cc:256
SimpleButcherTable< double > implicitEulerButcherTable()
Definition: butchertable.cc:155
SimpleButcherTable< double > semiImplicitEulerButcherTable(bool expl)
Definition: butchertable.cc:190
SimpleButcherTable< double > explicitEulerButcherTable()
Definition: butchertable.cc:16
ROWSimpleButcherTable< double > row3ButcherTable()
Definition: butchertable.cc:371
SimpleButcherTable< double > implicit3ButcherTable()
Definition: butchertable.cc:141
SimpleButcherTable< double > tvd3ButcherTable()
Definition: butchertable.cc:43
SimpleButcherTable< double > semiImplicitARK34ButcherTable(bool expl)
SimpleButcherTable< double > tvd2ButcherTable()
Definition: butchertable.cc:29
SimpleButcherTable< double > semiImplicit23ButcherTable(bool expl)
Definition: butchertable.cc:221
SimpleButcherTable< double > semiImplicitIERK45ButcherTable(bool expl)
Definition: butchertable.cc:335
SimpleButcherTable< double > semiImplicitSSP222ButcherTable(bool expl)
Definition: butchertable.cc:286
ROWSimpleButcherTable< double > row2ButcherTable()
Definition: butchertable.cc:350
SimpleButcherTable< double > rk4ButcherTable()
Definition: butchertable.cc:58
SimpleButcherTable< double > gauss2ButcherTable()
Definition: butchertable.cc:170
SimpleButcherTable< double > semiImplicitARK46ButcherTable(bool expl)
Definition: butchertable.hh:17
Dune::DynamicMatrix< FieldType > A() const
Definition: butchertable.hh:28
static Dune::DynamicVector< FieldType > makeVector(int n, const FieldType *data)
Definition: butchertable.hh:44
const FieldType * b_
Definition: butchertable.hh:52
int order_
Definition: butchertable.hh:51
static Dune::DynamicMatrix< FieldType > makeMatrix(int m, int n, const FieldType *data)
Definition: butchertable.hh:36
const FieldType * a_
Definition: butchertable.hh:52
SimpleButcherTable(int stages, int order, const FieldType *a, const FieldType *b, const FieldType *c)
Definition: butchertable.hh:23
const FieldType * c_
Definition: butchertable.hh:52
Field FieldType
Definition: butchertable.hh:21
int order() const
Definition: butchertable.hh:32
Dune::DynamicVector< FieldType > b() const
Definition: butchertable.hh:29
int stages_
Definition: butchertable.hh:51
int stages() const
Definition: butchertable.hh:33
Dune::DynamicVector< FieldType > c() const
Definition: butchertable.hh:30
Definition: butchertable.hh:91
Dune::DynamicMatrix< FieldType > B() const
Definition: butchertable.hh:103
ROWSimpleButcherTable(int stages, int order, const FieldType *a, const FieldType *b, const FieldType *c, const FieldType *a2)
Definition: butchertable.hh:98
Field FieldType
Definition: butchertable.hh:96