pmgbergen / porepy

Python Simulation Tool for Fractured and Deformable Porous Media
GNU General Public License v3.0
246 stars 88 forks source link

Cleanup of fvutils #476

Open keileg opened 3 years ago

keileg commented 3 years ago

pp.numerics.fv.fvutils is now a mixture of utility functions for finite volume discretizations and more general utilities. It should be cleaned up, so that functionality of use beyond pure FV goes somewhere else. The module will then be renamed _fvutils, to mark its status.

Proposed changes:

Other changes may also be included; more to come.

keileg commented 2 years ago

This will partly be taken care of by #613.

To complete the task, methods relating to index operations should be moved to a separate module (pp/utils/index_operations.py?), and be merged there with pp.mcolon.mcolon, and possibly other operations. Another day..