create_polar_map_matrix Subroutine

public subroutine create_polar_map_matrix(polar_map_csr, equi, mesh, polar_grid, intorder, dbgout)

Creates matrix that maps a field from Cartesian to polar mesh

Arguments

Type IntentOptional Attributes Name
type(csrmat_t), intent(out), allocatable :: polar_map_csr

Created polar map matrix in CSR format

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

Equilibrium

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

Cartesian mesh

type(polar_grid_t), intent(in) :: polar_grid

Polar grid

integer, intent(in) :: intorder

Interpolation order of the mapping

integer, intent(in), optional :: dbgout

Specifies the number of information printed on screen