|
Fluid Dynamics Library
|
Semi-Lagrangian stepper using velocity of type MACBase::Field_t. More...
#include <odestepper.hpp>
Public Member Functions | |
| ODEStepper (unsigned npts=1) | |
| void | setRule (stepper_T rule) |
| std::string | getRule () |
| void | setTolerance (scalar_t tol) |
| scalar_t | getTolerance () const |
| scalar_t | getError () const |
| Get error estimate from most recent (adaptive) step. | |
| void | resize (unsigned npts) |
| Re-allocate scratch space for system of npts particles. | |
| void | step (MACBase< scalar_t > *macGrid, unsigned npts, scalar_t &dt, const scalar_t x0[], scalar_t x1[]) |
| Main stepper routine: x1 is x0 at time -dt. | |
Protected Attributes | |
| stepper_T | rule_ |
| Integration rule. | |
| scalar_t | tol_ |
| Adaptive tolerance. | |
| scalar_t | err_ |
| Error estimate in adaptive routines. | |
| unsigned | npts_ |
| "Number of particles" allocated to scratch space. | |
| std::vector< scalar_t > | xtmp |
| std::vector< scalar_t > | k1 |
| std::vector< scalar_t > | k2 |
| std::vector< scalar_t > | k3 |
| std::vector< scalar_t > | k4 |
Semi-Lagrangian stepper using velocity of type MACBase::Field_t.
Definition at line 35 of file odestepper.hpp.
1.7.4