project_zonal Subroutine

public subroutine project_zonal(self, comm_handler, equi, equi_storage, mesh, map, polars, ind, u, mode)

Project input onto zonal diagnostic dimension nrho

Type Bound

diagnostics_zonal_t

Arguments

Type IntentOptional Attributes Name
class(diagnostics_zonal_t), intent(inout) :: self

Instance of class

type(comm_handler_t), intent(in) :: comm_handler

MPI communication handler

class(equilibrium_t) :: equi
class(equilibrium_storage_t), intent(in) :: equi_storage

Equilibrium storage enabling faster performance at certain locations

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

Mesh within poloidal plane

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

Parallel map

type(polars_t), intent(in) :: polars

Polar grid and operators

integer, intent(in) :: ind

Work index in diagnostics array

real(kind=GP), intent(in), dimension(:) :: u

Input array

character(len=*), intent(in) :: mode

Projection mode, select from : 'ZONAVG' - zonal volume average aka 'flux surface average' 'ZONINT' - zonal volume integral 'SRFAVG' - surface average 'SRFINT' - surface integral


Contents