[yt-users] generic computation of derivatives

Wolfram Schmidt schmidt at astro.physik.uni-goettingen.de
Mon Sep 12 08:39:53 PDT 2011


Hi everyone,

how can I generically define the derivatives of fields in a yt script 
(or is there already something to do that in yt)?

I want to define, say, second-order centered differences of a field 
without referring to data["particular field"] but with a place holder 
for just any field (like in a Fortran or C subroutine) so that I can use 
this single piece of code for several different fields.

Thanks,
Wolfram




More information about the yt-users mailing list