sum_1d Subroutine

public subroutine sum_1d(val, res, undef)

Calculation of sum for 1D variable

Arguments

Type IntentOptional Attributes Name
double precision, intent(in) :: val(:)

input

double precision, intent(out) :: res

output

double precision, intent(in), optional :: undef