<div dir="ltr"><div><div><div><div>Hello,<br><br></div>I have a use case for yt that I do not know if anyone else has encountered (though somehow I think they might have done!). I need to build background conditions for my code, this for me entails complex stratified density and magnetic field geometry see this: <a href="http://labs.adsabs.harvard.edu/adsabs/abs/2013MNRAS.435..689G/">http://labs.adsabs.harvard.edu/adsabs/abs/2013MNRAS.435..689G/</a> to get an idea of the problem.<br>

<br></div>The yt derived field and other abstractions would make doing this much easier, however I don't know if there is a framework for creating base fields in yt in memory and then computing derived fields based on those and then saving a mix of input fields and derived fields to disk?<br>

</div>To make this more complex I have some weird save out requirements, so being able to change array order and do mpi decomposition at save time would be very useful.<br><br></div><div>Any suggestions or people telling me that this is obvious are welcome :)<br>

</div><div><br></div>Thanks<br>Stuart<br></div>