Library for discretized vector fields