laurenpmarazzi / PhysiPKPD

a module template for drug treatment in PhysiCell
1 stars 7 forks source link

Define pi for older machines #19

Open drbergman opened 3 years ago

drbergman commented 3 years ago

Apparently, only newer machines will default have pi available for access as M_PI as we have here: https://github.com/laurenpmarazzi/PhysiPKPD/blob/0966fed747f44d6211c3a0e278726af50a569ed3/custom_modules/custom.cpp#L550

Quick fix: change to 3.14159 (we don't need high accuracy here) Long fix: ask others about implementing pi