Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve if conditionals and set a default case to evaluate viscosity in calc_visc #92

Open
rafaelmds opened this issue Apr 28, 2022 · 0 comments

Comments

@rafaelmds
Copy link
Contributor

Currently, in calc_visc.cpp there is a series of ifs conditionals to match a rheology and then to evaluate the viscosity.

This need to be improved. A first improvement could be using a switch-case pattern with a default case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant