MEDYAN.newmembrane!
Tuple{MEDYAN.Context}
Add a new membrane to the system.
Keyword Arguments
type::Int: Membrane type index (must have corresponding entry inc.membranemechparams)meshinit: Structure containing mesh shape initialization information, such as a named tuple(vertlist, trilist)containing vertex coordinates and triangle list,MeshInitEllipsoid,MeshInitPlaneor a generalMeshInitSurfaceFunc.mechparams::Union{Nothing, MembraneMechParams}=nothing: Mechanical parameters for this membrane. Ifnothing, copies fromc.membranemechparams[type].