The Open FUSION Toolkit 1.0.0-beta6
Modeling tools for plasma and fusion research and engineering
Loading...
Searching...
No Matches
diagnostic.F90 File Reference
#include "local.h"

Data Types

type  field_probe
 Synthetic field diagnostic. More...
type  flux_probe
 Synthetic flux diagnostic. More...

Modules

module  diagnostic
 Classes and subroutines used for synthetic diagnostics.

Functions/Subroutines

real(r8) function bscal_surf_int (mesh, field, quad_order, reg_mask)
 Evaluate the boundary integral of a boundary scalar field.
subroutine field_probe_eval (self, vals)
 Evalute field at all probe locations.
subroutine field_probe_save (self, time)
 Sample and save the result to the history file.
subroutine field_probe_setup (self, npts, pts, filename)
 Initialize point list and setup ownership.
subroutine field_probe_setup_save (self, filename)
 Setup history file for repeated saves.
subroutine flux_probe_eval (self, tflux)
 Needs docs.
subroutine flux_probe_setup (self)
 Needs docs.
subroutine project_points_to_boundary (mesh, npts, pts, order)
 Project a set of points to the mesh boundary.
real(r8) function scal_energy (mesh, field, quad_order)
 Evaluate the field energy of a scalar.
real(r8) function scal_int (mesh, field, quad_order)
 Evaluate the volume integral of a scalar.
real(r8) function scal_surf_int (mesh, field, quad_order)
 Evaluate the boundary integral of a scalar field.
real(r8) function tfluxfun (mesh, field, quad_order, axis)
 Evaluate the toroidally averaged toroidal flux of a 3-vector.
real(r8) function vec_energy (mesh, field, quad_order)
 Evaluate the field energy of a 3-vector.
real(r8) function vec_surf_int (mesh, field, quad_order)
 Evaluate the boundary flux of a vector field.
real(r8) function weighted_vec_energy (mesh, field, weight, quad_order)
 Evaluate the field energy of a 3-vector with a scalar weight field.