Is there an example of using surf_source_write to generate a surface source?
Although we don’t have a formal example, one thing you can look at is the problem that is used in our test suite, which will at least give you an idea of how it can be used: