da66516dec
use references when creating styles
2020-07-13 09:40:58 -04:00
1e6e237883
avoid bogus error exit when openting potential files without units
2020-06-29 11:58:26 -04:00
24c3f1f752
fix logic bug triggering failures to read files without UNITS: tag
2020-06-26 07:21:10 -04:00
4824c4608c
add unit conversion checking support to Force::open_potential()
2020-06-25 12:22:29 -04:00
37a0999826
add units metadata check to legacy potential file reading method
2020-06-16 06:36:26 -04:00
586f2c00b0
add missing linefeed character
2020-06-07 10:13:35 -04:00
4f804f58e3
Merge remote-tracking branch 'origin/master' into refactor-table-reading
2020-06-05 16:41:05 -04:00
7df387f7d5
Merge remote-tracking branch 'origin/master' into refactor-table-reading
2020-06-05 12:09:57 -04:00
f547d66104
Merge branch 'master' into more-fmtlib-and-string
...
# Conflicts:
# src/write_restart.cpp
2020-06-05 11:13:44 -04:00
4a6d3bc0e0
Move common potentials opening code to utils
2020-06-04 17:18:28 -04:00
4b58e33b1e
remove local buffer for error message in Force class
2020-06-04 15:24:10 -04:00
b27ef02bc2
no local buffers and snprintf() in a bunch of style creation functions
2020-06-04 14:36:56 -04:00
dd11fb3964
remove .c_str() and simplify output in several places
2020-06-03 16:37:30 -04:00
b5b71bbb92
(re-)add example uses of {fmt}
2020-05-26 15:16:35 -04:00
9e7ca428aa
whitespace cleanup: remove (evil) tabs
2019-11-03 11:01:42 -05:00
25b114eeb4
avoid compilation failure without installed packages
2019-10-14 07:56:37 -04:00
29574eaa45
added "likewise" as suggested by @sjplimp
2019-10-11 17:19:47 +02:00
7bf2b99785
print warnings if force styles and topology data are inconsistent
...
print a warning if there are bonds/angles/dihedrals/impropers in the
bond topology, but no corresponding style defined.
print an additional warning when special bonds scaling factors
for this kind of interaction is not 1.0 and thus the neighbor list
for pair styles may be affected, too.
2019-10-11 16:18:02 +02: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
96744c4933
more include file cleanup
2019-06-30 15:53:17 -04:00
f190647ab4
use snprintf() instead of sprintf() to avoid buffer overflows when copying style names
2019-06-21 21:23:20 -04:00
b53df3dd63
disable optimization on functions building factories for many entries
...
this will speed up compilation and also avoid spurious warnings with gcc 4.4 and later
2019-06-06 20:37:17 -04:00
d640c712f8
apply new utility function to most places creating new styles
2019-04-07 21:18:20 -04:00
bb36e6e3c8
implement some examples for using the utils::strmatch() function and use it for inexact Force::pair_match()
2019-02-01 12:23:06 +01:00
90e125a73a
make error message for input parameter type mismatch more specific to show what is incorrect
2018-12-17 14:03:26 -05:00
7deb1df2b6
split kspace style constructor into plain constructor and settings() method
2018-10-18 16:30:45 -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
28a922b18b
print error message when a pair style was not re-specified after reading a restart
2018-03-19 18:05:47 -04:00
3c94f7d5d1
add pointer Force class to temporarily hold the name of the restarted pair style
2018-03-19 18:03:13 -04:00
c8741f3a01
remove special_bonds extra keyword and refer to read_data and create_box instead
2017-08-10 15:12:56 -04:00
60c3f3d64c
use CHARMM energy conversion factor with new CHARMM pair styles
2017-06-22 09:15:15 -06:00
42bbeb3f16
NULLing pointers after delete
2017-01-04 16:04:05 +01:00
f509f133af
patch 13Dec16: neighbor refactor, Stan pppm/disp bug fix, M Brown INTEL package updates
2016-12-13 17:14:28 -07:00
35753b8f08
add error location propagation to force->bounds() and force->boundsbig()
2016-10-26 15:53:02 -04:00
b190abea39
sync with GH
...
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15561 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-09-08 20:20:32 +00:00
ddd85f006c
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15369 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-07-27 14:04:56 +00:00
137f19ba9f
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15346 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-07-22 19:41:42 +00:00
b5591e4518
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14790 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-03-28 15:05:50 +00:00
7cea607190
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14789 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-03-28 15:04:09 +00:00
79466c37d8
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14474 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-01-23 00:47:25 +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
46e7b64176
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14157 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-10-21 23:13:53 +00:00
3f3165af39
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14086 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-10-02 19:54:31 +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
f7bc08d83d
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13601 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-07-15 21:29:44 +00:00
0210c45653
Only root process calls potential_date
...
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13541 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-07-08 04:04:58 +00:00
9435c9dcb1
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13320 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-03-27 20:39:27 +00:00
1af7b06052
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12827 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-12-12 00:20:19 +00:00
f350cc4ec7
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12637 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-10-20 21:17:46 +00:00