Attachment 'Fe-ferro.py'

Download

   1 from Dacapo import Dacapo
   2 from ASE import Atom, ListOfAtoms
   3 ########################################
   4 #This script must run so that the reduced number of k-points divided by the numer of nodes equals an integer. This i due to the PDOS calculation
   5 ########################################
   6 
   7 a = 2.87
   8 bulk = ListOfAtoms([Atom('Fe', (0,   0,   0),   magmom=?),
   9                     Atom('Fe', (a/2, a/2, a/2), magmom=?)],
  10                    cell=(a, a, a))
  11 ##############################
  12 #Set up the calculator
  13 ##############################
  14 calc = Dacapo(spinpol=True,
  15               kpts=(8, 8, 8),
  16               planewavecutoff=300,
  17               densitycutoff=500,
  18               nbands=?,
  19               usesymm=True,
  20               out='ferro.nc',
  21               txtout='ferro.txt')
  22 
  23 calc.CalculateAtomicDOS()
  24 
  25 bulk.SetCalculator(calc)
  26 
  27 print bulk.GetPotentialEnergy()

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2007-01-26 13:09:42, 0.8 KB) [[attachment:Fe-ferro.py]]
  • [get | view] (2006-02-02 12:16:15, 0.8 KB) [[attachment:H2O_vib.py]]
  • [get | view] (2007-02-20 13:13:49, 0.6 KB) [[attachment:LDOS.py]]
  • [get | view] (2007-03-14 13:57:46, 1.3 KB) [[attachment:VTKplotwavefunction.py]]
  • [get | view] (2006-02-02 14:33:52, 1.1 KB) [[attachment:dos.py]]
  • [get | view] (2007-02-20 15:04:44, 1.4 KB) [[attachment:localmagmoment.py]]
  • [get | view] (2007-03-14 13:54:20, 0.7 KB) [[attachment:plotwavefunction.py]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.