The Open FUSION Toolkit 1.0.0-8905cc5
Modeling tools for plasma and fusion research and engineering
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
TokaMaker_field_interpolator Class Reference

Detailed Description

Interpolation class for Grad-Shafranov fields.

Public Member Functions

 __del__ (self)
 
 __init__ (self, tMaker_obj, int_obj, int_type, dim, fbary_tol=1.E-8)
 Initialize interpolation object.
 
 eval (self, pt)
 Evaluate field at a given location.
 

Public Attributes

 cell
 
 dim_eval
 
 dim_return
 
 fbary_tol
 
 int_type
 
 val
 

Protected Attributes

 _int_obj
 
 _tMaker_obj
 

Constructor & Destructor Documentation

◆ __init__()

__init__ (   self,
  tMaker_obj,
  int_obj,
  int_type,
  dim,
  fbary_tol = 1.E-8 
)

Initialize interpolation object.

Parameters
tMaker_objAddress of FORTRAN TokaMaker class
int_objAddress of FORTRAN interpolation class
int_typeInterpolation type (see get_field_eval)
dimDimension of vector field
fbary_tolTolerance for physical to logical mapping

◆ __del__()

__del__ (   self)
Destroy underlying interpolation object

Member Function Documentation

◆ eval()

eval (   self,
  pt 
)

Evaluate field at a given location.

Parameters
ptLocation for evaluation [2]
Returns
Field at evaluation point [self.dim_return]

Member Data Documentation

◆ _int_obj

_int_obj
protected

◆ _tMaker_obj

_tMaker_obj
protected

◆ cell

cell

◆ dim_eval

dim_eval

◆ dim_return

dim_return

◆ fbary_tol

fbary_tol

◆ int_type

int_type

◆ val

val

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