Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion yt/fields/fluid_vector_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def _baroclinic_vorticity_x(field, data):
rho2 = data[ftype, "density"].astype("float64", copy=False) ** 2
return (
data[ftype, "pressure_gradient_y"] * data[ftype, "density_gradient_z"]
- data[ftype, "pressure_gradient_z"] * data[ftype, "density_gradient_z"]
- data[ftype, "pressure_gradient_z"] * data[ftype, "density_gradient_y"]
) / rho2

def _baroclinic_vorticity_y(field, data):
Expand Down
Loading