51a20175c9
more code formatting consistency changes for loops and conditionals
2020-12-30 09:47:45 -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
29a7d598ac
update formatting style to be more consistent
2020-09-21 02:04: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
390c6ba106
rechecking some corefiles with IWYU after the many updates
2020-09-03 15:28:07 -04:00
55704368d0
include updates for commonly used packages
2020-09-03 01:45:05 -04:00
c7c4297cfc
update include handling for commands
2020-09-03 00:51:58 -04:00
a4a1f7e848
more IWYU cleanup
2020-09-02 23:49:17 -04:00
27b4e93bf5
silence compiler warnings
2020-08-29 18:32:21 -04:00
7d8dcb0fb0
Remove strtok from reader_native.cpp
2020-08-10 15:56:06 -04:00
9291d2a9d7
Simplify count_words, add trim_and_count_words
...
The original count_words function (before it was put into utils::) also trimmed
comments. For compatibility this behaviour was retained at first. However, due
to the name the trimming is not immediatly apparent and many times not
wanted.
Therefore, this commit replaces count_words with an implementation that
just does what it says. If a comment should be trimmed there is a
trim_comment function. For convenience, a trim_and_count_words function was
added and is now used where the old behaviour was needed.
2020-06-04 11:13:37 -04:00
4a2d3e95cb
Replace Atom::count_words with utils::count_words
2020-05-20 15:53:19 -04:00
07c5adc57a
we need more specific matches to correctly handle TIME and TIMESTEP items
2020-02-14 16:07:34 -05:00
7c62bce7d9
Enable reading dump file with ITEM:TIME
2020-02-13 18:13:22 +01:00
b6b022b610
whitespace cleanup: remove trailing blanks
2019-11-03 11:03:39 -05:00
be38ef0eb0
make native dump reader compatible with dump files containing ITEM: UNITS
2019-09-12 15:26:02 -04:00
a50d57bceb
Merge branch 'master' into improve-include-consistency
...
# Conflicts:
# src/utils.cpp
2019-07-19 17:57:58 -04:00
8526e7a4cd
checking return value of ?scanf() calls to detect problems parsing files
2019-07-19 11:14:39 -04:00
06dcc9e283
Merge branch 'master' into improve-include-consistency
...
# Conflicts:
# src/USER-MESO/atom_vec_tdpd.cpp
2019-07-09 14:50:00 -04:00
74414afdea
Added the boxinfo argument
2019-07-08 17:25:23 -06:00
256531a29a
put implementation header first for all remaining main folder source files
2019-07-03 19:34:13 -04:00
e4071d7f46
replace C-style include files with their C++ equivalents
2018-04-27 18:00:24 -04:00
c31f1e9f22
add fix mscg command, example, lib
2017-01-09 13:36:40 -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
3841dd58ca
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13931 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-08-21 22:55:12 +00:00
6a189f3188
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10811 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2013-09-18 17:15:38 +00:00
d28e92e032
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10806 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2013-09-18 16:20:58 +00:00
e94aec42d1
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8334 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2012-06-19 19:24:34 +00:00
9de3aecca1
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8258 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2012-06-11 22:31:06 +00:00