freegs.boundary.freeBoundary

Contents

freegs.boundary.freeBoundary#

freegs.boundary.freeBoundary(eq, Jtor, psi)[source]#

Apply a free boundary condition using Green’s functions

Note: This method is inefficient because it requires an integral over the area of the domain for each point on the boundary.

Inputs#

eq Equilibrium object (not used) Jtor 2D array of toroidal current (not used) psi 2D array of psi values (modified by call)

returns: