Monte Carlo simulations, supplemented by ab initio calculations, shed light
into the energetics and thermodynamic stability of nanostructured amorphous
carbon. The interaction of the embedded nanocrystals with the host amorphous
matrix is shown to determine in a large degree the stability and the relative
energy differences among carbon phases. Diamonds are stable structures in
matrices with sp^3 fraction over 60%. Schwarzites are stable in low-coordinated
networks. Other sp^2-bonded structures are metastable.Comment: 11 pages, 7 figure