[yt-users] Face-centered variables

David Collins dcollins at physics.ucsd.edu
Mon Jun 20 11:17:01 PDT 2011


Hi, John--

I have face and edge centered variables in my sims-- What I typically
do is either average to a zone centered quantity, or have a derived
quantity that trims off the extra zones, for instance

def BxForYT(field,data):
   return data['BxInSim'][ 0:-1, :, :]

I haven't yet tried to deal with properly dealing with the differences
in spatial location yet, though.

d.

On Mon, Jun 20, 2011 at 10:44 AM, John ZuHone <jzuhone at cfa.harvard.edu> wrote:
> Has anyone attempted to use yt for face-centered variables?
>
> Best,
>
> John Z
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



-- 
Sent from my computer.



More information about the yt-users mailing list