solver_session_get_global_grid_shape Subroutine

public subroutine solver_session_get_global_grid_shape(session, nx, ny, status, message)

Global structured-grid shape. dim=2: (nx_global, ny_global); dim=1: (n_pt_global, 1). Feeds the nx/ny fields of the 2D INITIALIZE and COPY_SOLUTION replies (spec ยง4.2).

Arguments

Type IntentOptional Attributes Name
type(solver_session_t), intent(in) :: session
integer, intent(out) :: nx
integer, intent(out) :: ny
integer, intent(out), optional :: status
character(len=*), intent(out), optional :: message