V_FIELD_2DX Derived Type

type, public :: V_FIELD_2DX

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)


Inherited by

type~~v_field_2dx~~InheritedByGraph type~v_field_2dx V_FIELD_2DX type~fields FIELDS type~fields->type~v_field_2dx B1Re_2DX, E1Im_2DX, E1Re_2DX, B1Im_2DX

Contents

Source Code


Components

TypeVisibility AttributesNameInitial
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.


Source Code

  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