The Open FUSION Toolkit 26.9
An open-source framework for fusion and plasma science and engineering
Loading...
Searching...
No Matches
Lagrange_surface_field_interpolator Class Reference

Detailed Description

Interpolation class for surface Lagrange FE fields.

Inheritance diagram for Lagrange_surface_field_interpolator:

Public Member Functions

 __del__ (self)
 __init__ (self, oft_env, fe_obj, values, int_type, fbary_tol=1.E-8)
 Initialize interpolation object.
 eval (self, pts)
 Evaluate field at a given location.

Public Attributes

 cell = c_int(-1)
int dim = 1
 fbary_tol = c_double(fbary_tol)

Protected Attributes

int _dim_eval = self.dim
 _fe_obj = fe_obj
 _int_obj = c_void_p()
int _int_type = 211
 _oft_env = oft_env

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
oft_env,
fe_obj,
values,
int_type,
fbary_tol = 1.E-8 )

Initialize interpolation object.

Parameters
fe_objAddress of Fortran FE object
valuesFE weight vector
int_typeInterpolation type (should be 1 or 2)
fbary_tolTolerance for physical to logical mapping

◆ __del__()

__del__ ( self)
Destroy underlying interpolation object

Member Function Documentation

◆ eval()

eval ( self,
pts )

Evaluate field at a given location.

Parameters
ptsLocation for evaluation [3] or [n,3]
Returns
Field at evaluation point [self.dim]

Reimplemented in Lagrange_2D_field_interpolator.

Member Data Documentation

◆ _dim_eval

_dim_eval = self.dim
protected

◆ _fe_obj

_fe_obj = fe_obj
protected

◆ _int_obj

_int_obj = c_void_p()
protected

◆ _int_type

_int_type = 211
protected

◆ _oft_env

_oft_env = oft_env
protected

◆ cell

cell = c_int(-1)

◆ dim

int dim = 1

◆ fbary_tol

fbary_tol = c_double(fbary_tol)

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