Commit Graph

150 Commits

Author SHA1 Message Date
b6b8884bc6 clear data buffer when querying LAMMPS for info, check return values, use symbolic constant 2023-10-26 13:58:17 -04:00
0f11a9dd70 require version newer than 2 Aug 2023 for LAMMPS GUI 1.5.9 2023-10-19 23:21:18 -04:00
3ebcb0f6f1 store settings to different locations for different Qt versions 2023-10-13 06:00:29 -04:00
6ad5c0eced port LAMMPS GUI to Qt6 while still supporting Qt5 2023-10-12 23:24:11 -04:00
1db12d7df5 update LAMMPS GUI help summary text 2023-10-09 00:09:18 -04:00
3e6997e98b restore saved text cursor when initializing system before creating an image 2023-10-07 13:33:43 -04:00
d388ef762d Implement more conventional behavior when opening non-existing file.
Instead of only printing a warning we now create a *named* and
empty buffer and change to the directory of the filename, so that
the file will be created in the desired location as soon as it is saved.
2023-10-06 06:42:40 -04:00
3999b3e557 enforce newline before adding run 0 command to avoid syntax errors. 2023-10-05 13:22:15 -04:00
b0deb87188 include Qt version in About dialog 2023-10-04 15:13:22 -04:00
6ff7050d2d enforce that the number of threads is properly reset for /omp styles 2023-10-03 19:47:34 -04:00
b3008e3329 fix delete / delete[] mismatch 2023-10-03 17:49:44 -04:00
6a43ca8410 reset number of threads to 1 when using no accelerator or opt 2023-10-03 16:13:59 -04:00
bb01afc498 provide default file name when writing log window text to file 2023-10-03 14:18:17 -04:00
77d0475fb7 update TODO file 2023-10-01 11:46:16 -04:00
5a750c8633 automatically define variable "gui_run" to contain the run number 2023-09-29 17:42:30 -04:00
ef575d5944 change default for replacing log/chart/image windows to true 2023-09-29 16:47:52 -04:00
c24ddfed29 add a run counter to log, chart, and slideshow window titles
this counter is reset on loading a new file
2023-09-29 16:45:13 -04:00
053f6fa03d must also update CWD when *saving* a file, not only when loading 2023-09-25 08:54:56 -04:00
a128089ab1 apply clang-format 2023-09-25 08:35:32 -04:00
2c636c83f5 check for compatible LAMMPS version when creating LAMMPS instance
This check must be done at runtime, since the LAMMPS shared library
may have been loaded dynamically and thus required library functions
may not be present or missing features with too only a LAMMPS version.
2023-09-25 08:35:23 -04:00
29989f102a remove unused class members and silence compiler warnings 2023-09-24 23:08:59 -04:00
5201e6b2f1 add support for completion on file names 2023-09-24 16:31:28 -04:00
934269e456 move all icon files to the icons folder 2023-09-24 15:55:14 -04:00
5588c121f4 add support to export slide show animation to movie file via ffmpeg 2023-09-24 15:09:14 -04:00
c50dcf6129 move helper functions to separate file. add overloads to mystrdup() 2023-09-24 12:53:14 -04:00
20be9e64cf use split_line convenience function for better consistency and backward compatibility 2023-09-17 19:44:15 -04:00
cf8b157702 use QtRegExp for QT 5.12 on Ubuntu 20.04LTS 2023-09-17 19:38:53 -04:00
6d12800a0d make the GUI update interval a configurable option in the preferences 2023-09-14 10:39:57 -04:00
f8e65b19a2 add completion for compute and fix ID references 2023-09-08 10:43:31 -04:00
778263673c add completion for variables and variable references 2023-09-08 08:57:17 -04:00
2d76f9e4ac add completion for group id 2023-09-07 18:02:02 -04:00
a1ddf68e5c also delete log and chart window when loading a new file 2023-09-07 10:06:11 -04:00
17aa458c26 delete image viewer window when loading new file 2023-09-06 00:28:05 -04:00
2c0ff19528 allow calling lammps_last_error_message() with a NULL buffer to clear the error 2023-09-06 00:27:46 -04:00
0b5ce04638 initialize system with commands up to first run/minimize to have initial snapshot 2023-09-05 22:18:25 -04:00
aaad6cffba must close LAMMPS instance after loading new file. 2023-09-05 18:03:05 -04:00
788ce89751 fix typo in query 2023-09-05 18:02:42 -04:00
e1088ed6f9 add "none" to completions of force styles 2023-09-05 04:59:50 -04:00
9036717f1e add completions for unit styles 2023-09-04 20:56:55 -04:00
4d409906fe implement more completions, skip suffixed styles, support variable styles 2023-09-01 23:02:51 -04:00
8383da5e74 create individual completer classes for different styles, use macros 2023-09-01 19:57:42 -04:00
b2ba1bbe70 implement automatic completion popup and reformat on return 2023-09-01 07:27:52 -04:00
65866156dd make handling of boolean settings consistent 2023-09-01 07:27:10 -04:00
0043e4ccc8 macOS drops us into "/" when opening the app bundle without a file. use $HOME instead. 2023-09-01 03:29:45 -04:00
9690d2dc02 update formatting with clang-format 2023-09-01 02:45:20 -04:00
b6d10d1e20 implement command completion popup 2023-09-01 02:43:32 -04:00
c432df0f91 set window icon consistently where possible 2023-08-30 04:15:13 -04:00
07efb5b015 don't add button to toggle slideshow window 2023-08-30 02:46:56 -04:00
9aa68442b6 complete implementation of slideshow window 2023-08-30 01:07:27 -04:00
514fec1b11 add non-functional slide show window to GUI
# Conflicts:
#	tools/lammps-gui/CMakeLists.txt
#	tools/lammps-gui/lammpsgui.cpp
#	tools/lammps-gui/lammpsgui.qrc
#	tools/lammps-gui/lammpsgui.ui
2023-08-29 18:45:04 -04:00