A quasi-optical beam-tracing code for electron cyclotron waves absorption and current drive in tokamaks
Go to file
Michele Guerini Rocco 899f524782
src/main.f90: add server mode
This adds a sort of simplified JSON RPC. It makes possible to interface
with GRAY from any other program without writing bindings or using some
FFI. It works simply by starting GRAY in a subprocess and communicating
with it using a pipe.

Both requests and replies are a single line of text: commands are sent
to the stdin and GRAY replies with a JSON object on the stdout.
The commands include setting/getting any GRAY parameter, reloading the
input files, starting the simulation and quitting.
2024-03-24 09:25:50 +01:00
doc Improve documentation build 2022-11-17 19:31:58 +01:00
input add a switch for realtime mode 2024-03-24 09:25:50 +01:00
scripts Add first draft of Python plotting script 2022-11-13 01:57:09 +01:00
src src/main.f90: add server mode 2024-03-24 09:25:50 +01:00
srcjetto fixed incompatibilities with allocatable arrays (pgf90 compiler, JETTO); fixed input/output scaling (gray/jetto interface); fixed error in read_beams2 for small beam tables 2016-06-01 13:49:35 +00:00
.gitignore add option to set parameters from the command-line 2022-05-11 01:15:07 +02:00
configure add documentation 2021-12-15 02:30:58 +01:00
default.nix default.nix: update to Nixpkgs 21.11 2023-03-29 21:52:21 +02:00
depend depend: fix typo 2023-03-30 11:06:33 +02:00
LICENSE.md Update license 2022-11-18 19:47:50 +01:00
Makefile Fix debug/optimization flags 2023-10-20 13:42:06 +02:00
minpack-LICENSE.txt Add License files 2022-11-17 19:42:44 +01:00