how to specify the typat when the number of atoms is big

Total energy, geometry optimization, DFT+U, spin....

Moderator: bguster

Locked
raff
Posts: 23
Joined: Thu Oct 07, 2010 4:58 pm

how to specify the typat when the number of atoms is big

Post by raff » Thu Oct 07, 2010 5:21 pm

Hi. I'm a new user of abinit. I want to do a calculation in unit cells of
more than 150 atoms. then I want to know if there are an alternative way
to put the typat or I have to put one by one.
thanks very much

david.waroquiers
Posts: 138
Joined: Sat Aug 15, 2009 12:45 am

Re: how to specify the typat when the number of atoms is big

Post by david.waroquiers » Thu Oct 07, 2010 10:59 pm

Hello,

You can use the star (*) in this way :

Instead of typing

typat 1 1 1 1 1 2 2 2

You can type

typat 5*1 3*2

meaning that you have 5 atoms of type 1 and 3 atoms of type 2.
Of course you have to group the atoms of the same type to use this trick...

David

raff
Posts: 23
Joined: Thu Oct 07, 2010 4:58 pm

Re: how to specify the typat when the number of atoms is big

Post by raff » Fri Oct 08, 2010 4:56 pm

thanks david!!!

mverstra
Posts: 655
Joined: Wed Aug 19, 2009 12:01 pm

Re: how to specify the typat when the number of atoms is big

Post by mverstra » Mon Oct 11, 2010 12:10 pm

Other possibility is to use an xyz file:

http://www.abinit.org/documentation/hel ... ml#xyzfile
Matthieu Verstraete
University of Liege, Belgium

Locked