API
ElasticSurfaceEmbedding._affine
— MethodAffine transform of control points.
ElasticSurfaceEmbedding.export_pinned_steps
— Methodexport_pinned_steps(; unitlength = (10, "mm"), cutout = (0.1, 5), mesh::Int = 60)
Export all pinned steps for final output
ElasticSurfaceEmbedding.initial_state
— Functioninitial_state(D)
Compute the initial state, by solving a ODE of center curve.
ElasticSurfaceEmbedding.initial_state!
— Functioninitial_state!(steptree, D)
Compute the initial state, by solving a ODE of center curve.
ElasticSurfaceEmbedding.newton_onestep!
— Functionnewton_onestep(steptree, parent::Int=0; fixingmethod=:default)
Compute one step of Newton-Raphson method
ElasticSurfaceEmbedding.pin!
— Functionpin(steptree, parent::Int = 0)
Add a pin 📌 for the given index
ElasticSurfaceEmbedding.refinement!
— Functionrefinement!(steptree; p₊::Tuple{Int,Int}=(0, 0), k₊::Tuple{AbstractKnotVector,AbstractKnotVector}=(EmptyKnotVector(),EmptyKnotVector()), parent::Int=0)
Compute a refinement of the B-spline manifold
ElasticSurfaceEmbedding.show_knotvector
— Methodshow_knotvector(::StepTree; index=0)
Show current knotvector and suggestions for knot insertions (with given index).
ElasticSurfaceEmbedding.show_strain
— Methodshow_strain(D; index=0)
Show the predicted maximum strain and, if possible, also the computed strain with the given index.
ElasticSurfaceEmbedding.show_strain
— Methodshow_strain(domains; index=0)
Show the predicted maximum strain and, if possible, also the computed strain with the given index.
ElasticSurfaceEmbedding.unpin!
— Functionunpin(steptree, index::Integer)
Remeve the pin 📌 with the given index