Performs a collective sum of bias tendencies.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(array1d), | intent(inout), | allocatable | :: | db(:) |
subroutine db_co_sum(db)
!! Performs a collective sum of bias tendencies.
type(array1d), allocatable, intent(in out) :: db(:)
integer(ik) :: n
do n = 2, size(db)
#ifdef CAF
call co_sum(db(n) % array)
#endif
end do
end subroutine db_co_sum