MCPcopy Create free account
hub / github.com/chrxh/alien / getNumberOfCellAndParticles

Method getNumberOfCellAndParticles

source/EngineInterface/Descriptions.cpp:133–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133int ClusteredDataDescription::getNumberOfCellAndParticles() const
134{
135 int result = static_cast<int>(particles.size());
136 for (auto const& cluster : clusters) {
137 result += static_cast<int>(cluster.cells.size());
138 }
139 return result;
140}
141
142DataDescription::DataDescription(ClusteredDataDescription const& clusteredData)
143{

Callers 1

processRequestMethod · 0.80

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected