Skip to content

Commit

Permalink
Adding profile test for SPH with weight_field
Browse files Browse the repository at this point in the history
  • Loading branch information
chummels committed Dec 19, 2024
1 parent 8f4ad01 commit 4e49b40
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions yt/data_objects/tests/test_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,12 @@ def test_profile_sph_data():
[("gas", "kinetic_energy_density")],
weight_field=None,
)
yt.create_profile(
ds.all_data(),
[("gas", "density"), ("gas", "temperature")],
[("gas", "kinetic_energy_density")],
weight_field=("gas", "density"),
)


def test_profile_override_limits():
Expand Down

0 comments on commit 4e49b40

Please sign in to comment.