+ "Note if one intends to introduce a custom `__init__` when subclassing `SubDomain`, then it is necessary for this `__init__` to take the `kwarg` `grid=None`, passing it through to `super().__init__(grid=grid)`. Such a custom `__init__` may be useful in applications such as creating many `SubDomain` instances with similar properties from a single template. For examples, see `userapi/04_boundary_conditions`, where it is used extensively. Further examples can be found in `tests/test_subdomains`.\n",
0 commit comments