Name

vtestbed-gui - run ship motion simulations interactively using graphical user interface

Synopsis

vtestbed-gui [-bBh] [file]...

Description

vtestbed-gui provides graphical user interface for your simulations. Simulations can be done either interactively by writing values in the text fields and clicking buttons, or in the Guile console by calling Scheme procedures, or even by writing a script and passing it as a command line argument to the programme. After evaluating all input files the programme shows the current state of the simulation.

-bterminate after evaluating all input files.
-Bterminate after evaluating all input files but before starting graphical user interface.
-hshow help message.

Examples

The following programme loads the ship from aurora.bsp, creates testbed with calm see wave generator, simulates one step of the virtual worlds and shows the result in the graphical user interface. (define vtb (make-testbed #:policy 'openmp #:ship (make-ship #:hull (import-hull "aurora.bsp"))) #:wave-generator (make-calm-sea-generator))) (testbed-step! vtb 0.1) (set-testbed! vtb)

Environment

XDG_CONFIG_HOME

Base directory for GUI configuration files. Default value is $HOME/.config.

Files

/etc/vtestbed/vtestbed.ini System GUI settings.

~/.config/vtestbed/vtestbed.ini User GUI settings. Override system settings.

/etc/vtestbed/colors System GUI color schemes directory.

~/.config/vtestbed/colors User GUI color schemes directory. Merged with system directory.

Batch version of the programme vtestbed(1) does not use any of the these files.

Copyright

Copyright © 2018-2020 Andrei Ivashchenko, Anton Gavrikov, Artemii Grigorev, Denis Egorov, Dmitry Tereschenko, Ivan Gankevich, Ivan Petriakov.

Virtual Testbed is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Virtual Testbed is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Virtual Testbed. If not, see <https://www.gnu.org/licenses/>.

See Also

vtestbed(1), vtestbed-convert(1), guile(1).

Full documentation is available online.