adaptations in electronic structure calculations in heterogeneous environments