Mercurial > repos > public > sbplib_julia
comparison src/Grids/manifolds.jl @ 1937:755fc0907e99 feature/grids/manifolds
Add tetss for construcors and getters for UnstructuredAtlas
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 07 Feb 2025 13:44:12 +0100 |
parents | a7c9d04b57e0 |
children | 1bd0e23499da |
comparison
equal
deleted
inserted
replaced
1936:a7c9d04b57e0 | 1937:755fc0907e99 |
---|---|
104 | 104 |
105 return c | 105 return c |
106 end | 106 end |
107 | 107 |
108 | 108 |
109 struct UnstructuredAtlas <: Atlas | 109 struct UnstructuredAtlas{C<:Chart, CN<:Tuple{MultiBlockBoundary,MultiBlockBoundary}, CV<:AbstractVector{C}, CNV<:AbstractVector{CN}} <: Atlas |
110 charts::Vector{Chart} | 110 charts::CV |
111 connections::Vector{Tuple{MultiBlockBoundary, MultiBlockBoundary}} | 111 connections::CNV |
112 end | 112 end |
113 | 113 |
114 charts(a::UnstructuredAtlas) = a.charts | 114 charts(a::UnstructuredAtlas) = a.charts |
115 connections(a::UnstructuredAtlas) = a.connections | 115 connections(a::UnstructuredAtlas) = a.connections |
116 | 116 |