Hi
My question is regarding periodic boundary condition
What would be the equations for PBC if my box's (cubic) origin is at the
corner instead of the center of the box. i.e all atom co-ordinates lie
within 0 to L rather that -L/2 to L/2.(L is the length of the box)
For the latter case (-L/2 to L/2) the PBC is written as (in fortran)
RX(I) = RX(I) - L*ANINT(RX(I)/L)
RY(I) = RY(I) - L*ANINT(RY(I)/L)
RZ(I) = RZ(I) - L*ANINT(RZ(I)/L)
Any help would be appreciated
Thanks and Regards,
Mayur M. Ostwal