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

Function readCurrentFrame

Tools/FoamGenerator/main.cpp:1002–1010  ·  view source on GitHub ↗

Read fluid particles of current frame. */

Source from the content-addressed store, hash-verified

1000/** Read fluid particles of current frame.
1001*/
1002bool readCurrentFrame()
1003{
1004 std::string fileName = convertFileName(input, currentFrame);
1005
1006 x0.clear();
1007 v0.clear();
1008 omega0.clear();
1009 return readParticles(fileName, x0, v0, omega0);
1010}
1011
1012void writeCurrentFrame()
1013{

Callers 2

queryValuesFunction · 0.85
generateFoamFilesFunction · 0.85

Calls 3

readParticlesFunction · 0.85
convertFileNameFunction · 0.70
clearMethod · 0.45

Tested by

no test coverage detected