Skip to content

Commit

Permalink
fixed test of new example, version bump, readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
chmerdon committed Feb 12, 2024
1 parent f1e5ba4 commit 0499ece
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ExtendableFEM"
uuid = "a722555e-65e0-4074-a036-ca7ce79a4aed"
authors = ["Christian Merdon <[email protected]>"]
version = "0.3.0"
version = "0.3.1"

[deps]
CommonSolve = "38540f10-b2f7-11e9-35d8-d573e4eb0ff2"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ assign_operator!(PD, LinearOperator(f!, [id(u)]))
# assing boundary data (here: u = 0)
assign_operator!(PD, HomogeneousBoundaryData(u; regions = 1:4))

# discretise = choose FEVector with appropriate FESpaces
# discretise = choose FESpace
FEType = H1Pk{1,2,3} # cubic H1-conforming element with 1 component in 2D
FES = FESpace{FEType}(xgrid)

Expand Down
2 changes: 1 addition & 1 deletion examples/Example207_AdvectionUpwindDG.jl
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,6 @@ generateplots = default_generateplots(Example207_AdvectionUpwindDG, "example207.
function runtests() #hide
## test if P0-DG solution stays within bounds #hide
sol, ~ = main(; order = 0, nrefs = 2) #hide
@test norm(extrema(sol.entries) .- (0,1)) < 1e-13 #hide
@test norm(extrema(sol.entries) .- (0,1)) < 1e-12 #hide
end #hide
end # module

0 comments on commit 0499ece

Please sign in to comment.