slice_max_sum_base Subroutine

public subroutine slice_max_sum_base(self, max_val, sum_val, f, i_slice, enforced_data_loc)

Reduces a single slice of f at index i_slice along f's DIR axis. Returns signed max (not abs) and signed sum. No division by count. Caller is responsible for MPI_Allreduce across ranks.

Type Bound

base_backend_t

Arguments

Type IntentOptional Attributes Name
class(base_backend_t) :: self
real(kind=dp), intent(out) :: max_val
real(kind=dp), intent(out) :: sum_val
class(field_t), intent(in) :: f
integer, intent(in) :: i_slice
integer, intent(in), optional :: enforced_data_loc

Called by

proc~~slice_max_sum_base~~CalledByGraph proc~slice_max_sum_base m_base_backend::base_backend_t%slice_max_sum_base proc~compute_outflow_params m_case_cylinder::case_cylinder_t%compute_outflow_params proc~compute_outflow_params->proc~slice_max_sum_base proc~define_bc_cylinder m_case_cylinder::case_cylinder_t%define_BC_cylinder proc~define_bc_cylinder->proc~compute_outflow_params