914f035475
a few more converted commands and updates for unit tests
2021-09-21 17:23:41 -04:00
9a19a814e4
apply clang-format to packages
2021-08-23 21:06:33 -04:00
a9271b6d9a
replace temporary char buffer with using fmtlib
2021-07-29 12:36:50 -04:00
396b426cd1
reformat
2021-06-17 16:30:49 -04:00
4b83439eeb
reformat and modernize
2021-06-17 10:35:35 -04:00
09c19a936b
update URLs in source code and manual
2021-05-24 14:18:20 -04:00
7fcd449864
apply clang-format to all headers with some exceptions
2021-05-14 19:16:07 -04:00
d1941392d3
disable clang-format for all existing .cpp files (for now)
2021-05-05 23:53:38 -04:00
a1665fddc8
next iteration of preparing for clang-format
2021-04-30 13:51:14 -04:00
980244dd0c
add protection comments
2021-04-27 22:31:01 -04:00
df7fe4431f
make LAMMPS homepage URL and C++ indicator comments consistent
2021-04-22 21:26:07 -04:00
24bf1e5b0c
make use of utils::strdup()
2021-02-04 17:33:02 -05:00
4e791ac4f7
replace 'strstr(xxx,"x_") == xxx' with utils::strmatch("^x_")
2021-02-04 15:20:43 -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
382ade15fe
more consistent formatting of for/while loops and if statements
2020-12-30 09:09:08 -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
bb7447363c
more include cleanup and IWYU tweaks
2020-09-04 07:22:39 -04:00
6113169a47
IWYU based include statement cleanup
2020-09-02 17:39:34 -04:00
96d8d12a88
replace calls to force->*numeric() with the corresponding utils::*numeric()
...
this also removes the now obsolete functions from Force
2020-08-29 20:31:02 -04:00
80311891f1
Merge pull request #1874 from akohlmey/generalize-box-change-detect
...
Refactor handling of box change information from fixes
2020-04-15 11:14:45 -04:00
0e764a3a48
correct spelling correction
2020-03-17 20:37:33 -04:00
649a8cc01a
Fix typo
2020-03-14 13:57:48 +09:00
5f68f3006f
replace Fix::box_change_xxx variables with Fix::box_change bitmask and add check to Domain::init()
...
This allows a more specific tracking of whether multiple fixes are
modifying the same box parameter and error out in that case.
2020-02-08 15:12:26 -05:00
416911aa7e
more rearranging of include file order to put implementation headers first
2019-07-03 21:57:39 -04:00
fc1d8f2cbf
more cleanup of include file handling. starting to work on files in packages
2019-07-02 05:15:30 -04:00
c588b44cf1
consistent formating: replace "} else{" with "} else {"
2018-12-29 12:35:01 -05:00
b34dac41c2
port documentation spelling fixes to comments or strings in source code.
2018-11-19 16:15:24 -05:00
71bc72ec13
formatting: add additional space to avoid bad syntax highlights
2018-08-27 22:13:43 -04:00
92a4dc25b1
Fix unused params in packages ( #1076 )
2018-08-24 10:42:08 -06:00
3682bc47c2
move enum{NO_REMAP,X_REMAP,V_REMAP} to Domain class in domain.h
2018-05-10 00:20:10 -04: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
7dd60f9737
Fix typos in src files
2017-03-05 21:03:40 -05:00
e261bef7bb
Spelling fixes in source files
2017-03-05 18:30:39 -05:00
fb3ac9afba
Initialize pointers in SNAP and SRD
2016-11-07 20:30:38 +01:00
876b033ea8
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15083 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-05-31 16:33:07 +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
6295fc6908
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13616 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-07-16 22:30:07 +00:00
25b928b276
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13282 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-03-24 15:34:07 +00:00
84a5ec39ec
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13278 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-03-23 23:30:50 +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
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
583c7de117
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12254 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-08-06 16:09:46 +00:00
65a76deb45
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12208 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-07-28 20:13:44 +00:00
55a2e9924f
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12087 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-06-05 12:48:17 +00:00
1646c124b1
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11700 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-04-04 16:36:51 +00:00
cd9ad0b7d2
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11391 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-01-30 18:18:18 +00:00
e8605375c2
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11390 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-01-30 18:01:53 +00:00