splinepy.helpme.integrate.FieldIntegrator.get_boundary_dofs#
- FieldIntegrator.get_boundary_dofs(all_boundaries=True, north=False, east=False, south=False, west=False)[source]#
Get indices of boundary dofs. Assumes that control points are arranged in the following way: first one is the southwest corner, then the first dimension goes from west to east and second dimension goes from south to north.
- Parameters:
all_boundaries (bool) – If True, get indices of all boundary dofs and ignores values for north, south, east and west. On the other, if any boundary is selected, this value will be ignored
north (bool) – If True, return indices for north boundary of geometry
east (bool)
south (bool)
west (bool)
- Returns:
indices – Indices of relevant boundary dofs
- Return type:
np.ndarray