| 46 | } |
| 47 | |
| 48 | TimeStepPBF::~TimeStepPBF(void) |
| 49 | { |
| 50 | Simulation *sim = Simulation::getCurrent(); |
| 51 | const unsigned int nModels = sim->numberOfFluidModels(); |
| 52 | for (unsigned int fluidModelIndex = 0; fluidModelIndex < nModels; fluidModelIndex++) |
| 53 | { |
| 54 | FluidModel *model = sim->getFluidModel(fluidModelIndex); |
| 55 | model->removeFieldByName("lambda"); |
| 56 | model->removeFieldByName("deltaX"); |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | void TimeStepPBF::initParameters() |
| 61 | { |
nothing calls this directly
no test coverage detected