LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] Data communication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] Data communication


From: Andrew Jewett <jewett@...1937...>
Date: Tue, 28 Nov 2017 21:57:04 -0800

I don't know if this answers your question, but atom positions, velocities, and forces in LAMMPS are represented using 64bit doubles.  (Check out "atom.h".  If you grep " float " *.h in the LAMMPS' "src/" directory, you'll see a few places where single precision floats are used, but that code seems to be specific for the calculation of long-range electrostatic interactions.)

Cheers
Andrew

On Tue, Nov 28, 2017 at 9:07 PM, Notan Tah <tahnotan@...24...> wrote:
Dear user,
                 I have an query about data communication in lammps.  In lammps code data communication did in single precession or double precession?
Thanks in advance for your time and consideration.

Thanks
Notan

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
lammps-users mailing list
lammps-users@...6297....sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lammps-users