handling pressure sign in getFlowTensorDP.