Feature #18

Updated by herck over 8 years ago


It would be nice to hide axis&index business of OutputData structure (still but being able to use it) and have something like

OutputData<FresnelCoeff_t > *myOutput = new OutputData<FresnelCoeff_t>
myOutput->addAxis("alpha",0.0,180.0,10);
myOutput->addAxis("index",0,1,2);
myOutput->rewind();
while(myOutput.next()) {
double alpha = output->getAxis(0)->currentValue();
int index = output->getAxis(1)->currentValue();

FresnelCoeff_t coeff = output->currentValue();
}

myOutput.reset(); // to clear structure from data
myOutput.clear(); // to clear structure from data and axes

Back