Commit Graph

43 Commits

Author SHA1 Message Date
07bc76871c avoid unsafe strcpy() 2022-04-09 19:01:42 -04:00
41a3eccd1c apply utils::logical() to more commands 2021-09-21 07:48:50 -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
e9e0bb71b6 Use varargs version of Error:all() and Error::one() where applicable 2021-04-25 21:30:51 -04:00
5c8bbb42f6 replace variable name "string" with "text" to avoid confusion with std::string 2021-02-04 17:33:54 -05: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
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
f88f4cd60e more include file updates 2020-09-02 21:44:04 -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
79984e31db small i/o tweaks 2020-07-24 14:10:30 -04:00
2777d37a61 remove local buffers and snprintf() for file open error messages. 2020-06-04 13:30:44 -04:00
32753a59e6 one more whitespace cleanup 2019-11-14 09:42:44 -05:00
60fe0c0b86 Silence compiler warning 2019-11-14 09:24:56 -05:00
1955c57791 make fix print work the same for run, multiple runs, rerun 2019-11-12 10:16:50 -07:00
9885d384be Fix print patch to allow print on rerun 2019-10-23 13:00:34 -05: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
31cbccda85 continue cleaning up include file lists 2019-06-29 09:37:44 -04:00
a70f9c4f95 support using a variable instead of a constant interval for fix print 2019-05-04 13:47:57 -04:00
ca04e8f31c use snprintf() in a bunch of cases to avoid overflowing fixed size buffers with unchecked strings 2018-09-06 02:57:53 -04:00
e4071d7f46 replace C-style include files with their C++ equivalents 2018-04-27 18:00:24 -04:00
958e3e6a80 sync with Git
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15520 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-08-29 23:49:20 +00:00
1f6518400e git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15429 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-08-03 19:31:52 +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
aa33af4032 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10160 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-06-28 19:00:58 +00:00
cf4ed82081 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9199 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-01-03 00:26:04 +00:00
ac68bb1981 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8227 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-06-06 22:53:32 +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
f884a7ec85 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7647 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-02-01 16:27:41 +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
730bbe82f4 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3904 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2010-03-18 21:37:44 +00:00
87ba3c6eff git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3596 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-12-21 17:53:34 +00:00
3d70bec677 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2645 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-03-16 18:17:36 +00:00
389a54ebb4 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2127 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2008-10-01 15:25:39 +00:00
abd1a21de3 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1781 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2008-05-09 15:01:06 +00:00
b2e9f7dc10 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1272 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2008-01-02 19:24:46 +00:00
24dff7064c git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1252 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2007-12-13 15:19:37 +00:00
6de4e59a38 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1119 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2007-11-02 20:25:11 +00:00
209f169cbc git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@254 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2007-01-30 00:22:05 +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