Commit Graph

21 Commits

Author SHA1 Message Date
Axel Kohlmeyer e4e2342641
no need to include mpi.h in headers that include pointers.h (directly or indirectly) 2019-08-13 11:04:13 -04:00
Axel Kohlmeyer 11a3fd6ce4
Merge pull request #1556 from lammps/bug-maxexchange
more robust version of atom exchange size
2019-07-30 17:09:18 -04:00
Steve Plimpton 89af88bd10 more changes to robustify comm buf_send length 2019-07-10 08:41:27 -06:00
Axel Kohlmeyer 96744c4933
more include file cleanup 2019-06-30 15:53:17 -04:00
Steve Plimpton fc002e30d3
added rendezvous via all2all 2019-03-26 11:01:38 -04:00
Axel Kohlmeyer 218bc92c82 make pre-processor defines for using libc's qsort() consistent 2017-06-20 17:13:42 -04:00
Axel Kohlmeyer c1b0b1b3f9 restore old qsort() based code and add preprocessor directives to switch
-DLMP_USE_LIBC_QSORT will use qsort() from libc to sort (requires static/global variables).
-DLMP_USE_MERGE_SORT will use a plain merge sort. slightly slower for expensive comparisons.
-DLMP_USE_HYBRID_SORT will use hybrid merge sort. faster than merge sort (no static/global variables)
2017-06-16 18:17:48 -04:00
Axel Kohlmeyer 1f17e8ebbb remove need for static class member variables in Dump and Irregular
The dump and irregular classes were using qsort() from the C-library
for sorting lists through custom comparison functions, which required
access to additional data, which was passed via static class variables,
i.e. globals. This collides with having multiple LAMMPS instances in
the same address space.

the calls to qsort() are replaced with a custom merge sort, which passes
a void pointer to the comparison functions, which can contain any kind
of desired information, e.g. a class handle or a list
2017-06-14 23:10:53 -04:00
sjplimp 354e20f431 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14220 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2015-10-30 20:04:06 +00:00
sjplimp 7f8f2fd3ed git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12752 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-11-20 18:02:47 +00:00
sjplimp 7518fae9bc git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12641 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-10-21 17:09:24 +00:00
sjplimp 4455b66003 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12207 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-07-28 19:58:51 +00:00
sjplimp de0c8d1f14 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11946 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-05-08 14:51:32 +00:00
sjplimp e9d4b7a10d git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11689 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-04-03 14:57:27 +00:00
sjplimp 31bc11ee34 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8365 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-06-21 16:27:12 +00:00
sjplimp ef9e700545 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8226 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-06-06 22:47:51 +00:00
sjplimp d892afbf67 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7734 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-02-09 16:56:02 +00:00
sjplimp 891740f4a2 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7374 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2011-12-16 01:37:13 +00:00
sjplimp 09c391fb2d git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5793 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2011-03-16 20:03:49 +00:00
sjplimp ded8b22c19 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4795 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2010-09-15 22:16:20 +00:00
sjplimp cd163c2dcd git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4789 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2010-09-14 23:47:34 +00:00