Commit Graph

20990 Commits

Author SHA1 Message Date
Richard Berger e01e72cc8e
Formatting 2020-05-26 20:29:09 -04:00
Richard Berger 5e4ce8d03c
Use Error::one in PotentialFileReader 2020-05-26 20:27:16 -04:00
Richard Berger 13942a4d20
Use PotentialFileReader in PairComb 2020-05-26 20:23:28 -04:00
Richard Berger c302c0bca2
Add PotentialFileReader and use it in PairSW 2020-05-26 20:10:48 -04:00
Richard Berger 74249380ec
Add count method to ValueTokenizer 2020-05-26 16:30:46 -04:00
Richard Berger 3d567c14ef
Revert changes to be more C-like for Steve 2020-05-20 18:00:01 -04:00
Richard Berger 7ac0f869ef
Add ValueTokenizer 2020-05-20 15:53:50 -04:00
Richard Berger 46239e4577
Add utils::is_double and utils::is_integer 2020-05-20 15:53:41 -04:00
Richard Berger 9e3759d0fc
Add missing newlines 2020-05-20 15:53:29 -04:00
Richard Berger 4a2d3e95cb
Replace Atom::count_words with utils::count_words 2020-05-20 15:53:19 -04:00
Richard Berger db46521d64
Add utils::count_words and utils::trim_comment 2020-05-20 15:53:08 -04:00
Richard Berger 807130c771
Replace AtomVec::tokenize and use Tokenizer 2020-05-20 15:50:10 -04:00
Richard Berger d41927b056
Add Tokenizer class 2020-05-20 15:49:02 -04:00
Axel Kohlmeyer 8691579def
Merge pull request #2098 from lammps/unittest
Add first part of an integrated unit test framework
2020-05-20 15:44:52 -04:00
Axel Kohlmeyer 5281dea651
Merge pull request #2095 from stanmoore1/kk_snap_beta
Fix redundant computation in Kokkos Pair SNAP on GPUs
2020-05-20 15:30:17 -04:00
Axel Kohlmeyer 8bc2c4748c
add option to test main program to override the value of the INPUT_FOLDER variable 2020-05-20 15:23:32 -04:00
Axel Kohlmeyer 917b7dd4fa
move definition of the INPUT_FOLDER variable from header to implementation file 2020-05-20 15:22:43 -04:00
Axel Kohlmeyer 58ca1dcf8e
Merge pull request #2094 from akohlmey/collected-small-changes
Collected small changes and bug fixes for the next patch release
2020-05-20 14:33:34 -04:00
Axel Kohlmeyer c50bd25d42
Merge pull request #2093 from junghans/lammps_cleanup
remove fftw_cleanup() from main()
2020-05-20 14:26:41 -04:00
Axel Kohlmeyer 2536076ce9
cosmetic changes for consistent source formatting 2020-05-20 07:40:37 -04:00
Axel Kohlmeyer 2712a20f91
build common unit test sources into a static library and link with it 2020-05-20 07:32:32 -04:00
Richard Berger 76fb797264
Simplify tests 2020-05-20 04:12:48 -04:00
Richard Berger 5533b9233f
Fix indentation 2020-05-20 02:48:02 -04:00
Richard Berger ad6ae7317e
Use std::make_pair 2020-05-20 02:45:16 -04:00
Richard Berger 34456294dd
Cleanup 2020-05-20 02:03:00 -04:00
Richard Berger 46e0c8b6b7
Remove duplicated read_yaml_file function 2020-05-20 01:32:50 -04:00
Richard Berger 73e766b933
Remove another unneeded class 2020-05-20 01:30:34 -04:00
Richard Berger 50d4cf210c
Remove unnecessary classes 2020-05-19 23:37:11 -04:00
Richard Berger c0acb3a438
Remove multiple definitions of STRINGIFY 2020-05-19 23:15:22 -04:00
Axel Kohlmeyer c04a71a239
add unit test framework for pair, bond, angle styles from progguide branch 2020-05-19 22:24:31 -04:00
Axel Kohlmeyer 1517daeaed
add support for extracting r0 array to bond style zero 2020-05-19 21:54:50 -04:00
Axel Kohlmeyer 16ce10aefc
the first argument to Bond::extract() should be `const char *` not `char *`. 2020-05-19 21:54:31 -04:00
Axel Kohlmeyer 5827f69da5
OpenMPI's "sm" transport layer has gone from some newer versions. use "tcp" as lowest common denominator 2020-05-19 20:25:53 -04:00
Axel Kohlmeyer 48a9e0d732
consolidate setting CMake policy CMP0074 into main cmake file 2020-05-19 15:20:41 -04:00
Axel Kohlmeyer 16db223d03
update test for whether to set CMake policy CMP0074 is needed. 2020-05-19 11:53:47 -04:00
Axel Kohlmeyer ffaa77af6b
reintroduce bugfix for bessel function distributed random numbers 2020-05-19 09:02:17 -04:00
Axel Kohlmeyer 4ac7a26fe1
add support for extracting r0 array to bond style zero 2020-05-18 19:37:54 -04:00
Axel Kohlmeyer 6b1dbe2393
the first argument to Bond::extract() should be `const char *` not `char *`. 2020-05-18 18:15:10 -04:00
Axel Kohlmeyer 93fe33553a
need to set CMake policy CMP0074 to NEW behavior also for finding TBB Malloc 2020-05-18 17:50:28 -04:00
Axel Kohlmeyer 8395ec9e43
avoid segfault with eam/intel when using it with a hybrid pair style 2020-05-18 14:31:57 -04:00
Stan Moore c67ca88b04 Fix redundant computation in SNAP on GPUs 2020-05-18 08:42:30 -07:00
Axel Kohlmeyer 9ed2824de8
add missing coulomb tabulation to pair style lj/class2/coul/long 2020-05-15 22:14:08 -04:00
Axel Kohlmeyer dc74fac4d3
silence compiler warning 2020-05-15 20:04:49 -04:00
Christoph Junghans fa7319e626 drop fftw_cleanup() completely 2020-05-15 16:57:44 -06:00
Axel Kohlmeyer b1ee9ad1fe
Merge pull request #2091 from stanmoore1/kk_summit
Rename Kokkos Makefile
2020-05-15 17:39:53 -04:00
Axel Kohlmeyer d39457e46e
Merge pull request #2092 from lammps/omega-angmom
Initialize omega and angmom when reading a data file
2020-05-15 17:20:54 -04:00
Christoph Junghans 6f0a56c176 cmake: fftw is now a private dep 2020-05-15 13:42:51 -06:00
Christoph Junghans 58b304be62 move fftw_cleanup() into LAMMPS::cleanup() 2020-05-15 13:30:55 -06:00
Steve Plimpton f1a9eab5da initialze omega and angmom when read data file 2020-05-15 13:07:34 -06:00
Stan Moore 1d52e7f243 Rename Kokkos Makefile 2020-05-15 12:19:16 -06:00