parallel_gradient_nonaligned Subroutine

public subroutine parallel_gradient_nonaligned(comm_handler, equi, mesh, map, u, pargradu, order)

Computes parallel gradient at 3D staggered positions Based on gradient_3D_staggered

Arguments

Type IntentOptional Attributes Name
type(comm_handler_t), intent(in) :: comm_handler

Communicator

class(equilibrium_t), intent(inout) :: equi

Equilibrium

type(mesh_cart_t), intent(inout) :: mesh

Mesh within poloidal plane

type(parallel_map_t), intent(in) :: map

Parallel map

type(variable_t), intent(in) :: u

Variable, must be defined on canonical grid

real(kind=GP), intent(out), dimension(mesh%get_n_points()) :: pargradu

Values of parallel gradient

integer, intent(in), optional :: order

Order of scheme default: 2


Contents