MEDYAN.set_mech_boundary!
Tuple{MEDYAN.Context, MEDYAN.Boundary}
Set the mechanical boundary, replacing any existing one.
The mechanical boundary is a set of soft walls that push beads back inside the domain. Build the Boundary with one of the constructors:
boundary_box: planes at the edges of aCubicGrid.boundary_plane: a single plane.boundary_capsule: a sphere or capsule, inside or outside.boundary_cylinder: a cylinder with flat ends.
Combine boundaries with ∩. Pass Boundary() to remove the boundary.
Example
See also set_chem_boundary!