Skip to content

Commit 99d2457

Browse files
committed
build z op
1 parent 0adfdfd commit 99d2457

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/src/thermodynamics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ p₀ = constants.base_pressure
136136
g = thermo.gravitational_acceleration
137137
138138
# Verify that Tᵣ = θ₀ (1 - g z / (cᵖᵈ θ₀))
139-
z = znodes(grid, Center())
139+
z = KernelFunctionOperation{Center, Center, Center}(grid, znode)
140140
Tᵣ₁ = Field(θ₀ * (pᵣ / p₀)^(Rᵈ / cᵖᵈ))
141141
Tᵣ₂ = Field(θ₀ * (1 - g * z / (cᵖᵈ * θ₀)))
142142

src/Breeze.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export
2525
Center, Face, Periodic, Bounded, Flat,
2626
RectilinearGrid,
2727
nodes, xnodes, ynodes, znodes,
28+
xnode, ynode, znode,
2829
xspacings, yspacings, zspacings,
2930
minimum_xspacing, minimum_yspacing, minimum_zspacing,
3031
ImmersedBoundaryGrid, GridFittedBottom, PartialCellBottom, ImmersedBoundaryCondition,

0 commit comments

Comments
 (0)