triple product of basis vectors

Problems running VASP: crashes, internal errors, "wrong" results.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
ccfisch
Newbie
Newbie
Posts: 2
Joined: Wed Oct 20, 2004 4:57 am
License Nr.: 5, upgraded to paw
Location: Cambridge, MA

triple product of basis vectors

#1 Post by ccfisch » Wed Sep 03, 2008 11:45 pm

Dear vaspmaster,

I don't understand the following section of code in the subroutine RD_POSCAR_HEAD in poscar.F

73 CALL LATTIC(LATT_CUR)
74
75 IF (LATT_CUR%OMEGA<0) THEN
76 IF (IU0>=0) &
77 WRITE(IU0,*)'ERROR: the triple product of the basis vectors ', &
78 & 'is negative exchange two basis vectors'
79 STOP
80 ENDIF
81

is there a physical reason why the triple product needs to be positive or is this just a convention ?

Thanks !
Last edited by ccfisch on Wed Sep 03, 2008 11:45 pm, edited 1 time in total.

admin
Administrator
Administrator
Posts: 2921
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

triple product of basis vectors

#2 Post by admin » Thu Sep 04, 2008 8:30 am

according to the conventions of crystallography, the lattice vectors have span the lattice according to the right-hand-rule.
Last edited by admin on Thu Sep 04, 2008 8:30 am, edited 1 time in total.

Post Reply