Skip to content

This is an umbrella project for the stellarator community tools.

License

Notifications You must be signed in to change notification settings

Next-Step-Fusion/Stellarator-Tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stellarator-Tools

This is an umbrella project for the stellarator community tools. Currently available subprojects are.

  • LIBSTELL Base library for tools.
  • MAKEGRID Generate vacuum fields from coil models.
  • VMEC 3D Equilibrium solver with nested flux surfaces.
  • DESCUR Spectrally condensed curve fitting with Fourier series.
  • BMW Bio-savart Magnetic VMEC Vector potential.
  • SURFACE Compute vector potential at firstwall surfaces.
  • LGRID Limiter grid preprocessor.
  • SIESTA 3D Equilibrium solver with islands.
  • V3RFUN Magnetic diagnostic responce functions.
  • V3FIT 3D Equilibrium Reconstruction
  • BOOZ_XFORM Convert VMEC coordinates to Boozer coordinates.

Documentation

Testing

Continuous Integration Test

Compiling

To compile the code, first clone this repository.

git clone https://github.com/ORNL-Fusion/Stellarator-Tools.git

A Stellarator-Tools directory will be created. In this directory create a build directory and navigate to it.

cd Stellarator-Tools
mkdir build
cd build

It's recommended that you use the ccmake to configure the build system. From inside the build directory, run the ccmake command

ccmake ../

Initally, there will be no options.

Inital Screen

press the c key to configure. Once configured, there will be sever option. Different code in the Stellarator Tools suite of code can be configured to be build by toggling the BUILD_<CODE> from off to on. The build system will automatically turn on any dependencies. You can also set new options like the CMAKE_BUILD_TYPE.

Inital Screen

After changing settings, keep pressing c until the g option appears.

Inital Screen

After hitting g option ccmake will exit and a Makefile will be generated. The codes can be built using the make command.

Touble Shooting

If cmake fails to fine the correct libraries, you may need to set the CMAKE_PREFIX_PATH variable to help locate them.

About

This is an umbrella project for the stellarator community tools.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 64.6%
  • Shell 35.4%