Mercurial > repos > public > sbplib_julia
comparison src/Grids/multiblockgrids.jl @ 2024:3fb33f00dab2 feature/grids/multiblock_grids
Implement getindex
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Wed, 12 Mar 2025 11:15:36 +0100 |
| parents | 50e7090f5a95 |
| children | d35a4cb170ff |
comparison
equal
deleted
inserted
replaced
| 2023:50e7090f5a95 | 2024:3fb33f00dab2 |
|---|---|
| 12 end | 12 end |
| 13 | 13 |
| 14 grids(g::MultiBlockGrid) = g.grids | 14 grids(g::MultiBlockGrid) = g.grids |
| 15 connections(g::MultiBlockGrid) = g.connections | 15 connections(g::MultiBlockGrid) = g.connections |
| 16 | 16 |
| 17 # function Base.getindex end | 17 Base.getindex(g::MultiBlockGrid, I...) = g.grids[I...] |
| 18 # function boundary_identifiers end # Requires function from manifolds? | 18 # function boundary_identifiers end # Requires function from manifolds? |
| 19 # function boundary_grid end # Should return a MultiBlockGrid with the right connections? | 19 # function boundary_grid end # Should return a MultiBlockGrid with the right connections? |
| 20 | 20 |
| 21 # function min_spacing end | 21 # function min_spacing end |
| 22 # function refine end | 22 # function refine end |
