MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / removeFieldByName

Method removeFieldByName

SPlisHSPlasH/FluidModel.cpp:700–710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

698}
699
700void FluidModel::removeFieldByName(const std::string &fieldName)
701{
702 for (auto it = m_fields.begin(); it != m_fields.end(); it++)
703 {
704 if (it->name == fieldName)
705 {
706 m_fields.erase(it);
707 break;
708 }
709 }
710}
711
712void SPH::FluidModel::saveState(BinaryFileWriter &binWriter)
713{

Callers 15

~TimeStepPFMethod · 0.80
~TimeStepWCSPHMethod · 0.80
~DebugToolsMethod · 0.80
~Elasticity_Kee2023Method · 0.80
~Elasticity_Peer2018Method · 0.80
~TimeStepDFSPHMethod · 0.80
~TimeStepPBFMethod · 0.80
~TimeStepIISPHMethod · 0.80
~Viscosity_Peer2016Method · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected