-
Notifications
You must be signed in to change notification settings - Fork 12
Caching Geometry #89
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
Caching Geometry #89
Conversation
Tests now pass for real and I'm seeing similar performance b/w 3D cartesian and spherical for the blast wave. |
CI errors are all hdf5 related. I wonder if I can't put |
Removing |
I had to revert all of the caching in the BC functions since there was some indexing/size related error for the coarse buffer. These + the prlongation/restriction operators will have to wait until parthenon supports caching. |
Background
Stores the used geometric entities in a pack. This no longer needs an update to parthenon. Testing looks good so far.
Description of Changes
All of our commonly used coordinate variables are now
Metadata::none
fields. Because they have different storage than our normal fields, ourcoords
object now provides an index into these fields. The two ways to get e.g., the centroid are now:You don't have to use the cached approach, the old methods all still work and are needed in some places. There are also some places where I've opted not to change to cached coords, but that may change in the future.
Checklist