MEDYAN.make_memb!
Tuple{MEDYAN.Context}
Return a membrane identifier of the newly created membrane.
Keyword Arguments
vertex_positions: Each element is a vertex position (nm).triangles::Vector{SVector{3, Int}}: Each element is the 3 vertex indexes of a triangle.Indexes are one based, and follow the right hand rule. Looking at the triangle from the outside in, they have counterclockwise winding.
vertex_states::Union{Vector{Int64}, Nothing} = nothing: Each element is a vertex state.By default vertices have a state of zero. If a vertex has a non zero state, it will not be removed during mesh adaption.
mech_params::MembraneMechParams = MembraneMechParams(): Mechanical parameters for membrane mechanicsarea0::Union{Float64, Nothing} = nothing: Reference area (ifnothing, computed from initial mesh) (nm^2)volume0::Union{Float64, Nothing} = nothing: Reference volume (ifnothing, computed from initial mesh) (nm^3)offset_volume::Float64=0.0: Actual volume is cone volume with the origin plus the offset (nm^3)type::Int=1: Membrane type indexchem_boundary::Bool = false: Iftrue, the membrane acts as a boundary for 3D diffusing species.chem_boundary_exterior::Bool = false: Iftrue, the confined chemical domain is the exterior; otherwise the confined domain is the interior.