V3FIT
Public Member Functions | List of all members
unprimed_grid::unprimed_grid_construct Interface Reference

Interface to constructors. More...

Public Member Functions

type(unprimed_grid_class) function, pointer unprimed_grid_construct_m (mgrid, pgrid, p_start, p_end, parallel, io_unit)
 Construct a unprimed_grid_class object. More...
 
type(unprimed_grid_class) function, pointer unprimed_grid_construct_a (mgrid, pgrid, r_grid, z_grid, dphi, parallel, io_unit)
 Construct a unprimed_grid_class object at specfied points. More...
 

Detailed Description

Interface to constructors.

Definition at line 49 of file unprimed_grid.f.

Member Function/Subroutine Documentation

◆ unprimed_grid_construct_a()

type (unprimed_grid_class) function, pointer unprimed_grid::unprimed_grid_construct::unprimed_grid_construct_a ( type (m_grid_class), intent(in)  mgrid,
type (primed_grid_class), intent(in)  pgrid,
real (rprec), dimension(:,:,:), intent(in)  r_grid,
real (rprec), dimension(:,:,:), intent(in)  z_grid,
real (rprec), intent(in)  dphi,
type (bmw_parallel_context_class), intent(in)  parallel,
integer, intent(in)  io_unit 
)

Construct a unprimed_grid_class object at specfied points.

Allocates memory and initializes a unprimed_grid_class object. This computes the vector potential, magnetic field and positions on the unprimed grid. The primed grid is supplied as arbitrary r and z positions with a uniformly spaced phi grid. Since the primed grid is arbitrary, this function does not compute the magnetic field components. The middle index represents phi positions.

Parameters
[in]mgridA m_grid::m_grid_class object.
[in]pgridA primed_grid::primed_grid_class object.
[in]r_grid3D Array of r positions.
[in]z_grid3D Array of z positions.
[in]dphiPhi grid spacing.
[in]parallelbmw_parallel_context::bmw_parallel_context_class object instance.
[in]io_unitUnit number to write messages to.
Returns
A pointer to a constructed unprimed_grid_class object.

Definition at line 388 of file unprimed_grid.f.

◆ unprimed_grid_construct_m()

type (unprimed_grid_class) function, pointer unprimed_grid::unprimed_grid_construct::unprimed_grid_construct_m ( type (m_grid_class), intent(in)  mgrid,
type (primed_grid_class), intent(in)  pgrid,
integer, intent(in)  p_start,
integer, intent(in)  p_end,
type (bmw_parallel_context_class), intent(in)  parallel,
integer, intent(in)  io_unit 
)

Construct a unprimed_grid_class object.

Allocates memory and initializes a unprimed_grid_class object. This computes the vector potential, magnetic field and positions on the unprimed grid. Magnetic field components are provided on a truncated grid. Due to the central differencing, field componetents cannot be provided for first and last points on the r and z grids.

Parameters
[in]mgridA m_grid::m_grid_class object.
[in]pgridA primed_grid::primed_grid_class object.
[in]p_startStarting phi index to compute fields to.
[in]p_endEnding phi index to compute fields to.
[in]parallelbmw_parallel_context::bmw_parallel_context_class object instance.
[in]io_unitUnit number to write messages to.
Returns
A pointer to a constructed unprimed_grid_class object.

Definition at line 78 of file unprimed_grid.f.


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