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

Detailed Description

Interpolation class for 2D Lagrange FE fields.

Inheritance diagram for Lagrange_2D_field_interpolator:

Public Member Functions

 __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 21 or 22)
fbary_tolTolerance for physical to logical mapping

Member Function Documentation

◆ eval()

eval ( self,
pts )

Evaluate field at a given location.

Parameters
ptsLocation for evaluation [2] or [n,2]
Returns
Field at evaluation point [self.dim_return]

Reimplemented from Lagrange_surface_field_interpolator.

Member Data Documentation

◆ _dim_eval

_dim_eval = self.dim
protectedinherited

◆ _fe_obj

_fe_obj = fe_obj
protectedinherited

◆ _int_obj

_int_obj = c_void_p()
protectedinherited

◆ _int_type

_int_type = 211
protectedinherited

◆ _oft_env

_oft_env = oft_env
protectedinherited

◆ cell

cell = c_int(-1)
inherited

◆ dim

int dim = 1
inherited

◆ fbary_tol

fbary_tol = c_double(fbary_tol)
inherited

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