#include <iwsamp.hh>
Public Member Functions | |
| IWaveSampler (IWAVE *state, string key, PARARRAY &pars, FILE *stream) | |
| main constructor: associates sampler with grid structure of file = value for key in pars. | |
| virtual | ~IWaveSampler () |
| int | getNumAxes () const |
| axis const & | getAxis (int i) const |
| ireal | getCellVol () const |
| ireal | getRecipCellVol () const |
| int const * | get_gmin () const |
| int const * | get_gmax () const |
| void | sample (grid g, IPNT step, IPNT gtype, bool fwd, bool input, IWAVE *state, int ridx, int iwdx, FILE *stream, bool dryrun=false, ostream &drystr=cerr) |
| main method - does far too much work in this version | |
Definition at line 17 of file iwsamp.hh.
main constructor: associates sampler with grid structure of file = value for key in pars.
Does not define sampling - that would require IOTASK defn, happens on call to sample
| virtual TSOpt::IWaveSampler::~IWaveSampler | ( | ) | [virtual] |
| axis const& TSOpt::IWaveSampler::getAxis | ( | int | i | ) | const |
| ireal TSOpt::IWaveSampler::getCellVol | ( | ) | const |
| ireal TSOpt::IWaveSampler::getRecipCellVol | ( | ) | const |
| void TSOpt::IWaveSampler::sample | ( | grid | g, | |
| IPNT | step, | |||
| IPNT | gtype, | |||
| bool | fwd, | |||
| bool | input, | |||
| IWAVE * | state, | |||
| int | ridx, | |||
| int | iwdx, | |||
| FILE * | stream, | |||
| bool | dryrun = false, |
|||
| ostream & | drystr = cerr | |||
| ) |
main method - does far too much work in this version
| g | = simulation grid | |
| step | = simulation step vector step[dim] is time step index | |
| gtype | = stagger index array - should be data of rarray | |
| fwd | = fwd/adj flag | |
| input | = set if input to simulation, else output | |
| state | = collection of rdoms defining simulation | |
| ridx | = rarray index within rdom | |
| iwdx | = rdom index within state | |
| stream | = verbose output |
1.4.7