-
Notifications
You must be signed in to change notification settings - Fork 1
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
Code interpretability #21
Comments
Starting from the top, I guess that most users that just naively want to know what the code does, would open MicroHH.jl and try to figure out what happens from there. That file, to me, would ideally serve as a table of contents for the rest of the code. Put differently, I'd like to open that file and immediately see the flow of the program, and where the different modules of the code are called in that main flow. I think it already does this really well. You could consider:
|
The structs ( |
The passing around of the |
|
I was also wondering why you would gather all the dynamics in a single expression. It somehow feels more intuitive to have advection in one file, diffusion in another, i.e. just one file for each process on the RHS of the equations. That would presumably make it easier to integrate an SFS model in the future, e.g.. This is a really small point, of course. |
I was wondering if you'd considered using https://github.com/eth-cscs/ImplicitGlobalGrid.jl for the underlying grid datastructure and stencil operations on it? This is really cool stuff @Chiil ! |
@leifdenby Thanks, Leif. It is more or less a small-scale hobby project. Julia has some cool features that makes life a lot simpler with respect to C++. I did not know this package, I will have a look! |
Opening this as a place to collect loose thoughts on the ease with which the source code can be read, understood and worked with.
The text was updated successfully, but these errors were encountered: