The Open FUSION Toolkit 1.0.0-8905cc5
Modeling tools for plasma and fusion research and engineering
|
Interpolation class for an axisymmetric gaussian source in toroidal geometry.
In toroidal coordinates defined by the class the scalar field is defined as
\[ S = e^{-\frac{r^2}{\lambda}} \]
Public Member Functions | |
procedure | delete (self) |
Delete reconstruction object. | |
procedure(oft_fem_interp), deferred | interp (self, cell, f, gop, val) |
Reconstruct field. | |
procedure | interp (self, cell, f, gop, val) |
Reconstruct field. | |
Public Attributes | |
integer(i4) | dim = 0 |
Dimension of field. | |
real(r8) | lam = 1.d0 |
Source width parameter. | |
class(oft_mesh), pointer | mesh => NULL() |
Mesh for interpolation. | |
class(fem_interp), pointer | parent => NULL() |
Parent interpolator. | |
real(r8) | r0 = 1.d0 |
Major radius. | |
real(r8) | z = 0.d0 |
Z-axis offset. | |
|
inherited |
Delete reconstruction object.
|
pure virtualinherited |
Reconstruct field.
procedure interp | ( | class(oft_scalar_torus), 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.
[in] | cell | Cell for interpolation |
[in] | f | Position in cell in logical coord [4] |
[in] | gop | Logical gradient vectors at f [3,4] |
[out] | val | Reconstructed field at f [1] |
|
inherited |
Dimension of field.
real(r8) lam = 1.d0 |
Source width parameter.
|
inherited |
Mesh for interpolation.
|
inherited |
Parent interpolator.
real(r8) r0 = 1.d0 |
Major radius.
real(r8) z = 0.d0 |
Z-axis offset.