Skip to content

12ff54e/mct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magnetic Coordinate Transformer

Given poloidal magnetic flux (analytic or numeric) EFIT g-file, calculate its Boozer coordinate representation.

Quick Start

# also clone submodules
git clone https://github.com/12ff54e/mct --recurse-submodules
# configure & build
cmake -B ./build -DCMAKE_BUILD_TYPE=Release
cmake --build ./build
# convert specified gfile to spdata.dat, all options are optional
./build/mct path/to/gfile --output-path path/to/spdata.dat --radial 129 --poloidal 255 --use-si

Known Issue

  • Can not deal with negative poloidal current

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors