Calculation of nucleus–nucleus cross sections at intermediate energies using Glauber theory