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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Mar 21 14:18:03 PDT 2017


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/188bc85a3da1/
Changeset:   188bc85a3da1
Branch:      yt
User:        al007
Date:        2017-03-17 19:11:51+00:00
Summary:     Turn off unnecessary reduction to first order for slicing of second order tets.
Affected #:  1 file

diff -r 95401107ce0793c6b74d10c336f0633aaee990d5 -r 188bc85a3da1322143a7e38dd4460e645ef860a4 yt/geometry/coordinates/cartesian_coordinates.py
--- a/yt/geometry/coordinates/cartesian_coordinates.py
+++ b/yt/geometry/coordinates/cartesian_coordinates.py
@@ -102,12 +102,6 @@
                               "dropping to 1st order.")
                 field_data = field_data[:, 0:8]
                 indices = indices[:, 0:8]
-            elif field_data.shape[1] == 10:
-                # tetrahedral
-                mylog.warning("High order elements not yet supported, " +
-                              "dropping to 1st order.")
-                field_data = field_data[:,0:4]
-                indices = indices[:, 0:4]
 
             img = pixelize_element_mesh(coords,
                                         indices,


https://bitbucket.org/yt_analysis/yt/commits/7da11fc9df28/
Changeset:   7da11fc9df28
Branch:      yt
User:        ngoldbaum
Date:        2017-03-21 21:17:55+00:00
Summary:     Merged in al007/yt (pull request #2550)

Turn off undesirable reduction to first order for slicing of second order tets.

Approved-by: yt-fido <yt.fido at gmail.com>
Approved-by: Nathan Goldbaum <ngoldbau at illinois.edu>
Approved-by: Andrew Myers <atmyers2 at gmail.com>
Affected #:  1 file

diff -r d800dab42534a16e268b122b7fc43c65cd4b552e -r 7da11fc9df2882b7734468109391971747aa3f34 yt/geometry/coordinates/cartesian_coordinates.py
--- a/yt/geometry/coordinates/cartesian_coordinates.py
+++ b/yt/geometry/coordinates/cartesian_coordinates.py
@@ -102,12 +102,6 @@
                               "dropping to 1st order.")
                 field_data = field_data[:, 0:8]
                 indices = indices[:, 0:8]
-            elif field_data.shape[1] == 10:
-                # tetrahedral
-                mylog.warning("High order elements not yet supported, " +
-                              "dropping to 1st order.")
-                field_data = field_data[:,0:4]
-                indices = indices[:, 0:4]
 
             img = pixelize_element_mesh(coords,
                                         indices,

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