SimVascular / svZeroDSolver-Archived

A Python lumped-parameter solver for blood flow and pressure in hemodynamic networks
Other
12 stars 15 forks source link

Move to installation via pip #59

Closed richterjakob closed 2 years ago

richterjakob commented 2 years ago

The installation of the svZeroDSolver has been faciliated by configuring it as a pip package. The package with all its dependencies can now be installed via pip:

pip install git+https://github.com/SimVascular/svZeroDSolver.git

This makes it easier to implement the solver as a package in another tool (like SimVascular) without the need for configuring it as a submodule.

Morover, a command line script has been configured, so that the solver can be called via:

zerod SOLVER_INPUT_FILE 
mrp089 commented 2 years ago

Awesome @richterjakob!! Can you open a brief issue in SimVascular to use the pip version (instead of the git submodule) of svZeroDSolver? The installation of modules via pip is mentioned here: https://github.com/SimVascular/SimVascular/issues/800

richterjakob commented 2 years ago

Thanks @mrp089 🙌 I created a respective issue in SimVascular (see here).