Commit Graph

22854 Commits

Author SHA1 Message Date
Axel Kohlmeyer 60dfb6f77f
still need to disable variable tracking to silence unwanted warnings on ubuntu 2020-08-28 22:03:27 -04:00
Axel Kohlmeyer cec18b6aef
add docs for the new fortran interface 2020-08-28 20:57:19 -04:00
Axel Kohlmeyer e44707d5e1
add unittest support for the fortran interface to LAMMPS 2020-08-28 20:56:52 -04:00
Axel Kohlmeyer 3e92647abb
add new "official" fortran interface to LAMMPS in new folder "fortran" 2020-08-28 20:56:15 -04:00
Axel Kohlmeyer 2e1b4498bd
update false positives 2020-08-28 20:30:00 -04:00
Axel Kohlmeyer 7b6924329f
make doxygen docs and code consistent 2020-08-28 20:25:38 -04:00
Axel Kohlmeyer cb1a2601e1
add more existing programmer guide docs 2020-08-28 20:25:09 -04:00
Axel Kohlmeyer 3be064748d
Merge pull request #2318 from akohlmey/programmer-guide
Programmer guide part 1
2020-08-28 20:14:32 -04:00
Axel Kohlmeyer 02ea7af1f7
let dummy tests pass 2020-08-28 18:49:39 -04:00
Axel Kohlmeyer 52f7f3629d
Merge branch 'master' into programmer-guide 2020-08-28 18:49:15 -04:00
Axel Kohlmeyer 876c53a275
Merge pull request #2310 from lammps/library-refactor
LAMMPS C library interface and python module refactor
2020-08-28 18:40:16 -04:00
Axel Kohlmeyer 2a365c17e0
update utils namespace documentation including doxygen parts 2020-08-28 18:21:18 -04:00
Richard Berger cb09844182
Add placeholders for future tests 2020-08-28 17:52:15 -04:00
Axel Kohlmeyer e64a977ae9
include documentation of utility functions in utils:: to developer guide 2020-08-28 17:14:49 -04:00
Axel Kohlmeyer a1bf772df2
move modifying and extending LAMMPS section to programmer guide 2020-08-28 17:14:29 -04:00
Axel Kohlmeyer 8fcd72405a
port over more of the framework of the programmer guide and remove programming details from user guide 2020-08-28 16:32:23 -04:00
Axel Kohlmeyer 2e2763d0f1
update .gitignore for recent additions 2020-08-28 15:34:53 -04:00
Richard Berger 17ec3a4fe8
Fix typo 2020-08-28 15:15:01 -04:00
Richard Berger 9412d6f6fc
Add missing argtypes declarations in lammps.py 2020-08-28 15:12:36 -04:00
Axel Kohlmeyer ded657120d
Merge pull request #2312 from akohlmey/developer-guide
Integrate text from developer.tex file to the manual
2020-08-28 15:01:27 -04:00
Richard Berger 6bcc263b41
Ensure LAMMPS pointer is of type c_void_p
Fixes segfaults caused by API change. The API change in
lammps_open and lammps_open_no_mpi makes them return the LAMMPS pointer
via their return value. However due to how ctypes operates, even
if restype is specified to be c_void_p, the function returns an integer.

Without the proper type of the pointer, calling functions without arglists would default
to using 32bit integers to pass an argument, which cuts away parts of the 64bit pointer.
Subsequently, resolving the truncated pointer in the library causes segfaults.

