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

Public Member Functions

virtual ~MagneticGeometry ()=default
 
virtual double getPsiAxis () const =0
 
virtual double getPsiCoreBoundary () const =0
 
virtual ReactorType getReactorType () const =0
 
virtual const std::map< int, std::vector< PhysicsPoint > > & getOPoints () const =0
 
virtual const std::map< int, std::vector< PhysicsPoint > > & getXPoints () const =0
 
virtual const ModelgetModel () const =0
 
virtual const std::vector< Plane > & getPlanes () const =0
 

Constructor & Destructor Documentation

◆ ~MagneticGeometry()

virtual MagneticGeometry::~MagneticGeometry ( )
virtualdefault

Member Function Documentation

◆ getModel()

virtual const Model & MagneticGeometry::getModel ( ) const
pure virtual

Function to get model associated with geometry.

Implemented in MagneticGeometryForStellarator, and MagneticGeometryForTokamak.

◆ getOPoints()

virtual const std::map< int, std::vector< PhysicsPoint > > & MagneticGeometry::getOPoints ( ) const
pure virtual

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.

Implemented in MagneticGeometryForStellarator, and MagneticGeometryForTokamak.

◆ getPlanes()

virtual const std::vector< Plane > & MagneticGeometry::getPlanes ( ) const
pure virtual

Function to get all the geometric information on individual planes.

Implemented in MagneticGeometryForStellarator, and MagneticGeometryForTokamak.

◆ getPsiAxis()

virtual double MagneticGeometry::getPsiAxis ( ) const
pure virtual

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

Implemented in MagneticGeometryForStellarator, and MagneticGeometryForTokamak.

◆ getPsiCoreBoundary()

virtual double MagneticGeometry::getPsiCoreBoundary ( ) const
pure virtual

A function to return psi value of the xore region boundary in the domain. Mainly needed for normalization. In VMEC, its last flux curve psi. In the case of tokamaks, its innermost separatrix curve (x-point).

Implemented in MagneticGeometryForStellarator, and MagneticGeometryForTokamak.

◆ getReactorType()

virtual ReactorType MagneticGeometry::getReactorType ( ) const
pure virtual

A function to return the reactor type.

Implemented in MagneticGeometryForStellarator, and MagneticGeometryForTokamak.

◆ getXPoints()

virtual const std::map< int, std::vector< PhysicsPoint > > & MagneticGeometry::getXPoints ( ) const
pure virtual

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.

Implemented in MagneticGeometryForStellarator, and MagneticGeometryForTokamak.