[yt-svn] commit/yt: 3 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Sat Jul 19 06:40:21 PDT 2014


3 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/83b147980a34/
Changeset:   83b147980a34
Branch:      yt-3.0
User:        BW Keller
Date:        2014-07-18 21:40:44
Summary:     Added an extremely rudimentary analysis/fields page.
Affected #:  1 file

diff -r 894d44f837d4d259550bb7b741091424226375b7 -r 83b147980a347eb37f000f1c44171b273e985612 doc/source/analyzing/fields.rst
--- /dev/null
+++ b/doc/source/analyzing/fields.rst
@@ -0,0 +1,19 @@
+Particle Fields
+====================================
+Naturally, particle fields contain properties of particles rather than
+grid cells.  Many of these fields have corresponding grid fields that
+can be populated by "depositing" the particle values onto a yt grid.
+
+General Particle Fields
+------------------------------------
+Every particle will contain both a ``particle_position`` and ``particle_velocity``
+that tracks the position and velocity (respectively) in code units.
+
+
+SPH Fields
+------------------------------------
+For gas particles from SPH simulations, each particle will typically carry
+a field for the smoothing length `h`, which is roughly equivalent to 
+`(m/\rho)^{1/3}`, where `m` and `rho` are the particle mass and density 
+respectively.  This can be useful for doing neighbour finding.
+


https://bitbucket.org/yt_analysis/yt/commits/4e8573b83b77/
Changeset:   4e8573b83b77
Branch:      yt-3.0
User:        BW Keller
Date:        2014-07-18 22:33:53
Summary:     Added a brief section about SPH smoothing in loading_data.
Affected #:  1 file

diff -r 83b147980a347eb37f000f1c44171b273e985612 -r 4e8573b83b77b08821583d12effcd8222456453d doc/source/examining/loading_data.rst
--- a/doc/source/examining/loading_data.rst
+++ b/doc/source/examining/loading_data.rst
@@ -156,7 +156,7 @@
 yt has support for reading Gadget data in both raw binary and HDF5 formats.  It
 is able to access the particles as it would any other particle dataset, and it
 can apply smoothing kernels to the data to produce both quantitative analysis
-and visualization.
+and visualization.  See also the section :ref:`loading-sph-data` 
 
 Gadget data in HDF5 format can be loaded with the ``load`` command:
 
@@ -367,7 +367,8 @@
 yt also supports loading Tipsy data.  Many of its characteristics are similar
 to how Gadget data is loaded; specifically, it shares its definition of
 indexing and mesh-identification with that described in
-:ref:`particle-indexing-criteria`.  
+:ref:`particle-indexing-criteria`.  Like with gadget, see 
+:ref:`loading-sph-data for more details`.  
 
 .. code-block:: python
 
@@ -903,3 +904,20 @@
 ---------------------
 
 .. notebook:: Loading_Generic_Particle_Data.ipynb
+
+.. _loading_sph_data:
+
+SPH Particle Data
+-----------------
+For all of the SPH frontends, yt uses a cython-based SPH to created deposit
+mesh fields from individual particle fields.  This uses a standard M4 smoothing
+kernel and the ``SmoothingLength`` field to calculate SPH sums, filling in the
+mesh fields.  This gives you the ability to both track individual particles
+(useful for tasks like following contiguous clouds of gas that would be require
+a clump finder in grid data) as well as doing standard grid-based analysis.
+The ``SmoothingLength`` variable is also useful for determining which particles
+can interact with each other, since particles more distant than twice the
+smoothing length do not typically see each other in SPH simulations.  By
+changing the value of the ``SmoothingLength`` and then re-depositing particles
+onto the grid, you can also effectively mimic what your data would look like at
+lower resolution.


https://bitbucket.org/yt_analysis/yt/commits/d200e66450ee/
Changeset:   d200e66450ee
Branch:      yt-3.0
User:        MatthewTurk
Date:        2014-07-19 15:40:14
Summary:     Merged in bwkeller/yt/yt-3.0 (pull request #1035)

Added an extremely rudimentary analysis/fields page and a section on SPH smoothing.
Affected #:  2 files

diff -r a46f4294aa237c4afe808bc9e6ea1fb215b20c85 -r d200e66450ee5be821ce6a4c0f651fcdc54245ae doc/source/analyzing/fields.rst
--- /dev/null
+++ b/doc/source/analyzing/fields.rst
@@ -0,0 +1,19 @@
+Particle Fields
+====================================
+Naturally, particle fields contain properties of particles rather than
+grid cells.  Many of these fields have corresponding grid fields that
+can be populated by "depositing" the particle values onto a yt grid.
+
+General Particle Fields
+------------------------------------
+Every particle will contain both a ``particle_position`` and ``particle_velocity``
+that tracks the position and velocity (respectively) in code units.
+
+
+SPH Fields
+------------------------------------
+For gas particles from SPH simulations, each particle will typically carry
+a field for the smoothing length `h`, which is roughly equivalent to 
+`(m/\rho)^{1/3}`, where `m` and `rho` are the particle mass and density 
+respectively.  This can be useful for doing neighbour finding.
+

diff -r a46f4294aa237c4afe808bc9e6ea1fb215b20c85 -r d200e66450ee5be821ce6a4c0f651fcdc54245ae doc/source/examining/loading_data.rst
--- a/doc/source/examining/loading_data.rst
+++ b/doc/source/examining/loading_data.rst
@@ -156,7 +156,7 @@
 yt has support for reading Gadget data in both raw binary and HDF5 formats.  It
 is able to access the particles as it would any other particle dataset, and it
 can apply smoothing kernels to the data to produce both quantitative analysis
-and visualization.
+and visualization.  See also the section :ref:`loading-sph-data` 
 
 Gadget data in HDF5 format can be loaded with the ``load`` command:
 
@@ -367,7 +367,8 @@
 yt also supports loading Tipsy data.  Many of its characteristics are similar
 to how Gadget data is loaded; specifically, it shares its definition of
 indexing and mesh-identification with that described in
-:ref:`particle-indexing-criteria`.  
+:ref:`particle-indexing-criteria`.  Like with gadget, see 
+:ref:`loading-sph-data for more details`.  
 
 .. code-block:: python
 
@@ -903,3 +904,20 @@
 ---------------------
 
 .. notebook:: Loading_Generic_Particle_Data.ipynb
+
+.. _loading_sph_data:
+
+SPH Particle Data
+-----------------
+For all of the SPH frontends, yt uses a cython-based SPH to created deposit
+mesh fields from individual particle fields.  This uses a standard M4 smoothing
+kernel and the ``SmoothingLength`` field to calculate SPH sums, filling in the
+mesh fields.  This gives you the ability to both track individual particles
+(useful for tasks like following contiguous clouds of gas that would be require
+a clump finder in grid data) as well as doing standard grid-based analysis.
+The ``SmoothingLength`` variable is also useful for determining which particles
+can interact with each other, since particles more distant than twice the
+smoothing length do not typically see each other in SPH simulations.  By
+changing the value of the ``SmoothingLength`` and then re-depositing particles
+onto the grid, you can also effectively mimic what your data would look like at
+lower resolution.

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list