-integralsum [<int:flag>]



Identifies the kind of sum of a punched variable. Sums are taken over nodes define by the identifiers -horizon, -layer, -depth, or -node in REACTIVE_TRANSPORT_OUTPUT. 

Details on how sums are calculated are given in REACTIVE_TRANSPORT_OUTPUT.

flag is defined for each punched variable. If not sufficient flag are defined,  flag = -99 is assumed.



flag

int: Integer identifying the kind of sum:


Value

Meaning

-99

[Default] No sum is made. The value of -1E8 is printed in the output

1

Simple sum

2

Sum weighted by water content

-1

Sum of a variable in series 





Sum of a variable in series 


The flag = -1 is only applicable for HP1.

For each element, the value of the variable is calculated as:



where valel is the value for the ith element, and vali-1 and vali are the values at the two nodes of the ith element. The summed variable punched to the output is:


where val is the value punched to the output, L is the length over which the sum is calculated, Nel  is the number of elements, Lel is the length of the elth element, and valel is the value in the elth element.