Skip to content

Commit b0396da

Browse files
authored
Merge pull request #76 from ovanvincq/master
Add support to Makie 0.22 and GeometryBasics 0.5
2 parents d9b5e1f + 74e8b69 commit b0396da

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Project.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
1414
[compat]
1515
FileIO = "1"
1616
FillArrays = "1"
17-
GLMakie = "0.10"
18-
GeometryBasics = "0.3, 0.4"
17+
GLMakie = "0.11"
18+
GeometryBasics = "0.5"
1919
Gridap = "0.16, 0.17,0.18"
20-
Makie = "0.21"
20+
Makie = "0.22"
2121
julia = "1.6"
2222

2323
[extras]

src/conversions.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function to_mesh(grid::UnstructuredGrid)
3535
Tc = eltype(eltype(cns))
3636
Dc = num_cell_dims(grid)
3737
fs = collect(lazy_map(GeometryBasics.NgonFace{Dc+1,Tc},cns))
38-
GeometryBasics.Mesh(GeometryBasics.connect(ps,fs))
38+
GeometryBasics.Mesh(ps,fs)
3939
end
4040

4141
# Create discontinuous grid with the corresponding handling of nodal or cell fields.
@@ -64,7 +64,7 @@ function to_dg_mesh(grid::UnstructuredGrid)
6464
cns[cell] = cn
6565
end
6666
fs = lazy_map(GeometryBasics.NgonFace{Dc+1,Tc}, cns) |> collect
67-
GeometryBasics.connect(ps, fs) |> GeometryBasics.Mesh
67+
GeometryBasics.Mesh(ps,fs)
6868
end
6969

7070
function to_dg_node_values(grid::Grid, node_value::Vector)

0 commit comments

Comments
 (0)