def timeStepSum(field, offset=-1): """set the value of each time step N: D(N)= D(N) + D(N+offset) where offset should be negative """ offset = int(offset) return GridMath.timeStepSum(field, offset)
def timeStepSum(field,offset=-1): """set the value of each time step N: D(N)= D(N) + D(N+offset) where offset should be negative """ offset = int(offset) return GridMath.timeStepSum(field,offset);