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 | List of all members
xmhd_interp Type Referenceabstract

Detailed Description

Interpolate a xMHD operator fields.

Inheritance diagram for xmhd_interp:
Inheritance graph
[legend]

Public Member Functions

procedure delete (self)
 Delete reconstruction object.
 
procedure delete (self)
 Destroy temporary internal storage.
 
procedure(oft_fem_interp), deferred interp (self, cell, f, gop, val)
 Reconstruct field.
 
procedure interp (self, cell, f, gop, val)
 Reconstruct field.
 
procedure setup (self, mesh)
 Retrieve local values for interpolation.
 

Public Attributes

real(r8), dimension(:), pointer, contiguous bcurl_loc => NULL()
 Local HCurl values (Curl)
 
real(r8), dimension(:), pointer, contiguous bgrad_loc => NULL()
 Local HCurl values (Grad)
 
type(xmhd_interp_cache), dimension(:), pointer cache => NULL()
 Thread local field cache.
 
class(oft_hcurl_fem), pointer curl_rep => NULL()
 H(Curl) FE representation.
 
integer(i4dim = 0
 Dimension of field.
 
class(oft_h1_fem), pointer grad_rep => NULL()
 Grad(H^1) FE representation.
 
real(r8), dimension(:), pointer, contiguous j2_loc => NULL()
 Local hyper-res aux values (HCurl)
 
class(oft_scalar_fem), pointer lag_rep => NULL()
 Lagrange FE representation.
 
real(r8), dimension(:,:), pointer, contiguous lf_loc => NULL()
 Local Lagrange values (V,N,Ti)
 
class(oft_mesh), pointer mesh => NULL()
 Mesh for interpolation.
 
real(r8), dimension(:), pointer, contiguous n2_loc => NULL()
 Local hyper-diff aux values.
 
class(fem_interp), pointer parent => NULL()
 Parent interpolator.
 
real(r8), dimension(:), pointer, contiguous te_loc => NULL()
 Local Te values.
 
class(oft_vector), pointer u => NULL()
 Field to interpolate.
 

Member Function/Subroutine Documentation

◆ delete() [1/2]

procedure delete ( class(fem_interp), intent(inout)  self)
inherited

Delete reconstruction object.

◆ delete() [2/2]

procedure delete ( class(xmhd_interp), intent(inout)  self)

Destroy temporary internal storage.

Parameters
[in,out]selfInterpolation object

◆ interp() [1/2]

procedure(oft_fem_interp), deferred interp ( class(fem_interp), intent(inout)  self,
integer(i4), intent(in)  cell,
real(r8), dimension(:), intent(in)  f,
real(r8), dimension(3,4), intent(in)  gop,
real(r8), dimension(:), intent(out)  val 
)
pure virtualinherited

Reconstruct field.

◆ interp() [2/2]

procedure interp ( class(xmhd_interp), intent(inout)  self,
integer(i4), intent(in)  cell,
real(r8), dimension(:), intent(in)  f,
real(r8), dimension(3,4), intent(in)  gop,
real(r8), dimension(:), intent(out)  val 
)

Reconstruct field.

Parameters
[in,out]selfInterpolation object
[in]cellCell for interpolation
[in]fPosition in cell in logical coord [4]
[in]gopLogical gradient vectors at f [3,4]
[out]valReconstructed field at f [30]

◆ setup()

procedure setup ( class(xmhd_interp), intent(inout)  self,
class(oft_mesh), intent(inout), target  mesh 
)

Retrieve local values for interpolation.

  • Fetches local vector values for interpolation
    Parameters
    [in,out]selfInterpolation object

Member Data Documentation

◆ bcurl_loc

real(r8), dimension(:), pointer, contiguous bcurl_loc => NULL()

Local HCurl values (Curl)

◆ bgrad_loc

real(r8), dimension(:), pointer, contiguous bgrad_loc => NULL()

Local HCurl values (Grad)

◆ cache

type(xmhd_interp_cache), dimension(:), pointer cache => NULL()

Thread local field cache.

◆ curl_rep

class(oft_hcurl_fem), pointer curl_rep => NULL()

H(Curl) FE representation.

◆ dim

integer(i4) dim = 0
inherited

Dimension of field.

◆ grad_rep

class(oft_h1_fem), pointer grad_rep => NULL()

Grad(H^1) FE representation.

◆ j2_loc

real(r8), dimension(:), pointer, contiguous j2_loc => NULL()

Local hyper-res aux values (HCurl)

◆ lag_rep

class(oft_scalar_fem), pointer lag_rep => NULL()

Lagrange FE representation.

◆ lf_loc

real(r8), dimension(:,:), pointer, contiguous lf_loc => NULL()

Local Lagrange values (V,N,Ti)

◆ mesh

class(oft_mesh), pointer mesh => NULL()
inherited

Mesh for interpolation.

◆ n2_loc

real(r8), dimension(:), pointer, contiguous n2_loc => NULL()

Local hyper-diff aux values.

◆ parent

class(fem_interp), pointer parent => NULL()
inherited

Parent interpolator.

◆ te_loc

real(r8), dimension(:), pointer, contiguous te_loc => NULL()

Local Te values.

◆ u

class(oft_vector), pointer u => NULL()

Field to interpolate.


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