Page 1 of 1

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

Posted: Thu Oct 07, 2010 5:21 pm
by raff
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

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

Posted: Thu Oct 07, 2010 10:59 pm
by david.waroquiers
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

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

Posted: Fri Oct 08, 2010 4:56 pm
by raff
thanks david!!!

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

Posted: Mon Oct 11, 2010 12:10 pm
by mverstra
Other possibility is to use an xyz file:

http://www.abinit.org/documentation/hel ... ml#xyzfile