V_FIELD_1D Derived Type

type, public :: V_FIELD_1D

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).


Inherited by

type~~v_field_1d~~InheritedByGraph type~v_field_1d V_FIELD_1D type~fields FIELDS type~fields->type~v_field_1d E_SC_1D, J0_SC_1D, J1_SC_1D, J2_SC_1D, J3_SC_1D, A1_SC_1D, A2_SC_1D, A3_SC_1D

Contents

Source Code


Components

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


Source Code

  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