# Jobname
jobname  Mg_ggapbe_paw_002

# Atom number & Electron configuration
#   (calc_type : nonrel, srel, rel)
#   (spin_type : restricted, polarized)
atom_number      12   12.0
electron_config   6   srel  restricted
    1s   2.0   1
    2s   2.0   1
    2p   6.0   1
    3s   2.0   1
    3p   0.0   1
    3d   0.0   0

# Exchange-correlation potential 
#   (xc_type : ldapz81, ldapw91, ggapbe, xlda, none)
xc_potential   ggapbe

# Pseudopotential (pp_type : nc, general, none)
pseudo_potential   nc
   local     special   polynomial
             rcut      2.50
             vcut      0.00
   orbitals   3
    3s       2.50
    3p       2.50
    3d       2.50

# Core correction
core_correction  pcc  polynomial
   rcut        1.40
   np           4
   gmesh       400   9.0d0  40.0d0

# Solve PP spin 
solve_pp_spin
   spin  polarized  0.0
   mix  0.3

# PAW
sw_paw     1

# End of input data
end

