#include <Dissipation.h>

Public Member Functions | |
| O6Dissipation (const PDE &pde, int level) | |
| Creates sixth order dissipation operator. | |
| void | addDissipation (const Grid &g, const PDE *pde, int i, tvalarray< GReal_t > &dfdt, int exclude) throw (IllegalArgumentException&) |
| Adds sixth order dissipation term. | |
| string | toString () const |
| Gets a string representation. | |
(For fourth order numerical methods.)
| void gridripper::amr1d::O6Dissipation::addDissipation | ( | const Grid & | g, | |
| const PDE * | pde, | |||
| int | i, | |||
| tvalarray< GReal_t > & | dfdt, | |||
| int | exclude | |||
| ) | throw (IllegalArgumentException&) [virtual] |
Adds sixth order dissipation term.
sigma*f''''''*dx^5 = sigma*(f0 - 6*f1 + 15*f2 - 20*f3 + 15*f4 - 6*f5 + f6)/dx
| g | the grid | |
| pde | the PDE | |
| i | the grid point index | |
| dfdt | add the dissipation term to this time derivative | |
| exclude | binary flags corresponding to constant field components for which the dissipation term must NOT be added |
Implements gridripper::amr1d::Dissipation.
| string gridripper::amr1d::O6Dissipation::toString | ( | ) | const [inline, virtual] |
1.5.6