Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] Definition of rprim

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] Definition of rprim


Chronological Thread 
  • From: "Adam Sorini" <asorini@gmail.com>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] Definition of rprim
  • Date: Mon, 20 Oct 2008 15:28:17 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=pTA/l8rpfrLKzuIIJKqi/6c95NegTvhNKWYywSWYArZQi2Ctscc2i5TV82tb3uvx5b Z6B9Il7LYrqH45MVdPGlRlu6JJSfYVGVaImOgMGKzW65kbuFRbOhKlruTJrVd5Qubcna OaukbUcwUHgVcImZ7+4e7jNCIIVA9Pnq8UoDk=

It's my understanding that

rprim a b c
        d e f
        g h i

mean that the primative vectors are R1 = (a,b,c), R2 = (d,e,f), R3 = (g,h,i) and the matrix rprim(i,j) is
rprim(i,j) = Rj(i)

So, I think that's what they mean by "columnwise". Just that the first index of array rprim(i,j) gives the components of the primative lattice vector. The use of the word "columnwise" in the first sentence of the description of the basic input variable rprim then appears to be a mistake since we don't write the vectors in the input file "columnwise". Cheers,

Adam

On Mon, Oct 20, 2008 at 2:17 PM, Anindya Roy <royanin@gmail.com> wrote:
Hi all,

I'm having a little trouble to interpret the basic definition of
'rprim' as stated in documentation of version 5.5.4 (and similar
ones): rprim is defined to be  "...in columnwise entry, the three
dimensionless primitive translations in real space."

Later the example given for hexagonal lattice:

"rprim  0.86602540378  0.5  0.0
     -0.86602540378  0.5  0.0
      0.0            0.0  1.0

that can be avoided thanks to angdeg:

angdeg 90 90 120
"

It looks to me that new basis vectors are in row wise entry, rather
than column wise.

So if we assume that the new vector R_1 is [rprim(11)\hat{x} +
rprim(12) \hat{y} + rprim(13) \hat{z}] , then it's internally
consistent how xred and xcart are converted among themselves. Am I
missing something obvious? Your thought will be greatly appreciated.

Thanks,
Anindya Roy
Graduate student
Rutgers University, USA




Archive powered by MHonArc 2.6.15.

Top of Page