KORC 1-D vector field type
This KORC type represents a 1-D vector field varible in cylindrical coordinates. For example, this could be the magnetic field in an axisymmetric plasma, which can be written as All the members (components) of the V_FIELD_1D type follow the following index convention: ( index).
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=rp), | public, | DIMENSION(:), ALLOCATABLE | :: | R | component of the vector field variable. |
||
real(kind=rp), | public, | DIMENSION(:), ALLOCATABLE | :: | PHI | component of the vector field variable. |
||
real(kind=rp), | public, | DIMENSION(:), ALLOCATABLE | :: | Z | component of the vector field variable. |
TYPE, PUBLIC :: V_FIELD_1D
!! @note KORC 1-D vector field type @endnote
!! This KORC type represents a 1-D vector field varible in cylindrical
!! coordinates. For example, this could be the magnetic
!! field in an axisymmetric plasma, which can be written as
!! $$\mathbf{B}(r) = B_R(r) \hat{R} + B_\phi(r) \hat{\phi} + B_Z(r)
!! \hat{Z}.$$
!! All the members (components) of the V_FIELD_1D type follow the
!! following index convention:
!! (\(r\) index).
REAL(rp), DIMENSION(:), ALLOCATABLE :: R
!! \(R \) component of the vector field variable.
REAL(rp), DIMENSION(:), ALLOCATABLE :: PHI
!! \(\phi \) component of the vector field variable.
REAL(rp), DIMENSION(:), ALLOCATABLE :: Z
!! \(Z \) component of the vector field variable.
END TYPE V_FIELD_1D