Write a functions to file with a given time.
(self, u: list[Function] | Function, t: float = 0.0)
| 134 | self.write(mesh._cpp_object, t) |
| 135 | |
| 136 | def write_function(self, u: list[Function] | Function, t: float = 0.0) -> None: |
| 137 | """Write a functions to file with a given time.""" |
| 138 | cpp_objects = [u._cpp_object] if isinstance(u, Function) else [_u._cpp_object for _u in u] |
| 139 | super().write(cpp_objects, t) |
| 140 | |
| 141 | |
| 142 | class XDMFFile(_cpp.io.XDMFFile): |