09c19a936b
update URLs in source code and manual
2021-05-24 14:18:20 -04:00
d8291eea7b
Merge branch 'master' into prepare-clang-format
...
# Conflicts:
# src/MOLECULE/bond_fene.h
# src/MOLECULE/bond_fene_expand.h
2021-05-11 21:49:48 -04:00
d1941392d3
disable clang-format for all existing .cpp files (for now)
2021-05-05 23:53:38 -04:00
22e93468d6
simplify code by appling varargs messages and warnings
2021-05-05 18:19:12 -04:00
8a2a4c408e
also skip warnings if per rank warning count is over. don't wait until total count is computed
2021-05-05 16:55:35 -04:00
9f4da1128b
remove optional logflag argument from Error::message() and Error::warning()
2021-05-05 16:02:51 -04:00
87283f7269
apply warning limit
2021-05-05 14:48:20 -04:00
f0cc70b29a
implement "thermo_modify warn" to control amount of warnings
2021-05-03 14:21:16 -04:00
4cbe6200d6
correct declaration
2021-04-25 21:02:01 -04:00
4e25204296
add vararg versions of Error::all() and Error::one() plus unit tests
2021-04-25 19:04:49 -04:00
3042e28297
try to catch format errors from fmtlib
2021-02-26 14:08:38 -05:00
adf74b3a22
use https://lammps.sandia.gov based URLs consistently
2020-10-21 16:45:30 -04:00
93a0d4c096
fix up some comments
2020-09-12 14:26:34 -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
39b61fbdbe
add exit() to one() functions since compilers may not recognize that MPI_Abort() does not return.
2020-06-17 01:30:41 -04:00
9297211b06
fix style issue
2020-06-03 16:58:08 -04:00
9f3f53cc6b
convert Error class to accept 'const std::string &' instead of 'const char *'
2020-06-03 15:43:05 -04:00
704207f3c8
Finalize Kokkos on error exit
2020-02-27 08:51:02 -07:00
e3c91626c8
need to include update.h when exceptions are enabled
2019-08-01 07:07:21 -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
37d84de09c
flushing buffer to see more messages for error->one calls
2019-04-18 15:55:21 -06:00
de0938da39
avoid segfault when catching command line flag errors with EXCEPTIONS enabled
2019-04-05 23:24:43 -04:00
ba1c5d3191
Avoid buffer overflow during errors with long filenames
2018-09-05 21:39:09 -04:00
c3661272f1
re-allow commands after an exception was caught inside a run.
...
after an exception "all bets are off",
i.e. the user should be allowed to do anything to recover.
through setting Update::whichflag to 0, the guard against running commands during a run is removed.
2018-07-24 19:55:39 -04:00
7ca794beb9
whitespace cleanup
2018-06-01 16:11:43 -04:00
c3cc07bd3d
truncate filename path to a segment starting with 'src/'
...
this will trim warnings and error messages when compiling using the CMake
build system, which uses full paths. as a bonus,one can now see, if a
source is taken from a package or not.
2018-05-11 13:52:34 -04:00
e4071d7f46
replace C-style include files with their C++ equivalents
2018-04-27 18:00:24 -04:00
5a8c5eb479
provide last input command line with error->one() output
2017-11-06 10:41:01 -05:00
1a81da0f73
print the last input line, when error->all() is called
...
this should help tracking down input file errors for many
common cases without having to repeat the run with -echo screen
and avoid having to explain how to use that feature all the time
2017-01-09 17:03:06 -05:00
f718c54430
sync with GH
...
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15634 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-09-23 21:04:56 +00:00
fab2f01a58
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15531 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-08-31 22:20:28 +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
9effcca0df
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14025 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-09-11 14:49:37 +00:00
b49a5519f2
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10285 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2013-07-23 15:10:07 +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
ab6e6d4ef1
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8197 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2012-05-30 21:59:21 +00:00
04044a5f79
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7596 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2012-01-28 00:08:24 +00:00
9ba51c702b
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7395 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2012-01-03 18:40:53 +00:00
4f48544d41
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7379 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2011-12-16 21:15:49 +00:00
86347b81e3
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7340 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2011-12-13 15:57:18 +00:00
16a2afc642
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7310 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2011-12-08 17:56:37 +00:00
d296662af6
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7004 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2011-09-23 18:14:14 +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
0cfaaee5d5
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6724 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2011-08-18 15:03:14 +00:00
82fa545288
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5594 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2011-02-04 19:46:47 +00:00
b015f75194
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4745 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2010-09-08 23:41:16 +00:00
9be7620ace
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@937 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2007-10-03 16:22:30 +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