def horizontalAdvection(param, u, v): """ horizontal advection """ return DerivedGridFactory.createHorizontalAdvection(param, u, v)
def horizontalAdvection(param, vector): """ horizontal advection """ u = DerivedGridFactory.getUComponent(vector) v = DerivedGridFactory.getVComponent(vector) return DerivedGridFactory.createHorizontalAdvection(param, u, v)
def horizontalAdvection(param, u, v): """ horizontal advection """ return DerivedGridFactory.createHorizontalAdvection(param,u,v)