create_cart_map_matrix Subroutine

public subroutine create_cart_map_matrix(cart_map_csr, equi, mesh, polar_grid, intorder, dbgout)

Creates matrix that maps a field from polar mesh to Cartesian mesh (only for closed field line region)

Arguments

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

Created Cartesian 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


Calls

proc~~create_cart_map_matrix~~CallsGraph proc~create_cart_map_matrix create_cart_map_matrix interface~get_district mesh_cart_t%get_district proc~create_cart_map_matrix->interface~get_district interface~get_drho polar_grid_t%get_drho proc~create_cart_map_matrix->interface~get_drho interface~get_dtheta polar_grid_t%get_dtheta proc~create_cart_map_matrix->interface~get_dtheta interface~get_n_points mesh_cart_t%get_n_points proc~create_cart_map_matrix->interface~get_n_points interface~get_nrho polar_grid_t%get_nrho proc~create_cart_map_matrix->interface~get_nrho interface~get_ntheta polar_grid_t%get_ntheta proc~create_cart_map_matrix->interface~get_ntheta interface~get_phi mesh_cart_t%get_phi proc~create_cart_map_matrix->interface~get_phi interface~get_rhopol_min polar_grid_t%get_rhopol_min proc~create_cart_map_matrix->interface~get_rhopol_min interface~get_x mesh_cart_t%get_x proc~create_cart_map_matrix->interface~get_x interface~get_y mesh_cart_t%get_y proc~create_cart_map_matrix->interface~get_y proc~cart_to_polar cart_to_polar proc~create_cart_map_matrix->proc~cart_to_polar proc~get_stdout get_stdout proc~create_cart_map_matrix->proc~get_stdout proc~interpol_coeffs interpol_coeffs proc~create_cart_map_matrix->proc~interpol_coeffs proc~is_master is_master proc~create_cart_map_matrix->proc~is_master proc~sortsum csrmat_t%sortsum proc~create_cart_map_matrix->proc~sortsum rho rho proc~cart_to_polar->rho dgetrf dgetrf proc~interpol_coeffs->dgetrf dgetri dgetri proc~interpol_coeffs->dgetri proc~get_stderr get_stderr proc~interpol_coeffs->proc~get_stderr sgetrf sgetrf proc~interpol_coeffs->sgetrf sgetri sgetri proc~interpol_coeffs->sgetri mpi_comm_rank mpi_comm_rank proc~is_master->mpi_comm_rank