Stellarator and Tokamak Modeling and Meshing Software (STOMMS)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
MagneticGeometryEqdsk Class Reference
Inheritance diagram for MagneticGeometryEqdsk:
MagneticGeometry

Public Member Functions

 MagneticGeometryEqdsk (const ModelMetaData &modelMetaData, const WallCurve &wall, const Inputs &input)
 
double getPsiAxis () const override
 
double getPsiCoreBoundary () const override
 
ReactorType getReactorType () const override
 
const std::map< int, std::vector< PhysicsPoint > > & getOPoints () const override
 
const std::map< int, std::vector< PhysicsPoint > > & getXPoints () const override
 
const Model & getModel () const override
 
const std::vector< Plane > & getPlanes () const override
 
const GridFieldData & getGridFieldData () const override
 
- Public Member Functions inherited from MagneticGeometry
virtual ~MagneticGeometry ()=default
 

Detailed Description

A class to hold magnetic geometry of tokamaks along with the construction of actual geometry (model).

Constructor & Destructor Documentation

◆ MagneticGeometryEqdsk()

MagneticGeometryEqdsk::MagneticGeometryEqdsk ( const ModelMetaData &  modelMetaData,
const WallCurve &  wall,
const Inputs &  input 
)

Constructor to set magnetic geometry information from EQDSK to class MagneticGeometry.

Parameters
wallphsyical wall curve of the reactor. Needed for critical point search and flux curves (open and separatrix) generation.
inputclass holding all the input data.

Member Function Documentation

◆ getGridFieldData()

const GridFieldData & MagneticGeometryEqdsk::getGridFieldData ( ) const
overridevirtual

Function to return magnetic field data on the background grid.

Implements MagneticGeometry.

◆ getModel()

const Model & MagneticGeometryEqdsk::getModel ( ) const
overridevirtual

Function to get model associated with tokamak geometry.

Implements MagneticGeometry.

◆ getOPoints()

const std::map< int, std::vector< PhysicsPoint > > & MagneticGeometryEqdsk::getOPoints ( ) const
overridevirtual

Function to get a map between plane number and vector of OPoints. Key in map: plane number (id) Value in map: a vector of OPoints on the plane.

Implements MagneticGeometry.

◆ getPlanes()

const std::vector< Plane > & MagneticGeometryEqdsk::getPlanes ( ) const
overridevirtual

Function to get all the geometric information on individual planes. Only one plane for tokamaks.

Implements MagneticGeometry.

◆ getPsiAxis()

double MagneticGeometryEqdsk::getPsiAxis ( ) const
overridevirtual

A function to return psi value of the axis in the tokamak domain.

Returns
psi value of the axis.

Implements MagneticGeometry.

◆ getPsiCoreBoundary()

double MagneticGeometryEqdsk::getPsiCoreBoundary ( ) const
overridevirtual

A function to return psi value at the boundary of core region.

Implements MagneticGeometry.

◆ getReactorType()

ReactorType MagneticGeometryEqdsk::getReactorType ( ) const
inlineoverridevirtual

A fucntion to get the reactor type of geometry (stellarator/tokamak).

Implements MagneticGeometry.

◆ getXPoints()

const std::map< int, std::vector< PhysicsPoint > > & MagneticGeometryEqdsk::getXPoints ( ) const
overridevirtual

Function to get a map between plane number and vector of XPoints. Key in map: plane number (id) Value in map: a vector of XPoints on the plane.

Implements MagneticGeometry.