![]() |
V3FIT
|
Defines the base class of the type m_grid_class. This contains the state variables to define the vacuum vector potential. More...
Data Types | |
| type | m_grid_class |
| Base class representing a m grid. This is grid contains information about the vacuum fields. More... | |
Functions/Subroutines | |
| type(m_grid_class) function, pointer | m_grid_construct (mgrid_file_name, parallel, io_unit) |
| Construct a m_grid_class object. More... | |
| subroutine | m_grid_destruct (this) |
| Deconstruct a m_grid_class object. More... | |
| pure subroutine | m_grid_interpolate (this, r, phi, z, ar, ap, az) |
| Interpolate the vector potential at a point. More... | |
| pure real(rprec) function | m_grid_intf (w1, w2, x) |
Defines the base class of the type m_grid_class. This contains the state variables to define the vacuum vector potential.
| type (m_grid_class) function, pointer m_grid::m_grid_construct | ( | character (len=*), intent(in) | mgrid_file_name, |
| type (bmw_parallel_context_class), intent(in) | parallel, | ||
| integer, intent(in) | io_unit | ||
| ) |
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. |
| subroutine m_grid::m_grid_destruct | ( | type (m_grid_class), pointer | this | ) |
Deconstruct a m_grid_class object.
Deallocates memory and uninitializes a m_grid_class object.
| [in,out] | this | A m_grid_class instance. |
| pure subroutine m_grid::m_grid_interpolate | ( | type (m_grid_class), intent(in) | this, |
| real (rprec), intent(in) | r, | ||
| real (rprec), intent(in) | phi, | ||
| real (rprec), intent(in) | z, | ||
| real (rprec), intent(out) | ar, | ||
| real (rprec), intent(out) | ap, | ||
| real (rprec), intent(out) | az | ||
| ) |
Interpolate the vector potential at a point.
This interpolates the vector potential to from the mgrid grid to an arbitrary point. This performs a trilinear interpolation.
| [in] | this | A m_grid_class instance. |
| [in] | r | Radial position to interpolate to. |
| [in] | phi | Phi position to interpolate to. |
| [in] | z | Vertical position to interpolate to. |
| [out] | ar | Interpolated radial component of the vector potential. |
| [out] | ap | Interpolated phi component of the vector potential. |
| [out] | az | Interpolated vertial component of the vector potential. |
1.8.17