[yt-svn] commit/yt: 3 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Sun Jul 16 07:31:22 PDT 2017
3 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/020b22373b1d/
Changeset: 020b22373b1d
User: ngoldbaum
Date: 2017-07-15 16:48:56+00:00
Summary: remove grid edge rounding in FLASH frontend. Fixes #1361
Affected #: 1 file
diff -r 2f8b04fe5a0aa7b734d07037b2594a87541c1630 -r 020b22373b1daf00970f1ba1acf4cfc4f23da27e yt/frontends/flash/data_structures.py
--- a/yt/frontends/flash/data_structures.py
+++ b/yt/frontends/flash/data_structures.py
@@ -153,12 +153,6 @@
gre[:,2] = 2.0 * np.pi
return
- # Now, for cartesian data.
- for i in range(self.num_grids):
- dx = dxs[self.grid_levels[i],:]
- gle[i][:ND] = np.rint(gle[i][:ND]/dx[0][:ND])*dx[0][:ND]
- gre[i][:ND] = np.rint(gre[i][:ND]/dx[0][:ND])*dx[0][:ND]
-
def _populate_grid_objects(self):
ii = np.argsort(self.grid_levels.flat)
gid = self._handle["/gid"][:]
https://bitbucket.org/yt_analysis/yt/commits/ff064ec1906e/
Changeset: ff064ec1906e
User: ngoldbaum
Date: 2017-07-15 19:07:14+00:00
Summary: increment answer numbers for answer tests depending on FLASH data
Affected #: 1 file
diff -r 020b22373b1daf00970f1ba1acf4cfc4f23da27e -r ff064ec1906e572e09f68a1390a1566811ccf6ba tests/tests.yaml
--- a/tests/tests.yaml
+++ b/tests/tests.yaml
@@ -20,7 +20,7 @@
local_fits_001:
- yt/frontends/fits/tests/test_outputs.py
- local_flash_007:
+ local_flash_008:
- yt/frontends/flash/tests/test_outputs.py
local_gadget_001:
@@ -45,7 +45,7 @@
local_owls_001:
- yt/frontends/owls/tests/test_outputs.py
- local_pw_016:
+ local_pw_017:
- yt/visualization/tests/test_plotwindow.py:test_attributes
- yt/visualization/tests/test_plotwindow.py:test_attributes_wt
- yt/visualization/tests/test_profile_plots.py:test_phase_plot_attributes
@@ -57,13 +57,13 @@
local_tipsy_002:
- yt/frontends/tipsy/tests/test_outputs.py
- local_varia_008:
+ local_varia_009:
- yt/analysis_modules/radmc3d_export
- yt/frontends/moab/tests/test_c5.py
- yt/visualization/volume_rendering/tests/test_vr_orientation.py
- yt/fields/tests/test_xray_fields.py
- local_photon_001:
+ local_photon_002:
- yt/analysis_modules/photon_simulator/tests/test_spectra.py
- yt/analysis_modules/photon_simulator/tests/test_sloshing.py
https://bitbucket.org/yt_analysis/yt/commits/0d0b4c14b44a/
Changeset: 0d0b4c14b44a
User: ngoldbaum
Date: 2017-07-16 14:30:49+00:00
Summary: Merge pull request #1493 from ngoldbaum/flash-rounding
Remove grid edge rounding in FLASH frontend. Fixes #1361
Affected #: 2 files
diff -r 148ccb05b62511e0e898a508b2e6ed84984fd151 -r 0d0b4c14b44a835db69baecbcf3d5320d6941d70 tests/tests.yaml
--- a/tests/tests.yaml
+++ b/tests/tests.yaml
@@ -20,7 +20,7 @@
local_fits_001:
- yt/frontends/fits/tests/test_outputs.py
- local_flash_007:
+ local_flash_008:
- yt/frontends/flash/tests/test_outputs.py
local_gadget_001:
@@ -45,7 +45,7 @@
local_owls_001:
- yt/frontends/owls/tests/test_outputs.py
- local_pw_016:
+ local_pw_017:
- yt/visualization/tests/test_plotwindow.py:test_attributes
- yt/visualization/tests/test_plotwindow.py:test_attributes_wt
- yt/visualization/tests/test_profile_plots.py:test_phase_plot_attributes
@@ -57,13 +57,13 @@
local_tipsy_002:
- yt/frontends/tipsy/tests/test_outputs.py
- local_varia_008:
+ local_varia_009:
- yt/analysis_modules/radmc3d_export
- yt/frontends/moab/tests/test_c5.py
- yt/visualization/volume_rendering/tests/test_vr_orientation.py
- yt/fields/tests/test_xray_fields.py
- local_photon_001:
+ local_photon_002:
- yt/analysis_modules/photon_simulator/tests/test_spectra.py
- yt/analysis_modules/photon_simulator/tests/test_sloshing.py
diff -r 148ccb05b62511e0e898a508b2e6ed84984fd151 -r 0d0b4c14b44a835db69baecbcf3d5320d6941d70 yt/frontends/flash/data_structures.py
--- a/yt/frontends/flash/data_structures.py
+++ b/yt/frontends/flash/data_structures.py
@@ -153,12 +153,6 @@
gre[:,2] = 2.0 * np.pi
return
- # Now, for cartesian data.
- for i in range(self.num_grids):
- dx = dxs[self.grid_levels[i],:]
- gle[i][:ND] = np.rint(gle[i][:ND]/dx[0][:ND])*dx[0][:ND]
- gre[i][:ND] = np.rint(gre[i][:ND]/dx[0][:ND])*dx[0][:ND]
-
def _populate_grid_objects(self):
ii = np.argsort(self.grid_levels.flat)
gid = self._handle["/gid"][:]
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