MCPcopy Create free account
hub / github.com/Geant4/geant4 / ScaleVector

Method ScaleVector

source/global/management/src/G4PhysicsVector.cc:216–225  ·  view source on GitHub ↗

--------------------------------------------------------------------

Source from the content-addressed store, hash-verified

214
215// --------------------------------------------------------------------
216void G4PhysicsVector::ScaleVector(const G4double factorE,
217 const G4double factorV)
218{
219 for (std::size_t i = 0; i < numberOfNodes; ++i)
220 {
221 binVector[i] *= factorE;
222 dataVector[i] *= factorV;
223 }
224 Initialise();
225}
226
227// --------------------------------------------------------------------
228void G4PhysicsVector::FillSecondDerivatives(const G4SplineType stype,

Callers 15

BuildPhysicsVectorMethod · 0.45
ReadDataMethod · 0.45
RetrieveMethod · 0.45
ReadMaterialDataMethod · 0.45
ReadElementDataMethod · 0.45
ReadDataMethod · 0.45
ReadDataMethod · 0.45
ReadDataMethod · 0.45
ReadDataMethod · 0.45
ReadDataMethod · 0.45
LinearInterpolationMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected