Stellarator-Tools
|
Interface to convert between full and half mesh using either to_half_mesh or to_half_mesh_p. More...
Public Member Functions | |
subroutine | to_half_mesh (vecf, vech) |
Migrates a full mesh quantity to the half mesh. More... | |
subroutine | to_half_mesh_p (vecf, vech) |
Migrates a full mesh quantity to the half mesh. More... | |
Interface to convert between full and half mesh using either to_half_mesh or to_half_mesh_p.
subroutine utilities::to_half_mesh::to_half_mesh | ( | real (dp), dimension(:,:,:), intent(in), allocatable | vecf, |
real (dp), dimension(:,:,:), intent(inout), allocatable | vech | ||
) |
Migrates a full mesh quantity to the half mesh.
The arrays must be passed in as ALLOCATABLE to preserve the array bounds.
[in] | vecf | Full grid quantity. |
[in,out] | vech | Half grid quantity. |
subroutine utilities::to_half_mesh::to_half_mesh_p | ( | real (dp), dimension(:,:,:), pointer | vecf, |
real (dp), dimension(:,:,:), intent(inout), allocatable | vech | ||
) |
Migrates a full mesh quantity to the half mesh.
The arrays must be passed in as ALLOCATABLE to preserve the array bounds. Full vector grid is passed in as pointer.
[in] | vecf | Full grid quantity. |
[in,out] | vech | Half grid quantity. |