The Open FUSION Toolkit 1.0.0-8905cc5
Modeling tools for plasma and fusion research and engineering
|
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.
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(i4) | nf = 0 |
Number of surface faces. | |
real(r8), dimension(:,:), pointer | norm => NULL() |
List of face normals. | |
integer(i4) | order = 3 |
Order of quadrature required. | |
real(r8) | tol =1.d-8 |
Tolerance for on surface test. | |
procedure eval | ( | class(flux_probe), intent(inout) | self, |
real(r8), intent(inout) | tflux | ||
) |
Evalute flux through surface.
procedure setup | ( | class(flux_probe), intent(inout) | self | ) |
Determine surface and setup mappings.
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(i4) nf = 0 |
Number of surface faces.
real(r8), dimension(:,:), pointer norm => NULL() |
List of face normals.
integer(i4) order = 3 |
Order of quadrature required.
real(r8) tol =1.d-8 |
Tolerance for on surface test.