XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Types | Public Member Functions | List of all members
fld_module Module Reference

Data Types

type  fld_type
 

Public Member Functions

subroutine fld_convert_cyl_to_mag (fld, fld_mag)
 Converts grad(phi) and grad(A) from cylindrical coordinates to a basis of field-aligned vectors. More...
 
subroutine fld_convert_mag_to_cyl (fld, fld_mag)
 Converts grad(phi) and grad(A) from field-aligned basis representation to cylindrical coordinates. More...
 

Member Function/Subroutine Documentation

subroutine fld_module::fld_convert_cyl_to_mag ( type(fld_type), intent(in)  fld,
real (kind=8), dimension(3), intent(out)  fld_mag 
)

Converts grad(phi) and grad(A) from cylindrical coordinates to a basis of field-aligned vectors.

Parameters
[in]fldField data in cylindrical coordinates, type(fld_type)
[out]fld_maggrad(phi) and grad(A) in field-aligned basis, real(8)
subroutine fld_module::fld_convert_mag_to_cyl ( type(fld_type), intent(inout)  fld,
real (kind=8), dimension(3), intent(in)  fld_mag 
)

Converts grad(phi) and grad(A) from field-aligned basis representation to cylindrical coordinates.

Parameters
[in,out]fldField data in cylindrical coordinates, type(fld_type)
[in]fld_maggrad(phi) and grad(A) in field-aligned basis, real(8)

The documentation for this module was generated from the following file: