Sets the condition of the boundary on the specified side in the specified direction. See the [Constants (Enumerated Types)](#constants-enumerated-types) section for valid `side`, `direction`, and `boundary_condition` values.
(self, side, direction, condition)
| 2667 | return self.fields.phase_in_material(structure, time) |
| 2668 | |
| 2669 | def set_boundary(self, side, direction, condition): |
| 2670 | """ |
| 2671 | Sets the condition of the boundary on the specified side in the specified |
| 2672 | direction. See the [Constants (Enumerated Types)](#constants-enumerated-types) |
| 2673 | section for valid `side`, `direction`, and `boundary_condition` values. |
| 2674 | """ |
| 2675 | if self.fields is None: |
| 2676 | self.init_sim() |
| 2677 | |
| 2678 | self.fields.set_boundary(side, direction, condition) |
| 2679 | |
| 2680 | def get_field_point(self, c: int = None, pt: Vector3Type = None): |
| 2681 | """ |