93 if (aPoint != nEntries) {
94 G4cout <<
"G4InterpolationManager::AppendScheme - " << aPoint <<
" " << nEntries <<
G4endl;
96 "Wrong usage of G4InterpolationManager::AppendScheme");
105 else if (aScheme == scheme[nRanges - 1]) {
106 ++range[nRanges - 1];
113 auto buffer =
new G4int[nRanges];
114 auto buffer1 =
new G4int[nRanges];
116 for (i = 0; i < nRanges - 1; i++) {
117 buffer[i] = start[i];
118 buffer1[i] = range[i];
119 buff2[i] = scheme[i];
127 start[nRanges - 1] = start[nRanges - 2] + range[nRanges - 2];
128 range[nRanges - 1] = 1;
129 scheme[nRanges - 1] = aScheme;