| 28 | } |
| 29 | |
| 30 | double IntegrationTestFramework::getEnergy(DataDescription const& data) const |
| 31 | { |
| 32 | double result = 0; |
| 33 | for (auto const& cell : data.cells) { |
| 34 | result += cell.energy; |
| 35 | } |
| 36 | for (auto const& particle : data.particles) { |
| 37 | result += particle.energy; |
| 38 | } |
| 39 | return result; |
| 40 | } |
| 41 | |
| 42 | std::unordered_map<uint64_t, CellDescription> IntegrationTestFramework::getCellById(DataDescription const& data) const |
| 43 | { |
nothing calls this directly
no outgoing calls
no test coverage detected