| 131 | } |
| 132 | |
| 133 | int 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 | |
| 142 | DataDescription::DataDescription(ClusteredDataDescription const& clusteredData) |
| 143 | { |