MEDYAN.make_memb_rectangle!
Tuple{MEDYAN.Context}
Create a new rectangular membrane in the simulation context and return its membrane identifier.
The membrane is by default in the X-Y plane, and the outside of the membrane is on the +Z side.
The mesh is then scaled by width in the X direction, height in the Y direction, rotated by rotation, and translated to center.
Keyword Arguments
width::Float64: The length of the membrane in the X direction (nm)height::Float64=width: The length of the membrane in the Y direction (nm)center::SVector{3,Float64}=SA[0.0,0.0,0.0]: Center of the sphere (nm)rotation=I: 3x3 matrix to rotate the sphere around its centermech_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.