This commit fixes the root cause. But it also highlights the need of specifying
the arglists of all library functions.
2020-08-28 14:21:03 -04:00
Richard Berger caeb0af0d1
Add missing argtypes for lammps_extract_global 2020-08-28 13:54:06 -04:00
Richard Berger 167f12a4a4
Add python test for extract_compute of peratom vector 2020-08-28 13:53:36 -04:00
Axel Kohlmeyer e8cfa185ac
update src/.gitignore for new files 2020-08-28 12:31:43 -04:00
Axel Kohlmeyer 899144c0f8
Merge pull request #2314 from jrgissing/bond/react-RMSD_constraint
Bond/react: add RMSD constraint
2020-08-28 12:29:11 -04:00
Axel Kohlmeyer 9f2eba981a
a few more tweaks and spellcheck to make this ready for merging 2020-08-28 11:44:31 -04:00
Jacob Gissinger ef50a67169 bond/react: make rmsd constraint lowercase 2020-08-28 11:06:27 -04:00
Axel Kohlmeyer f8495975d3
transfer the rest of the Developer guide and remove the .tex versions and references to it 2020-08-28 10:52:45 -04:00
Jacob Gissinger 2686df3760 Update math_eigen.h
whitespace cleanup
2020-08-28 10:46:22 -04:00
Axel Kohlmeyer f0788bfe86
transfer of developer.tex almost complete 2020-08-28 09:54:01 -04:00
Axel Kohlmeyer e777badfa8
Merge pull request #2317 from evoyiatzis/patch-1
removal of a few duplicated lines in the drude polarizer tool
2020-08-28 09:25:01 -04:00
Evangelos Voyiatzis d361f26ca2
removal of a few duplicated lines
The "Velocities" sections is searched for in the input file twice - the second time being redundant.
2020-08-28 11:28:47 +02:00
Axel Kohlmeyer b16746e46e
Merge pull request #2313 from ndtrung81/gpu-bugfix
Fixed bugs in the CPU kernel for beck, beck/omp and the GPU kernel of gauss/gpu
2020-08-27 19:56:50 -04:00
Richard Berger 992b981cee
Fixes segfault due to uninitialized pointers 2020-08-27 19:02:02 -04:00
Axel Kohlmeyer b1cca2cf74
update reference data for molecular test with pair style beck 2020-08-27 19:00:20 -04:00
Axel Kohlmeyer 463774319e
add missing parenthesis 2020-08-27 17:57:44 -04:00
Richard Berger 9c84fe8830
Add missing lammps_extract_compute.argtypes 2020-08-27 17:47:49 -04:00
Richard Berger d7e2be1c81
Start Python interface tests for numpy extensions 2020-08-27 17:47:49 -04:00
Richard Berger 0b8136a38b
Add extract_compute, extract_fix, and extract_variable to lammps.numpy 2020-08-27 17:47:49 -04:00
Richard Berger a216d3f5f5
Fix typo 2020-08-27 17:47:49 -04:00
Richard Berger 26d09ea648
Use datatype constants instead of magic numbers 2020-08-27 17:47:49 -04:00
Axel Kohlmeyer b1fae04751
use consistent style when referencing packages 2020-08-27 17:44:49 -04:00
Axel Kohlmeyer 7b4891a9a3
document the behavior of the gauss pair style to ignore special bond factors 2020-08-27 17:41:43 -04:00
Axel Kohlmeyer fa13e23f7a
add atomic test for gauss pair style 2020-08-27 17:41:25 -04:00
Axel Kohlmeyer fdb726629f
revert "fix" for pair style beck/gpu and correct beck and beck/omp instead
we should consistently apply factor_lj for both, force and energy, or not
2020-08-27 17:14:05 -04:00
Axel Kohlmeyer a4f1be8fe3
Merge branch 'master' into gpu-bugfix 2020-08-27 17:05:26 -04:00
Axel Kohlmeyer a54f99f774
Merge pull request #2315 from lammps/peri-doc-page
fix two typos on pair peri doc page
2020-08-27 17:00:06 -04:00
Steve Plimpton de4bf77757 two typos on pair peri doc page 2020-08-27 13:32:27 -06:00
Jacob Gissinger 32aede7769 minor doc clarification 2020-08-27 14:53:09 -04:00
Jacob Gissinger ab90493e5b bond/react: RMSD, remove debugging statements 2020-08-27 14:45:42 -04:00