Commit Graph

42 Commits

Author SHA1 Message Date
cdc3e2bad9 refactor to use TabularFunction class shared with pair style bop 2021-05-04 22:26:56 -04:00
0b73ab96d2 avoid replicated code, consolidate variables and element mapping 2021-03-27 12:09:36 -04:00
be1fb12bfa convert use of per-style vec3_*() functions to use MathExtra:: functions 2021-01-15 16:13:13 -05:00
382ade15fe more consistent formatting of for/while loops and if statements 2020-12-30 09:09:08 -05:00
0876684780 energy/virial flags with CENTROID enum 2020-11-18 12:17:14 -07:00
adf74b3a22 use https://lammps.sandia.gov based URLs consistently 2020-10-21 16:45:30 -04:00
29a7d598ac update formatting style to be more consistent 2020-09-21 02:04:58 -04:00
1597cd5dcb T2345: After examining comments changed by batch conversion of NULL
to nullptr, I've corrected a small number where it seemed clear
that the previous NULL should have been either "NULL" (where the
code is looking for a string with that value),  or null char / null byte
(where the comment is talking about the char/byte that terminates
a c-style string).

Also changed 6 places where the batch change had changed 'NULL ptr'
to 'nullptr ptr'. Now they simply say 'nullptr'.
2020-09-12 09:34:39 -06: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
2e0af2fdce some more second pass cleanup 2020-09-04 00:46:23 -04:00
6113169a47 IWYU based include statement cleanup 2020-09-02 17:39:34 -04:00
a42c68892f address memory leak and C versus C++ programming issues in pair style polymorphic 2020-06-18 13:09:58 -04:00
2203e1e9e5 Change next_dvector(n, buf) to next_dvector(buf, n) 2020-06-05 16:40:14 -04:00
cd08dc8425 Simplify by using next_values() helper 2020-06-05 11:57:12 -04:00
636a1bffe3 Fix whitespace 2020-05-29 17:25:41 -04:00
8e1a6bc706 Update pair polymorphic 2020-05-29 16:12:19 -04:00
08d01e6417 import polymorphic pair style update from Xiaowang Zhou 2020-04-15 11:31:30 -04:00
fd9da6f934 make use of utils::sfgets() in a few more places 2019-10-19 13:26:55 -04:00
35e2401099 clean up includes in MANYBODY package 2019-07-07 03:56:44 -04:00
416911aa7e more rearranging of include file order to put implementation headers first 2019-07-03 21:57:39 -04:00
06a57dd659 use ev_unset for all pair styles 2019-03-13 17:49:16 +01:00
9c27548a5c more replacing of sprintf() with snprintf() 2018-09-06 10:45:48 -04:00
92a4dc25b1 Fix unused params in packages (#1076) 2018-08-24 10:42:08 -06:00
e4071d7f46 replace C-style include files with their C++ equivalents 2018-04-27 18:00:24 -04:00
59dbb49cf9 remove trailing whitespace 2018-03-16 12:37:27 -04:00
ee862d8bf5 replace leading tabs 2018-03-16 12:34:33 -04:00
070e85b44b add restartinfo=0 to manbody file it was missing from 2018-03-06 12:45:40 -07:00
9b2d5ff3e7 remove executable permissions on non-executables and non-scripts 2016-09-08 14:45:07 -04:00
8e36364f5c git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14805 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-04-07 21:04:44 +00:00
8f3d0f743e git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14773 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-03-22 13:42:13 +00:00
468ef144d4 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14602 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-02-15 16:10:43 +00:00
70aa37e4c8 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14589 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-02-15 15:26:57 +00:00
dd2d454fc4 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14519 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-01-29 16:44:50 +00:00
49051197a9 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14494 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-01-25 23:04:56 +00:00
f6f88c2f28 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14455 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-01-15 19:40:18 +00:00
03a9006979 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14350 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2015-12-10 17:38:13 +00:00
807e00de93 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14346 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2015-12-10 16:54:13 +00:00
a473a42a9c git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14308 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2015-12-09 16:59:47 +00: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
cee848f948 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14164 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2015-10-22 22:06:49 +00:00
916fc0f1cb git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13889 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2015-08-18 21:13:14 +00:00
d89332f7d5 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13756 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2015-07-28 15:40:37 +00:00