#include <Zero.h>
Public Member Functions | |
Zero (string &args, const Parameters *p, const PDE &pde) throw (InitCond::Exception&) | |
Creates initial condition. | |
Protected Member Functions | |
void | init (PDE *pde, GReal_t x, FieldWrapper &phi) throw (InitCond::Exception&) |
Initializes the grid at the specified point. |
gridripper::amr1d::initcond::Zero::Zero | ( | string & | args, | |
const Parameters * | p, | |||
const PDE & | pde | |||
) | throw (InitCond::Exception&) [inline] |
void gridripper::amr1d::initcond::Zero::init | ( | PDE * | pde, | |
GReal_t | x, | |||
FieldWrapper & | phi | |||
) | throw (InitCond::Exception&) [protected, virtual] |
Initializes the grid at the specified point.
pde | the PDE | |
x | the x coordinate | |
phi | output array for the field values |
Implements gridripper::amr1d::FuncInitCond.