Skip to content

Commit df107cf

Browse files
committedFeb 13, 2025·
Come
1 parent 2893cdb commit df107cf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎documentation/utilities/parkergrav.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ magnetic field created by it and invert this field.
7171

7272
\begin{examplefig}{}
7373
```julia
74-
using GMT
74+
using GMT, FFTW
7575

76-
Gbat = gmtread(GMT.TESTSDIT * "/assets/model_interface_4parker.grd");
76+
Gbat = gmtread(GMT.TESTSDIR * "/assets/model_interface_4parker.grd");
7777

7878
# Compute the gravity due to the interface. The direct problem
7979
Ggrv = parkergrav(Gbat, rho=400, nterms=10)

‎documentation/utilities/parkermag.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ magnetic field created by it and invert this field.
7575

7676
\begin{examplefig}{}
7777
```julia
78-
using GMT
78+
using GMT, FFTW
7979

8080
m = zeros(Float32, 64,64); m[32:40,32:40] .= 10;
8181
h = fill(-2.0f0, 64,64);

0 commit comments

Comments
 (0)
Please sign in to comment.