Mercurial > repos > public > sbplib_julia
comparison src/Grids/manifolds.jl @ 1844:1987347752ef feature/grids/manifolds
Add stub for connections(::Atlas)
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Tue, 22 Oct 2024 15:44:03 +0200 |
| parents | 614f731af685 |
| children | de4b4f2aee4f |
comparison
equal
deleted
inserted
replaced
| 1843:ea98f03e18e0 | 1844:1987347752ef |
|---|---|
| 124 | 124 |
| 125 """ | 125 """ |
| 126 Atlas | 126 Atlas |
| 127 | 127 |
| 128 A collection of charts and their connections. | 128 A collection of charts and their connections. |
| 129 Should implement methods for `charts` and | 129 Should implement methods for `charts` and `connections`. |
| 130 """ | 130 """ |
| 131 abstract type Atlas end | 131 abstract type Atlas end |
| 132 | 132 |
| 133 """ | 133 """ |
| 134 charts(::Atlas) | 134 charts(::Atlas) |
| 136 The colloction of charts in the atlas. | 136 The colloction of charts in the atlas. |
| 137 """ | 137 """ |
| 138 function charts end | 138 function charts end |
| 139 | 139 |
| 140 """ | 140 """ |
| 141 connections | 141 connections(::Atlas) |
| 142 | 142 |
| 143 TBD: What exactly should this return? | 143 TBD: What exactly should this return? |
| 144 | 144 """ |
| 145 """ | 145 function connections end |
| 146 | 146 |
| 147 struct CartesianAtlas <: Atlas | 147 struct CartesianAtlas <: Atlas |
| 148 charts::Matrix{Chart} | 148 charts::Matrix{Chart} |
| 149 end | 149 end |
| 150 | 150 |
