![]() |
Stellarator-Tools
|
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. | |
Interface to take the gradianet from full to half mesh using either GradientHalf or GradientHalf_p.
| 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.
| [in,out] | gradienth | Gradient on the half grid. |
| [in] | vecf | Full grid quantity. |
| 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.
| [in,out] | gradienth | Gradient on the half grid. |
| [in] | vecf | Full grid quantity. |