Stellarator-Tools
All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros Pages
utilities::gradienthalf Interface Reference

Interface to take the gradianet from full to half mesh using either GradientHalf or GradientHalf_p. More...

Public Member Functions

subroutine gradienthalf (gradienth, vecf)
 Calculate the gradient to the half mesh from a full mesh quantity.
 
subroutine gradienthalf_p (gradienth, vecf)
 Calculate the gradient to the half mesh from a full mesh quantity.
 

Detailed Description

Interface to take the gradianet from full to half mesh using either GradientHalf or GradientHalf_p.

Constructor & Destructor Documentation

◆ gradienthalf()

subroutine utilities::gradienthalf::gradienthalf (   gradienth,
real (dp), dimension(:,:,:), intent(in), allocatable  vecf 
)

Calculate the gradient to the half mesh from a full mesh quantity.

The arrays must be passed in as ALLOCATABLE to preserve the array bounds.

Parameters
[in,out]gradienthGradient on the half grid.
[in]vecfFull grid quantity.

Member Function/Subroutine Documentation

◆ gradienthalf_p()

subroutine utilities::gradienthalf::gradienthalf_p (   gradienth,
real (dp), dimension(:,:,:), pointer  vecf 
)

Calculate the gradient to the half mesh from a full mesh quantity.

The arrays must be passed in as ALLOCATABLE to preserve the array bounds. Full vector is passed in as a pointer.

Parameters
[in,out]gradienthGradient on the half grid.
[in]vecfFull grid quantity.

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