map_cart_to_polar Subroutine

public subroutine map_cart_to_polar(mesh, polars, u, upol)

Maps quantity from Cartesian mesh to polar grid

Arguments

Type IntentOptional Attributes Name
type(mesh_cart_t), intent(in) :: mesh

Mesh within poloidal plane

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

Polar grid and matrices

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

Values of field on Cartesian mesh

real(kind=GP), intent(out), dimension(polars%grid%get_ntheta(), polars%grid%get_nrho() ) :: upol

Values of field on polar grid


Contents