Skip to content

Commit a8f554b

Browse files
committed
Fix doctest
1 parent 420d670 commit a8f554b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PotentialEnergyEquationTerms.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ julia> PotentialEnergy(model)
6565
KernelFunctionOperation at (Center, Center, Center)
6666
├── grid: 1×1×100 RectilinearGrid{Float64, Flat, Flat, Bounded} on CPU with 0×0×3 halo
6767
├── kernel_function: gρz_ccc (generic function with 1 method)
68-
└── arguments: ("KernelFunctionOperation at (Center, Center, Center)", "KernelFunctionOperation at (Center, Center, Center)", "(g=9.80665,)")
68+
└── arguments: ("KernelFunctionOperation at (Center, Center, Center)", "KernelFunctionOperation at (Center, Center, Center)", "(g=9.80665, ρ₀=1020.0)")
6969
```
7070
7171
To use a reference density set a constant value for the keyword argument `geopotential_height`
@@ -91,7 +91,7 @@ julia> PotentialEnergy(model; geopotential_height)
9191
KernelFunctionOperation at (Center, Center, Center)
9292
├── grid: 1×1×100 RectilinearGrid{Float64, Flat, Flat, Bounded} on CPU with 0×0×3 halo
9393
├── kernel_function: gρz_ccc (generic function with 1 method)
94-
└── arguments: ("KernelFunctionOperation at (Center, Center, Center)", "KernelFunctionOperation at (Center, Center, Center)", "(g=9.80665,)")
94+
└── arguments: ("KernelFunctionOperation at (Center, Center, Center)", "KernelFunctionOperation at (Center, Center, Center)", "(g=9.80665, ρ₀=1020.0)")
9595
```
9696
"""
9797
@inline function PotentialEnergy(model; geopotential_height = model_geopotential_height(model), location = (Center, Center, Center))

0 commit comments

Comments
 (0)