From 294818918fbcc9ce74c8fe20f7e009d7b7ed7adc Mon Sep 17 00:00:00 2001 From: hyrodium Date: Sat, 1 Jul 2023 22:06:16 +0900 Subject: [PATCH] update gallery --- docs/gallery/weaving_examples/helicatenoid.jl | 14 ++++++++------ .../weaving_examples/hyperbolic_paraboloid.jl | 2 ++ docs/gallery/weaving_examples/paraboloid.jl | 2 ++ .../weaving_examples/stereographicprojection.jl | 2 ++ 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/docs/gallery/weaving_examples/helicatenoid.jl b/docs/gallery/weaving_examples/helicatenoid.jl index de315b3..0bec0a3 100644 --- a/docs/gallery/weaving_examples/helicatenoid.jl +++ b/docs/gallery/weaving_examples/helicatenoid.jl @@ -4,6 +4,8 @@ # description: Weaving a transformable curved surface from catenoid to helicoid. # --- +Weaving a transformable curved surface from catenoid to helicoid. + # ![](../assets/helicatenoid.jpg) # ## Load packages @@ -15,12 +17,12 @@ using ElasticSurfaceEmbedding # ## Define the shape of the surface (non-periodic direction) ElasticSurfaceEmbedding.𝒑₍₀₎(u¹,u²) = SVector(cos(u²)*cosh(u¹),sin(u²)*cosh(u¹),u¹) n=9 -Dx(n) = (-π/2..π/2,-π/(4n)..π/(4n)) +Da(n) = (-π/2..π/2,-π/(4n)..π/(4n)) # ## Compute the shape of the embeddings -show_strain(Dx(n)) +show_strain(Da(n)) -steptree = initial_state(Dx(n), n₁=33) +steptree = initial_state(Da(n), n₁=33) newton_onestep!(steptree, fixingmethod=:fix3points) newton_onestep!(steptree) newton_onestep!(steptree) @@ -38,17 +40,17 @@ export_pinned_steps("helicatenoid-a", steptree, unitlength=(40,"mm"), mesh=(18,1 # ## Define the shape of the surface (periodic direction) ElasticSurfaceEmbedding.𝒑₍₀₎(u¹,u²) = SVector(cos(u¹)*cosh(u²),sin(u¹)*cosh(u²),u²) -Dy(i,n) = (-π..π,(i-1)*π/(2n)..(i)*π/(2n)) +Db(i,n) = (-π..π,(i-1)*π/(2n)..(i)*π/(2n)) ## Check the maximum strain for i in 1:9 - show_strain(Dy(i,n)) + show_strain(Db(i,n)) end ## Numerical computing steptree = StepTree() for i in 1:9 - initial_state!(steptree, Dy(i,n), n₁=33) + initial_state!(steptree, Db(i,n), n₁=33) newton_onestep!(steptree, fixingmethod=:fix3points) newton_onestep!(steptree) newton_onestep!(steptree) diff --git a/docs/gallery/weaving_examples/hyperbolic_paraboloid.jl b/docs/gallery/weaving_examples/hyperbolic_paraboloid.jl index ff15bb7..bcb0762 100644 --- a/docs/gallery/weaving_examples/hyperbolic_paraboloid.jl +++ b/docs/gallery/weaving_examples/hyperbolic_paraboloid.jl @@ -4,6 +4,8 @@ # description: Weaving a simple curved surface with negative curvature. # --- +Weaving a simple curved surface with negative curvature. + # ![](../assets/hyperbolic_paraboloid.jpg) # ## Load packages diff --git a/docs/gallery/weaving_examples/paraboloid.jl b/docs/gallery/weaving_examples/paraboloid.jl index 134949f..9bb16c7 100644 --- a/docs/gallery/weaving_examples/paraboloid.jl +++ b/docs/gallery/weaving_examples/paraboloid.jl @@ -4,6 +4,8 @@ # description: Weaving a simple curved surface with positive curvature. # --- +Weaving a simple curved surface with positive curvature. + # ![](../assets/paraboloid.jpg) # ## Load packages diff --git a/docs/gallery/weaving_examples/stereographicprojection.jl b/docs/gallery/weaving_examples/stereographicprojection.jl index dfe36fa..d3fd1a1 100644 --- a/docs/gallery/weaving_examples/stereographicprojection.jl +++ b/docs/gallery/weaving_examples/stereographicprojection.jl @@ -4,6 +4,8 @@ # description: A point light illuminates the grid points on the ground. # --- +A point light illuminates the grid points on the ground. + # ![](../assets/stereographicprojection.jpg) # # Load packages