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

homogenization of saving intervals #4

Open
tommy-engels opened this issue Apr 9, 2018 · 0 comments
Open

homogenization of saving intervals #4

tommy-engels opened this issue Apr 9, 2018 · 0 comments

Comments

@tommy-engels
Copy link
Collaborator

I suggest to create a small module that takes care of the saving conditions for each task.
There is currently only saving the fields, but in the future, saving statistics and the like will be added.

We have the following conditions for saving: (some of which will be in the future)

  • every N time steps
  • every T physical time units
  • but not before the first N0 time steps
  • and not before the first T0 physical time units
  • at the beginning and end of the simulation
  • (?) maybe in the future, if an external command is received

This should be connected to an "intelligent" dt, which ensures we do not jump past the saving times and if necessary adjusts dt to precisely land on this instant.

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

No branches or pull requests

1 participant