Skip to content

Commit

Permalink
Don't redefine linear_pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
lukem12345 committed Oct 8, 2023
1 parent 2943315 commit 6d33ebe
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions docs/src/poiseuille.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,15 +219,6 @@ to_graphviz(Poise)
Then we can create the mesh and solve the equation.

```@example Poiseuille
# Create mesh and subdivide it.
function linear_pipe(n::Int)
s = EmbeddedDeltaSet1D{Bool,Point3D}()
add_vertices!(s, n, point=[Point3D(i, 0, 0) for i in 1:n])
add_edges!(s, 1:n-1, 2:n, edge_orientation=true)
sd = EmbeddedDeltaDualComplex1D{Bool,Float64,Point3D}(s)
subdivide_duals!(sd, Circumcenter())
end
sd = linear_pipe(20)
sim = eval(gensim(Poise, dimension=1))
Expand Down

0 comments on commit 6d33ebe

Please sign in to comment.