848db31a77
reformat with clang-format
2021-08-02 15:25:01 -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
8541b0da3e
reduce compiler warnings by avoiding to redeclare variables so they shadow others
2021-04-23 15:35:45 -04:00
77402bdbc8
avoid overflows when computing memory offsets and allocating memory
2021-02-06 18:14:27 -05:00
95e2214d96
more typecasts to double to avoid 32-bit int overflows when computing memory usage
2021-02-04 14:35:38 -05:00
e2e6639013
add typecast to avoid (unlikely but possible) integer overflows.
...
this will silence a lot of static code analysis warnings
2021-02-02 17:27:04 -05:00
adf74b3a22
use https://lammps.sandia.gov based URLs consistently
2020-10-21 16:45:30 -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
6113169a47
IWYU based include statement cleanup
2020-09-02 17:39:34 -04:00
fcd0b9f78f
move Force::bounds() and Force::boundsbig() to utils.
2020-08-29 18:23:03 -04:00
5a2704efc2
ensure that local per-thread storage is completely cleared in hybrid styles.
2020-06-24 17:24:47 -04:00
3e39b8c62d
make sure class pointers are initialized to NULL and virial accumulator.
2020-06-24 17:23:20 -04:00
cad6293078
use new utils::sfread() utility function in several classes
2019-10-17 11:29:08 -04:00
9477df4244
Merge branch 'master' into improve-include-consistency
2019-07-26 17:24:32 -04:00
f86d2c9934
read/write settings in restart files for bonded hybrid styles
...
this allows to properly restart table styles, which require
additional settings unlike all other bonded styles.
2019-07-25 07:55:39 -04:00
7967cb1133
put implementation header first to avoid issues with mpi.h and lmptype.h with OpenMPI
2019-07-03 06:16:16 -04:00
378474c4e6
more include file cleanup suggested by IWYU
2019-06-28 02:07:18 -04:00
03099d6e54
some more include file consistency changes
2019-06-27 17:11:53 -04:00
ff2d8e55c9
use ev_init for bonds
2019-03-13 17:54:10 +01:00
5a4e44b75a
remove accidentally duplicated code
2018-11-12 20:27:21 -05:00
8e9d4f5bce
modify bond style hybrid, so it can handle bond style quartic as a sub-style
2018-11-12 16:06:55 -05:00
e4071d7f46
replace C-style include files with their C++ equivalents
2018-04-27 18:00:24 -04:00
f8506fee23
sync GHub with SVN
2017-01-26 14:06:43 -07:00
35753b8f08
add error location propagation to force->bounds() and force->boundsbig()
2016-10-26 15:53:02 -04: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
18a1c57b56
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12315 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-08-14 19:25:12 +00:00
0f6eb0877e
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12310 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-08-14 16:30:03 +00:00
0be82bdfa0
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9752 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2013-04-04 14:47:33 +00:00
744e2093fd
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9411 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2013-02-08 17:38:26 +00:00
f06d06671f
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8764 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2012-09-11 14:15:54 +00:00
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
1579654c97
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7042 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2011-10-06 18:36:32 +00:00
15203cb792
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7039 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2011-10-06 17:55:48 +00:00
19e8c92a90
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7003 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2011-09-23 18:06:55 +00:00
1f2a7add78
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5836 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2011-03-26 00:50:29 +00:00
fbb475b9cd
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5835 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2011-03-25 21:13:51 +00:00
63356f6abb
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4349 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2010-06-28 18:35:09 +00:00
b3ecdb2d14
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3728 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2010-01-19 00:04:58 +00:00
1a55f94e8a
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@64 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2006-10-03 17:52:58 +00:00
222c95507e
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@26 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2006-09-27 19:51:33 +00:00