MFlowCode / MFC

Exascale simulation of multiphase/physics fluid dynamics
https://mflowcode.github.io
MIT License
132 stars 56 forks source link

remove magic numbers #457

Open sbryngelson opened 3 weeks ago

sbryngelson commented 3 weeks ago

The code doesn't have too many magic numbers https://en.wikipedia.org/wiki/Magic_number_(programming), but it has some, like this:

https://github.com/MFlowCode/MFC/blob/f347b30f9c0194c0ab3492b7772fa6edbc8d0860/src/simulation/m_qbmm.fpp#L1115C36-L1116

remove them (can set them as constant parameters in the module or subroutine).