pyoculus.utils.fortran

fortran.py

Setup the SPEC fortran module variables.

authors:

Functions

setup_fortran_module(spec_data, lvol)

Initialize the variables for the fortran module.

pyoculus.utils.fortran.setup_fortran_module(spec_data, lvol)

Initialize the variables for the fortran module.

Parameters:
  • spec_data – the SPEC data generated by py_spec.SPECout

  • lvol – Which volume we are interested in, from 1 to spec_data.input.Mvol