The Open FUSION Toolkit 1.0.0-beta6
Modeling tools for plasma and fusion research and engineering
Loading...
Searching...
No Matches
xmhd_interp Type Referenceabstract

Detailed Description

Interpolate a xMHD operator fields.

Inheritance diagram for xmhd_interp:

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

type(xmhd_interp_cache), dimension(:), pointer cache => NULL()
 Thread cache.
integer(i4dim = 0
 Dimension of field.
class(oft_hcurl_fem), pointer hcurl_rep => NULL()
 H(Curl) 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 field values (B, 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 [26]

◆ 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

◆ cache

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

Thread cache.

◆ dim

integer(i4) dim = 0
inherited

Dimension of field.

◆ hcurl_rep

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

H(Curl) 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 field values (B, 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: