Re: [gmx-users] Non-zero total charge and Floating Point Arithmetic

2017-02-14 Thread Justin Lemkul



On 2/14/17 3:37 AM, Мижээ Батсайхан wrote:

Dear gmx users,

I got following note. Please advice me? I checked all topologies in my
system, but I could not find floating point.

NOTE 1 [file topol.top, line 36]:
  System has non-zero total charge: -14.97
  Total charge should normally be an integer. See
  http://www.gromacs.org/Documentation/Floating_Point_Arithmetic
  for discussion on how close it should be to an integer.



This is the textbook example of what that page describes.  The total charge is 
the sum of a large number of floating-point values.  So there is a small 
rounding error.  Your system clearly has a net charge of -15.


-Justin

--
==

Justin A. Lemkul, Ph.D.
Ruth L. Kirschstein NRSA Postdoctoral Fellow

Department of Pharmaceutical Sciences
School of Pharmacy
Health Sciences Facility II, Room 629
University of Maryland, Baltimore
20 Penn St.
Baltimore, MD 21201

jalem...@outerbanks.umaryland.edu | (410) 706-7441
http://mackerell.umaryland.edu/~jalemkul

==
--
Gromacs Users mailing list

* Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!

* Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

* For (un)subscribe requests visit
https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a 
mail to gmx-users-requ...@gromacs.org.

[gmx-users] Non-zero total charge and Floating Point Arithmetic

2017-02-14 Thread Мижээ Батсайхан
Dear gmx users,

I got following note. Please advice me? I checked all topologies in my
system, but I could not find floating point.

NOTE 1 [file topol.top, line 36]:
  System has non-zero total charge: -14.97
  Total charge should normally be an integer. See
  http://www.gromacs.org/Documentation/Floating_Point_Arithmetic
  for discussion on how close it should be to an integer.


Miji
-- 
Gromacs Users mailing list

* Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!

* Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

* For (un)subscribe requests visit
https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a 
mail to gmx-users-requ...@gromacs.org.