SimVascular / svZeroDSolver-Archived

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

Interpolate inflow with cubic splines #70

Closed mrp089 closed 1 year ago

mrp089 commented 2 years ago

In the current C++ implementation, inflow is linearly interpolated between user-provided time/flow tuples. We use a cubic spline interpolation in the Python version to have a smooth inflow, which is important to have a smooth solution in case the user provides a coarse flow profile. The C++ version should do the same.

mrp089 commented 1 year ago

Turned out to be not necessary. C++ development moved to https://github.com/StanfordCBCL/svZeroDSolver