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

implement bounds checking for user input parameters #1

Open
matthipsey opened this issue Oct 25, 2020 · 0 comments
Open

implement bounds checking for user input parameters #1

matthipsey opened this issue Oct 25, 2020 · 0 comments
Assignees

Comments

@matthipsey
Copy link
Contributor

recently d_pom was set unreasonably by user, leading to hard to diagnose problems

Can we run a check over key parameters, like here:

data%d_pom = d_pom

eg, something like this for particle diamater:

data%d_pom = MIN(MAX(d_pom,1e-10),0.1)

It would be good to standardise this style and approach across the modules.

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

2 participants