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

Feature Request: Skip all calculations if nothing emitted in a domain #269

Open
kentbarber opened this issue Nov 12, 2019 · 1 comment
Open

Comments

@kentbarber
Copy link
Contributor

If there has been no particles or volume data emitted into a volume then onAdvanceTimeStep could immediately return.

This should be optional, perhaps with a flag that can be set. Since in some cases you might want forces to be present and being simulated before you emit. But in my case I am looking at only starting calls to the solver->update() method when a volume has data, which I thought could be handled internally instead of checking for collisions ( in my case of a moving emitter through a domain).

@doyubkim
Copy link
Owner

Thanks for the suggestion! Will think about it as an optimization.

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

2 participants