Skip to content

Commit a6c2233

Browse files
committed
add a few more clarifications
1 parent 2a72e8e commit a6c2233

File tree

6 files changed

+44
-37
lines changed

6 files changed

+44
-37
lines changed

docs/make.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ GMG_root_dir = dirname(@__DIR__)
1414

1515
license = read(joinpath(GMG_root_dir, "LICENSE.md"), String)
1616
write(joinpath(@__DIR__, "src", "man", "license.md"), license)
17+
1718
# Copy list of authors to not need to synchronize it manually
1819
authors_text = read(joinpath(GMG_root_dir, "AUTHORS.md"), String)
1920
# authors_text = replace(authors_text, "in the [LICENSE.md](LICENSE.md) file" => "under [License](@ref)")
@@ -113,7 +114,7 @@ makedocs(;
113114
"Tools" => "man/tools.md",
114115
"Visualisation" => "man/visualise.md",
115116
"Gravity code" => "man/gravity_code.md",
116-
"Geodynamic setups" => "man/geodynamic_setups.md",
117+
"Numerical model setups" => "man/geodynamic_setups.md",
117118
"LaMEM" => "man/lamem.md",
118119
"Profile Processing" => "man/profile_processing.md",
119120
"Movies" => "man/movies.md"

docs/src/man/geodynamic_setups.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# Geodynamic model setups
22

3-
In order to generate geodynamic simulations from setups created with `GeophysicalModelGenerator.jl`, we provide a few routines that directly create setups
3+
In order to generate numerical simulations from setups created with `GeophysicalModelGenerator.jl`, we provide a few routines that directly create setups.
44

55
The routines provided here have the following functionality:
66
- Add lithospheric boxes to a setup, that may have a layered structure and various thermal structures
7+
- Add various geometries (spheres, cuylinders, ellipsoids)
8+
- Add lithospheric structure
9+
- Add various 1D thermal structures (and possibilities to combine them)
710

811
```@docs
912
GeophysicalModelGenerator.AddBox!

docs/src/man/paraview_output.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Paraview output
22

3-
We have one main routine to generate Paraview output for data that is either stored in a `GeoData` structure (that has lat/lon info), or `ParaviewData` (Cartesian).
3+
We have one main routine to generate Paraview output for data that is either stored in a `GeoData` structure (that has lat/lon info), or `ParaviewData`, `CartData` (Cartesian).
44
If `GeoData` is supplied it is internally automatically converted to the right format. Vectors, such as velocity, are also converted accordingly.
5-
You can also visualize time-dependent data.
5+
You can also visualize time-dependent data, or combine existing paraview files into a `*.pvd` paraview collection (that can be used to show a movie)
66
```@docs
7-
GeophysicalModelGenerator.Write_Paraview
8-
GeophysicalModelGenerator.Movie_Paraview
7+
Write_Paraview
8+
Movie_Paraview
9+
make_paraview_collection
910
```

docs/src/man/profile_processing.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
# Profile processing
22

3-
We have number of routines that makes it easier to read various datasets into GMG & create profiles through that data
3+
We have number of routines that makes it easier to read various datasets into `GMG` & create profiles through that data
44
The routines provided here have the following functionality:
55
- Read datasets (remote or local) that contains volumetric, surface, point, topograpy or screenshot data
66
- Define a profile (horizontal, vertical) with space for (projected) data
77
- Project earthquake (point) data onto the profile or intersect surfaces with a vertical profile (e.g., Moho data)
88

99
```@docs
10-
GeophysicalModelGenerator.load_GMG
11-
GeophysicalModelGenerator.save_GMG
12-
GeophysicalModelGenerator.ProfileData
13-
GeophysicalModelGenerator.ExtractProfileData
14-
GeophysicalModelGenerator.CreateProfileData
15-
GeophysicalModelGenerator.GMG_Dataset
16-
GeophysicalModelGenerator.Load_Dataset_file
17-
GeophysicalModelGenerator.combine_VolData
18-
GeophysicalModelGenerator.ExtractProfileData!
19-
GeophysicalModelGenerator.ReadPickedProfiles
10+
load_GMG
11+
save_GMG
12+
CrossSection
13+
ProfileData
14+
ExtractProfileData
15+
CreateProfileData
16+
GMG_Dataset
17+
Load_Dataset_file
18+
combine_VolData
19+
ExtractProfileData!
20+
ReadPickedProfiles
2021
```

docs/src/man/tools.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33
We have a number of functions with which we can extract sub-data from a 2D or 3D `GeoData` structure.
44

55
```@docs
6-
GeophysicalModelGenerator.CrossSection
7-
GeophysicalModelGenerator.ExtractSubvolume
8-
GeophysicalModelGenerator.InterpolateDataFields
9-
GeophysicalModelGenerator.VoteMap
10-
GeophysicalModelGenerator.SubtractHorizontalMean
11-
GeophysicalModelGenerator.aboveSurface
12-
GeophysicalModelGenerator.belowSurface
13-
GeophysicalModelGenerator.interpolateDataOnSurface
14-
GeophysicalModelGenerator.InterpolateTopographyOnPlane
15-
GeophysicalModelGenerator.ParseColumns_CSV_File
16-
GeophysicalModelGenerator.RotateTranslateScale!
17-
GeophysicalModelGenerator.PointData2NearestGrid
18-
GeophysicalModelGenerator.Convert2UTMzone
19-
GeophysicalModelGenerator.Convert2CartData
20-
GeophysicalModelGenerator.ProjectCartData
21-
GeophysicalModelGenerator.drape_on_topo
22-
GeophysicalModelGenerator.LithostaticPressure!
23-
GeophysicalModelGenerator.CountMap
6+
CrossSection
7+
ExtractSubvolume
8+
InterpolateDataFields
9+
VoteMap
10+
SubtractHorizontalMean
11+
aboveSurface
12+
belowSurface
13+
interpolateDataOnSurface
14+
InterpolateTopographyOnPlane
15+
ParseColumns_CSV_File
16+
RotateTranslateScale!
17+
PointData2NearestGrid
18+
Convert2UTMzone
19+
Convert2CartData
20+
ProjectCartData
21+
drape_on_topo
22+
LithostaticPressure!
23+
CountMap
2424
```

ext/GLMakie_Visualisation.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ module GLMakie_Visualisation
22
# This contains visualisation widgets which are optionally made available when GLMakie is loaded along with GMG
33

44
using Statistics
5-
using GeophysicalModelGenerator: LonLatDepthGrid, GeoData, CartData, km
5+
using GeophysicalModelGenerator: LonLatDepthGrid, GeoData, CartData, km, AbstractGeneralGrid
6+
import GeophysicalModelGenerator: Visualise
67

78
# We do not check `isdefined(Base, :get_extension)` as recommended since
89
# Julia v1.9.0 does not load package extensions when their dependency is
@@ -26,7 +27,7 @@ All fields in the dataset can be explored, and if the optional parameter `Topogr
2627
Note that this requires orthogonal grids, so it will work with a `GeoData` set, or with an orthogonal `CartData` set.
2728
Note that you may have to use `ProjectCartData` to project it to orthogonal cartesian coordinates.
2829
"""
29-
function Visualise(Data; Topography=nothing, Topo_range=nothing)
30+
function Visualise(Data::AbstractGeneralGrid; Topography=nothing, Topo_range=nothing)
3031

3132

3233
axis_equal = false; # in case we use x/y/z data in km, this is useful

0 commit comments

Comments
 (0)