示例#1
0
文件: grid.py 项目: relaxar/mcidasv
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)
示例#2
0
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);