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
flux_probe Type Reference

Detailed Description

Synthetic flux diagnostic.

Provides setup and driver for computing the flux of a 3-vector at a specified surface.

@Note This method defines the surface using a circular cut plane and requires an internal boundary at the desired surface.

Warning
Currently this diagnostic does not take into account mesh curvature. This may result in errors when the internal boundary intersects a curved boundary.

Public Member Functions

procedure eval (self, tflux)
 Evalute flux through surface.
 
procedure setup (self)
 Determine surface and setup mappings.
 

Public Attributes

class(fem_interp), pointer b => NULL()
 Interpolation operator for field.
 
integer(i4), dimension(:), pointer cells => NULL()
 List of cells containing face.
 
integer(i4), dimension(:), pointer find => NULL()
 List of face indices in cell.
 
real(r8), dimension(3) hcpc = 0.d0
 Center coordinate for circular cut plane.
 
real(r8), dimension(3) hcpv = 0.d0
 Normal vector for circular cut plane.
 
class(oft_mesh), pointer mesh => NULL()
 Mesh containing field.
 
integer(i4nf = 0
 Number of surface faces.
 
real(r8), dimension(:,:), pointer norm => NULL()
 List of face normals.
 
integer(i4order = 3
 Order of quadrature required.
 
real(r8tol =1.d-8
 Tolerance for on surface test.
 

Member Function/Subroutine Documentation

◆ eval()

procedure eval ( class(flux_probe), intent(inout)  self,
real(r8), intent(inout)  tflux 
)

Evalute flux through surface.

◆ setup()

procedure setup ( class(flux_probe), intent(inout)  self)

Determine surface and setup mappings.

Member Data Documentation

◆ b

class(fem_interp), pointer b => NULL()

Interpolation operator for field.

◆ cells

integer(i4), dimension(:), pointer cells => NULL()

List of cells containing face.

◆ find

integer(i4), dimension(:), pointer find => NULL()

List of face indices in cell.

◆ hcpc

real(r8), dimension(3) hcpc = 0.d0

Center coordinate for circular cut plane.

◆ hcpv

real(r8), dimension(3) hcpv = 0.d0

Normal vector for circular cut plane.

◆ mesh

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

Mesh containing field.

◆ nf

integer(i4) nf = 0

Number of surface faces.

◆ norm

real(r8), dimension(:,:), pointer norm => NULL()

List of face normals.

◆ order

integer(i4) order = 3

Order of quadrature required.

◆ tol

real(r8) tol =1.d-8

Tolerance for on surface test.


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