Commit Graph

160 Commits

Author SHA1 Message Date
7dc0ace48f file viewer can be called from File menu or context menu in editor if word under cursor is a file 2024-07-21 18:37:06 -04:00
1d1bf669f6 apply clang-format 2024-07-17 23:18:03 -04:00
c3272297fc use LAMMPS-GUI consistenly (instead of LAMMPS GUI) 2024-07-17 23:01:15 -04:00
470b106d99 small tweaks for more consistency 2024-07-17 15:11:17 -04:00
615c1bb623 more compact and consistent window titles 2024-07-16 05:13:04 -04:00
1b5c42e1b7 add shortcut button for save buffer 2024-07-15 18:48:18 -04:00
1fe1aa0683 lower default update interval to 10ms 2024-07-15 10:28:22 -04:00
fb9a36c2f4 do not update the chart window when LAMMPS is not in a minimization or run 2024-07-13 19:12:46 -04:00
cefe76919c make more use of auto and thus avoid having to specify the same type twice 2024-07-04 11:12:40 -04:00
4b0adcc66a avoid segfaults when updating charts in simulations with fast thermo output 2024-06-13 08:34:25 -04:00
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