freegs#
FreeGS#
Free boundary Grad-Shafranov solver
License#
Copyright 2016-2021 Ben Dudson, University of York and other contributors. Email: benjamin.dudson@york.ac.uk
FreeGS is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
FreeGS 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 Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with FreeGS. If not, see <http://www.gnu.org/licenses/>.
Modules
Functions to impose boundary conditions on psi(plasma) |
|
Poloidal field coil |
|
Plasma control system |
|
Routines to find critical points (O- and X-points) |
|
Class for reading/writing freegs Equilibrium objects |
|
Defines class to represent the equilibrium state, including plasma and coil currents |
|
Classes and routines to represent coils and circuits |
|
Handles reading and writing of Equilibrium objects |
|
Grad-Shafranov equation |
|
Classes representing plasma profiles. |
|
Classes and routines to represent coils and circuits |
|
Classes and routines to represent coils and circuits |
|
Multigrid solver for elliptic problems |
|
Routines for optimising equilibria These make use of the generic "optimiser" routines |
|
Differential Evolution optimisation |
|
Routines for solving the nonlinear part of the Grad-Shafranov equation |
|
Plotting using matplotlib |
|
Routines for calculating intersection or other geometric calculations with polygons (e.g. walls, flux surface approximations). |
|
Classes and routines to represent coils and circuits |
|
Quadrature rules for averaging over polygons |
|
Define a class of coil which contains a uniform current density over a shaped region. |
|
Tests of the linear solver |
|