85433e8bd1
use true/false instead of 1/0 detected and changed by clang-tidy
2021-10-20 12:41:02 -04:00
09c19a936b
update URLs in source code and manual
2021-05-24 14:18:20 -04:00
d1941392d3
disable clang-format for all existing .cpp files (for now)
2021-05-05 23:53:38 -04:00
adf74b3a22
use https://lammps.sandia.gov based URLs consistently
2020-10-21 16:45:30 -04:00
cebf6d33ba
Merge pull request #2358 from eagunn/iss2345
...
Replace instances of NULL with nullptr
2020-09-15 17:41:24 -04:00
0183e999c9
consistently return "memory_usage" as double.
2020-09-15 01:59:58 -04:00
f1ef7d85a8
T2345: Replace instances of NULL with nullptr
...
The following changes have been applied to src and lib folders:
regex replace: ([^"_])NULL ⇒ \1nullptr (8968 chgs in src, 1153 in lib)
Manually find/change: (void \*) nullptr ⇒ nullptr (1 case)
regex find: ".*?nullptr.*?"
Manually ~14 cases back to "NULL" in src, ~2 in lib
regex finds a few false positive where nullptr appears between two
strings in a function call
2020-09-12 09:34:38 -06:00
a4a1f7e848
more IWYU cleanup
2020-09-02 23:49:17 -04:00
2e6850835f
Merge pull request #1542 from akohlmey/improve-include-consistency
...
Improve Consistency of Include Statements (mostly complete)
2019-07-29 20:12:41 -04:00
cb9facea8b
add reset of dotmark
2019-07-24 13:43:12 -06:00
9239c9dedb
patch niche rcb issue
2019-07-19 17:13:44 -06:00
ce6fa0118a
continuing to clean up include file lists
2019-07-04 08:39:17 -04:00
256531a29a
put implementation header first for all remaining main folder source files
2019-07-03 19:34:13 -04:00
76900b8325
avoids the possibility of undefined behavior with memcpy having the same source and destination arrays; this is not every instance of this issue in the source code
2019-05-31 11:53:58 -06:00
71bc72ec13
formatting: add additional space to avoid bad syntax highlights
2018-08-27 22:13:43 -04:00
e9bc939098
Fix more unused parameter warnings ( #1076 )
2018-08-23 12:22:44 -06:00
d5594350c4
change zero-size shrink box to original box
2018-08-09 08:50:11 -06:00
d10a470245
second try to implement changes suggested in issue #888
...
In src/rcb.cpp:460 there is an if (smaller > largest).
now if we have one particle you will see that lo[] = hi[] and because
of this smaller == largest == 0 for all values of dim. This causes
this particular part of the code to never be run. In particular the
memcpy inside this if is never executed. This causes an unitialized
memory access in line 472. Additionally, dim is initialized with -1
and thus the accesses in 484 and 485 are problematic. Additionally,
valuehalf_select is never initialized either.
closes #888
2018-05-23 16:05:32 -04:00
e4071d7f46
replace C-style include files with their C++ equivalents
2018-04-27 18:00:24 -04:00
ee862d8bf5
replace leading tabs
2018-03-16 12:34:33 -04:00
51a06334ad
avoid invalid calls to memcpy(): when ndot == 0, pointers may be NULL
2017-07-26 12:08:42 -04:00
4a90bca7a3
patch 17Mar17
2017-03-17 11:29:23 -06:00
f871ecdc67
change to RCB cuts in load-balancing commands, also a new option for fix halt
2017-03-10 15:55:07 -07:00
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
047be536bc
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13983 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-09-02 20:39:55 +00:00
aeb7fec23a
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12814 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-12-02 02:15:39 +00:00
4ea728dc80
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12348 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-08-25 16:01:17 +00:00
9947eb748f
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12281 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-08-07 16:00:15 +00:00
cbed68e0e6
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12249 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-08-04 23:51:41 +00:00
4fbebcc31d
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12240 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-08-01 21:06:10 +00:00
5ac9e9a785
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12239 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-08-01 19:15:50 +00:00
7cd0d58e85
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12221 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-07-29 15:29:09 +00:00
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