- CubicDual.add_boundary_pores(labels=['top', 'bottom', 'front', 'back', 'left', 'right'], spacing=None)¶
Add boundary pores to the specified faces of the network
Pores are offset from the faces by 1/2 of the given
spacing, such that they lie directly on the boundaries.
labels (str or list[str]) – The labels indicating the pores defining each face where boundary pores are to be added (e.g. ‘left’ or [‘left’, ‘right’])
spacing (scalar or array_like) – The spacing of the network (e.g. [1, 1, 1]). This must be given since it can be quite difficult to infer from the network, for instance if boundary pores have already added to other faces.