Skip to content

OpenPNM forces manually-passed conns to be in ascending order #2205

Discussion options

You must be logged in to vote

Hi Georgy,

As you have guessed, that's a feature :) Since in openpnm (at least as of now), we don't support bidirectional throats, sorting network conns in an ascending order ensures that the adjacency matrix is always upper triangular, which can later be leveraged to speed up certain topological queries/manipulations.

Finally, like you said, that doesn't (shouldn't) affect any results downstream, it's just more optimized this way.

Best,
Amin

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by ma-sadeghi
Comment options

You must be logged in to vote
1 reply
@ma-sadeghi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants