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