Print out DOFs.