# Import the KohnSham module from ATK from ATK.KohnSham import * # Set up elements and positions elm = [ Oxygen, Hydrogen, Hydrogen ] pos = [ ( 0.000, 0.000, 0.0)*Angstrom, ( 0.757, 0.586, 0.0)*Angstrom, (-0.757, 0.586, 0.0)*Angstrom ] # Add them to a configuration h2o = MoleculeConfiguration(elm,pos) # Print the coordinates of the individual atoms for coord in h2o.cartesianCoordinates(): for c in coord: print c.inUnitsOf(Angstrom), print