-
Notifications
You must be signed in to change notification settings - Fork 4
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
Refactoring #39
Comments
I can't decide how tightly coupled some of these are going to be: for the Israel Stewart stuff that Marcus is working on (hence the toyq branch stuff) there's time derivatives that need computing for source terms, and it's unclear how that should interact with the time integrators: may need to tightly couple. |
Do you have a reference for me to look at? It might be simplest to store the previous variables needed for the derivative as auxiliaries and update them as needed in |
E.g. when calling METHOD/Project/CPU/Include/timeInt.h Line 129 in 89917b2
after each substep, doing
|
Looking at the code now, the number of files has grown a fair bit compared to the early days---there are multiple source files with implementations save data, bounday conditions, time integrators, models etc.---and the src/ and include/ directories are beginning to become a bit of a mess. I'm going to spend a bit of time looking at refactoring the layout and organising things in a better way. Doing this is likely going to cause some problems along the way, so might be a pain.
Rough plan for layout:
METHOD/
Project/
CPU/
Include/
TimeIntegrators/
Physics/
BoundaryConditions/
....
Src/
TimeIntegrators/
Physics/
BoundaryConditions/
....
etc.
I'm probably going to hold off doing the same for the GPU for now but this will need to be done too for consistency. If anyone has any ideas/comments/thinks it's a waste of time just let me know!
The text was updated successfully, but these errors were encountered: