summation

openpnm.models.misc.summation(target, props=[])[source]

Sums the values in the given arrays

Parameters
  • target (Base) – The object which this model is associated with. This controls the length of the calculated array, and also provides access to other necessary properties.

  • props (list of dictionary keys) – The dictionary keys pointing the arrays whose elements should be summed