Stellarator-Tools
utilities::to_half_mesh Interface Reference

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...
 

Detailed Description

Interface to convert between full and half mesh using either to_half_mesh or to_half_mesh_p.

Constructor & Destructor Documentation

◆ to_half_mesh()

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.

Parameters
[in]vecfFull grid quantity.
[in,out]vechHalf grid quantity.

Member Function/Subroutine Documentation

◆ to_half_mesh_p()

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.

Parameters
[in]vecfFull grid quantity.
[in,out]vechHalf grid quantity.

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