MEDYAN.newmembrane!

Tuple{MEDYAN.Context}

newmembrane!(c::MEDYAN.Context; type, meshinit, mechparams)

Add a new membrane to the system.

Keyword Arguments

  • type::Int: Membrane type index (must have corresponding entry in c.membranemechparams)
  • meshinit: Structure containing mesh shape initialization information, such as a named tuple (vertlist, trilist) containing vertex coordinates and triangle list, MeshInitEllipsoid, MeshInitPlane or a general MeshInitSurfaceFunc.
  • mechparams::Union{Nothing, MembraneMechParams}=nothing: Mechanical parameters for this membrane. If nothing, copies from c.membranemechparams[type].