pyoculus 0.1.1
Loading...
Searching...
No Matches
pyoculus.problems.spec_problem.SPECProblem Class Reference

Abstract class to setup the SPEC system for interfacing Fortran, used in ODE solver. More...

Inheritance diagram for pyoculus.problems.spec_problem.SPECProblem:
pyoculus.problems.spec_bfield.SPECBfield pyoculus.problems.spec_pjh.SPECPJH

Public Member Functions

 __init__ (self, spec_data, lvol)
 Set up the equilibrium for use of the fortran module.
 

Public Attributes

 fortran_module = fortran_module
 
 Mvol = spec_data.output.Mvol
 
 Ntor = spec_data.input.physics.Ntor
 
 Mpol = spec_data.input.physics.Mpol
 
 Igeometry = spec_data.input.physics.Igeometry
 
int NOTstellsym = 0
 
 Nfp = spec_data.input.physics.Nfp
 
float rpol = spec_data.input.physics.rpol
 
float rtor = spec_data.input.physics.rtor
 
 ivol = lvol
 
 Lrad = spec_data.input.physics.Lrad[lvol - 1]
 
tuple Lcoordinatesingularity
 

Detailed Description

Abstract class to setup the SPEC system for interfacing Fortran, used in ODE solver.

Constructor & Destructor Documentation

◆ __init__()

pyoculus.problems.spec_problem.SPECProblem.__init__ ( self,
spec_data,
lvol )

Set up the equilibrium for use of the fortran module.

Parameters
spec_datathe SPEC data generated by py_spec.SPECout
lvolwhich volume we are interested in, from 1 to spec_data.input.Mvol

Reimplemented in pyoculus.problems.spec_bfield.SPECBfield, and pyoculus.problems.spec_pjh.SPECPJH.

Member Data Documentation

◆ fortran_module

pyoculus.problems.spec_problem.SPECProblem.fortran_module = fortran_module

◆ Igeometry

pyoculus.problems.spec_problem.SPECProblem.Igeometry = spec_data.input.physics.Igeometry

◆ ivol

pyoculus.problems.spec_problem.SPECProblem.ivol = lvol

◆ Lcoordinatesingularity

tuple pyoculus.problems.spec_problem.SPECProblem.Lcoordinatesingularity
Initial value:
= (
spec_data.input.physics.Igeometry >= 2 and lvol == 1
)

◆ Lrad

pyoculus.problems.spec_problem.SPECProblem.Lrad = spec_data.input.physics.Lrad[lvol - 1]

◆ Mpol

pyoculus.problems.spec_problem.SPECProblem.Mpol = spec_data.input.physics.Mpol

◆ Mvol

pyoculus.problems.spec_problem.SPECProblem.Mvol = spec_data.output.Mvol

◆ Nfp

pyoculus.problems.spec_problem.SPECProblem.Nfp = spec_data.input.physics.Nfp

◆ NOTstellsym

int pyoculus.problems.spec_problem.SPECProblem.NOTstellsym = 0

◆ Ntor

pyoculus.problems.spec_problem.SPECProblem.Ntor = spec_data.input.physics.Ntor

◆ rpol

float pyoculus.problems.spec_problem.SPECProblem.rpol = spec_data.input.physics.rpol

◆ rtor

float pyoculus.problems.spec_problem.SPECProblem.rtor = spec_data.input.physics.rtor

The documentation for this class was generated from the following file: