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

Memory management for tiled domains #59

Open
mountaindust opened this issue Nov 8, 2022 · 0 comments
Open

Memory management for tiled domains #59

mountaindust opened this issue Nov 8, 2022 · 0 comments

Comments

@mountaindust
Copy link
Owner

Currently, when the domain is tiled, the fluid data is literally duplicated in memory. There's absolutely no reason for this to occur, and in applications where we want to create an array of cylinders from one, thin, slice of a domain, it is extremely inefficient. Add in some time varying fluid velocities and things get very bad, very quick.

Instead, tiled fluid domains should reference the same memory for the fluid. Note that the tiling of stl files is not really a concern - these are typically only KB in size.

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