gridap / GridapMakie.jl

Makie plotting recipes for Gridap
MIT License
34 stars 8 forks source link

1D plots #51

Closed grinsted closed 2 years ago

grinsted commented 2 years ago

I am trying to learn Gridap and GridapMakie. I'd like to start with some simple 1D tutorial problems I translate from fenics first. -But my code fails.

using Gridap, GridapMakie, GLMakie
domain = (0, 1)
partition = (4)
model = CartesianDiscreteModel(domain, partition) |> simplexify
Ω = Triangulation(model)
fig = plot(Ω)
wireframe!(Ω, color = :black, linewidth = 2)
scatter!(Ω, marker = :circle, markersize = 10, color = :blue)

I then get an "Attached vertex shader is not compiled." from GLMakie on the call to scatter.

Further observations: