Not a lot to add, but I can outline here my thoughts on how to get ghost zones working. The basic idea is to add on a new ghost zone filling routine that gets passed in the neighbors for each oct, as well as the arrays from which they'll be filled. This will be a lot easier with a slight refactoring of the oct_visitors code, such that:
* Each oct_visitor is no longer a typedef'd function, but a struct that pseudo-inherits from a base struct. * OctVisitorData will be the first part of the struct, and instead of awful void* casting, we'll use memoryviews defined in the "subclasses" of the base struct. * We can then pass in memoryviews to the visitor functions, which can include things like the full octree itself.
Once this is in place, then the ghost zones can be gotten using a .neighbors() function, the file_ind can be grabbed from each, and the ghost zones filled in.
On Wed, Nov 25, 2015 at 8:52 AM, Tomer Nussbaum firstname.lastname@example.org wrote:
I have done some progress on get_vertex_centred_data, with simple extrapolation, we can get: https://sketchfab.com/models/d267102434274bdbb5f75f5b9ef27b44.
As you can see, this solution does not work so well, so now Matthew Turk and I are working on changing the parsing of the octTree to include ghostzones.
It's great to have another companion to this part of the code. do you have a Slack account? lets talk there. (I am @tussbaum)
Matt, anything to add?
On Wed, Nov 25, 2015 at 2:24 PM, Mark Richardson Mark.Richardson@physics.ox.ac.uk wrote:
Hello, I see that the fact that Octree doesn't currently work with get_vertex_centred_data had some interest recently. Tomer, have you made much progress on this since early November? I'm also very interested in getting this to work (I use Ramses), so if you'd like, I'd enjoy coming on board and helping in what ways I can.
To start, is there a fork I can follow on the bitbucket?
Mark Richardson Beecroft Postdoctoral Fellow, Department of Physics Denys Wilkinson Building - 555F University of Oxford Mark.Richardson@physics.ox.ac.uk +44 1865 280793
yt-dev mailing list email@example.com http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org