Import Geant4 11.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2022-12-09 14:43:28 +01:00
parent c07cea1fe0
commit 9f34590941
3810 changed files with 200490 additions and 182326 deletions
@@ -42,7 +42,7 @@ G4DNAMesh::Voxel& G4DNAMesh::GetVoxel(const Index& key)
Data mapList;
G4DNAMesh::Voxel& voxel =
fVoxelVector.emplace_back(std::make_tuple(key, box, std::move(mapList)));
fIndexMap[key] = fVoxelVector.size() - 1;
fIndexMap[key] = G4int(fVoxelVector.size() - 1);
return voxel;
}
else
@@ -233,4 +233,4 @@ G4VDNAMesh::Index G4DNAMesh::ConvertIndex(const Index& index,
exceptionDescription);
}
return Index{ dx, dy, dz };
}
}