PMEAL / OpenPNM

A Python package for performing pore network modeling of porous media
http://openpnm.org
MIT License
442 stars 175 forks source link

Add spacing and shape function to topotools #2015

Closed jgostick closed 2 years ago

jgostick commented 2 years ago

Now that we've removed many of the methods from the Network classes, the functionality of the good ones should be moved to topotools. Finding the spacing of a cubic network maybe useful.

This was on the Cubic class but was not always assured to work if boundary pores were added or some pores were deleted. If it's a standalone function it makes more sense to raise an error if the network is not suitable for it.

jgostick commented 2 years ago

These are actually now in the openpnm.topotools.generators.tools module with wrappers in the normal topotools file