MEDYAN.boundary_box

Tuple{MEDYAN.CubicGrid}

boundary_box(
    grid::MEDYAN.CubicGrid;
    offset,
    stiffness
) -> MEDYAN.Boundary

Return a box boundary at the edge of a grid.

offset(nm): How far the bounding planes should be moved in from the edge of the grid. Positive is inside the grid, negative is outside the grid.

stiffness(pN/nm): How strong the boundary is.