-
Notifications
You must be signed in to change notification settings - Fork 1
Draws figures of tokamak surfaces and field-lines using OpenGL / GLUT
License
bendudson/tokamak-draw
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Tokamak draw ============ A fairly simple OpenGL code for drawing toroidal surfaces, field-lines etc. Useful mainly for producing diagrams for talks Copyright (C) 2012 Ben Dudson University of York <benjamin.dudson@york.ac.uk> This program 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 2 of the License or (at your option) any later version. This program 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 this program; if not write to the Free Software Foundation Inc. 51 Franklin Street Fifth Floor Boston MA 02110-1301 USA. Bundled code ============ Uses GL2PS by Christophe Geuzaine <geuz@geuz.org> to produce PostScript output Example ======= To generate an example input file, run $ tokamak_draw example This will produce a file 'example.def', which defines a model to draw. The syntax of this file is quite simple, and by changing this you can specify different models to draw. Just running without any arguments $ tokamak_draw will try to read from 'example.def', but you can specify a different file to read as the first argument e.g: $ tokamak_draw my_model.def When viewing a model, pressing 'h' or '?' gives a list of commands. Pressing 'q' or ESC exits.
About
Draws figures of tokamak surfaces and field-lines using OpenGL / GLUT
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published