Stellarator-Tools
|
Base class representing a m grid. This is grid contains information about the vacuum fields. More...
Public Member Functions | |
PROCEDURE, pass | interpolate => m_grid_interpolate |
FINAL | m_grid_destruct |
class(m_grid_class) function, pointer | m_grid_construct (mgrid_file_name, parallel, io_unit, vmec) |
Construct a m_grid_class object. More... | |
class(m_grid_class) function, pointer | m_grid_construct_plasma (num_r, num_p, num_z, rmax, rmin, zmax, zmin, parallel, io_unit, vmec) |
Construct a m_grid_class object. More... | |
Public Attributes | |
real(rprec) | rmin |
Minimum R position. | |
real(rprec) | rmax |
Maximum R position. | |
real(rprec) | zmin |
Minimum Z position. | |
real(rprec) | zmax |
Maximum Z position. | |
real(rprec) | dr |
Radial grid size. | |
real(rprec) | dz |
Vertical grid size. | |
integer | nfp |
Number of field periods. | |
real(rprec), dimension(:,:,:), pointer | a_r => null() |
Vector potential in the R direction. | |
real(rprec), dimension(:,:,:), pointer | a_p => null() |
Vector potential in the Phi direction. | |
real(rprec), dimension(:,:,:), pointer | a_z => null() |
Vector potential in the Z direction. | |
Base class representing a m grid. This is grid contains information about the vacuum fields.
Interface for the bmw_commandline_parser constructor.
class (m_grid_class) function, pointer m_grid::m_grid_class::m_grid_construct | ( | character (len=*), intent(in) | mgrid_file_name, |
class (bmw_parallel_context_class), intent(in) | parallel, | ||
integer, intent(in) | io_unit, | ||
class (vmec_file_class), intent(in), pointer | vmec | ||
) |
Construct a m_grid_class object.
Allocates memory and initializes a m_grid_class object with an mgrid file.
[in] | mgrid_file_name | File name for vacuum fields. |
[in] | parallel | bmw_parallel_context_class object instance. |
[in] | io_unit | Unit number to write messages to. |
[in] | vmec | The vmec file object. |
class (m_grid_class) function, pointer m_grid::m_grid_class::m_grid_construct_plasma | ( | integer, intent(in) | num_r, |
integer, intent(in) | num_p, | ||
integer, intent(in) | num_z, | ||
real (rprec), intent(in) | rmax, | ||
real (rprec), intent(in) | rmin, | ||
real (rprec), intent(in) | zmax, | ||
real (rprec), intent(in) | zmin, | ||
class (bmw_parallel_context_class), intent(in) | parallel, | ||
integer, intent(in) | io_unit, | ||
class (vmec_file_class), intent(in), pointer | vmec | ||
) |
Construct a m_grid_class object.
Allocates memory and initializes a m_grid_class for plasma only responce on a manual grid.
[in] | num_r | Number of radial points. |
[in] | num_p | Number of toroidal points. |
[in] | num_z | Number of vertical points. |
[in] | rmax | Maximum radial position. |
[in] | rmin | Minimum radial position. |
[in] | zmax | Maximum vertical position. |
[in] | zmin | Minimum vertical position. |
[in] | parallel | bmw_parallel_context_class object instance. |
[in] | io_unit | Unit number to write messages to. |
[in] | vmec | The vmec file object. |