Hi Prof Gale,
I am attaching 2 sets of test inputs. In gulp_1.gin, I have used a 3d periodic system with a ‘long enough’ cell parameter C (if say z coords range from 8 to 11, C is taken to be 50). In gulp_2.gin, I have a 2d periodic system with z in angs and x and y in frac. I have done single-point energy calc for both.
I have also done a similar calculation in lammps with a 2d periodic system. On matching, the energies from gulp_2.gin and lammps match. However, the value from gulp_1.gin is far from it.
How do I use a 3d periodic setup (cell, fractional) in representing a 2d setup? I thought a long enough Z/C would do the trick.
Regards,
Nandana
gulp_1.gin (1.2 KB)
gulp_2.gin (1.2 KB)