Ab initio or first principles calculations are any of a number of software packages making use of density functional theory to solve for the quantum mechanical state of a system.  Perfect crystals are an ideal subject for such calculations because of their high periodicity.  Since every simulation package will vary in the details of its algorithms and implementations, this page will focus on a methodological overview.