Skip to content

Julia package for calculating guiding-center orbits in magnetic equilibrium

License

Notifications You must be signed in to change notification settings

StuartBenjamin/GuidingCenterOrbits.jl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GuidingCenterOrbits

Build Status

Coverage Status

codecov.io

Basic Usage

using EFIT, Equilibrium, GuidingCenterOrbits

#Read in equilibrium
M, wall = read_geqdsk(EFIT.test_gfile)

#Define initial conditions
gcp = GCParticle(80.0,0.2,1.9,0.0)

#Calculate trajectory
path, stat = integrate(M, gcp, tmax=1000.0)

#Calculate orbit trajectory for single poloidal transit
o = get_orbit(M,gcp)

About

Julia package for calculating guiding-center orbits in magnetic equilibrium

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Julia 100.0%