Commit Graph

34 Commits

Author SHA1 Message Date
7df387f7d5 Merge remote-tracking branch 'origin/master' into refactor-table-reading 2020-06-05 12:09:57 -04:00
2777d37a61 remove local buffers and snprintf() for file open error messages. 2020-06-04 13:30:44 -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
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
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
71bc72ec13 formatting: add additional space to avoid bad syntax highlights 2018-08-27 22:13:43 -04:00
e9bc939098 Fix more unused parameter warnings (#1076) 2018-08-23 12:22:44 -06:00
e4071d7f46 replace C-style include files with their C++ equivalents 2018-04-27 18:00:24 -04:00
415a55bc3e Fix bug in fix_property_atom 2018-01-17 10:41:56 -07:00
d5f8f36442 Change to fix_property_atom to allow virtual override of grow_arrays() function 2016-12-15 15:48:09 -07: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
e135e3ee79 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15188 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-06-17 18:29:08 +00:00
b29c07bd76 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14914 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-04-30 18:10:54 +00:00
6ff2012d88 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14912 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-04-30 18:07:40 +00:00
984a1afa72 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14449 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-01-15 15:53:23 +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
11de055c0f git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13644 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2015-07-17 23:33:36 +00:00
9127ac0d5b git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13357 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2015-04-01 20:52:33 +00:00
8d078d0602 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13329 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2015-03-28 17:17:27 +00:00
9065c2c612 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11774 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-04-11 14:29:55 +00:00
958a442beb git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11539 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-02-12 01:07:55 +00:00
127eb167c1 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11293 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-01-22 17:44:32 +00:00
bad19033d0 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11250 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-01-17 18:43:09 +00:00
d9a32bfaa8 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11223 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-01-11 00:29:03 +00:00
cbfaf7aecf git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10872 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-10-18 16:29:23 +00:00
e5f4966986 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10760 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-09-11 00:05:07 +00:00
5994980c73 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10719 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-09-05 18:36:42 +00:00
c2fd1c17b2 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10611 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-08-20 20:44:10 +00:00
056264f86f git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10485 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-07-30 15:41:40 +00:00
48510d047b git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10350 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-07-25 19:47:41 +00:00
856f78e50a git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10349 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-07-25 17:47:47 +00:00
971b4e98df git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10346 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-07-25 15:49:50 +00:00