padded_cells Function

public pure function padded_cells(dims, sz) result(n)

Cell count of one padded field at dims (x, y padded to sz, z untouched). i8 so callers can multiply by field count/nbytes without overflow, as the allocator's own int32 ngrid does for very large grids.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: dims(3)
integer, intent(in) :: sz

Return Value integer(kind=i8)


Calls

proc~~padded_cells~~CallsGraph proc~padded_cells m_memory_estimate::padded_cells proc~padded_dim m_allocator::padded_dim proc~padded_cells->proc~padded_dim

Called by

proc~~padded_cells~~CalledByGraph proc~padded_cells m_memory_estimate::padded_cells proc~fields_plus_halo_bytes_n m_memcheck_estimate::fields_plus_halo_bytes_n proc~fields_plus_halo_bytes_n->proc~padded_cells proc~estimate_for_num_gpus m_memcheck_estimate::estimate_for_num_gpus proc~estimate_for_num_gpus->proc~fields_plus_halo_bytes_n proc~run_build_mode m_memcheck_build::run_build_mode proc~run_build_mode->proc~fields_plus_halo_bytes_n proc~run_build_mode->proc~estimate_for_num_gpus proc~print_requested_line m_memcheck_report::print_requested_line proc~print_requested_line->proc~estimate_for_num_gpus proc~report m_memcheck_report::report proc~report->proc~estimate_for_num_gpus proc~report->proc~print_requested_line program~x3d2_memcheck x3d2_memcheck program~x3d2_memcheck->proc~run_build_mode program~x3d2_memcheck->proc~report