A theoretical study on the structural and physical properties of the ground-state CaC