MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / ~TimeStepPBF

Method ~TimeStepPBF

SPlisHSPlasH/PBF/TimeStepPBF.cpp:48–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48TimeStepPBF::~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
60void TimeStepPBF::initParameters()
61{

Callers

nothing calls this directly

Calls 3

numberOfFluidModelsMethod · 0.80
getFluidModelMethod · 0.80
removeFieldByNameMethod · 0.80

Tested by

no test coverage detected