Calculates throat vector as straight path between connected pores.
target (OpenPNM Base object) – Object with which this model is associated. This controls the length of the calculated array, and also provides access to other necessary properties.
unit_vec – A [Nt-by-3] numpy ndarray containing pore-to-pore unit vectors
- Return type
There is an important impicit assumption here: the positive direction is taken as the direction from the pore with the lower index to the higher. This corresponds to the pores in the 1st and 2nd columns of the ‘throat.conns’ array as stored on the network.