| 113 | } |
| 114 | |
| 115 | void G4GeneralParticleSourceData::AddASource(G4double intensity) |
| 116 | { |
| 117 | currentSource = new G4SingleParticleSource(); |
| 118 | sourceVector.push_back(currentSource); |
| 119 | sourceIntensity.push_back(intensity); |
| 120 | currentSourceIdx = G4int(sourceVector.size() - 1); |
| 121 | normalised = false; |
| 122 | } |
| 123 | |
| 124 | void G4GeneralParticleSourceData::DeleteASource(G4int idx) |
| 125 | { |
no test coverage detected