ARTIOOctreeSubset.
deposit
(positions, fields=None, method=None)¶Operate on the mesh, in a particle-against-mesh fashion, with exclusively local input.
This uses the octree indexing system to call a “deposition” operation (defined in yt/geometry/particle_deposit.pyx) that can take input from several particles (local to the mesh) and construct some value on the mesh. The canonical example is to sum the total mass in a mesh cell and then divide by its volume.
Parameters: | positions : array_like (Nx3)
fields : list of arrays
method : string
|
---|---|
Returns: | List of fortran-ordered, mesh-like arrays. : |