Finished initial description of subgrid antenna example.

这个提交包含在:
Craig Warren
2023-06-12 16:30:23 +01:00
父节点 4e52d2b7b8
当前提交 19804b1da5

查看文件

@@ -98,6 +98,10 @@ higher permittivity (both have some simple conductive loss). There is a rough in
:language: python
:linenos:
Much of the functionality demonstrated in this example is standard use of our :ref:`Python API <input-api>`, or covered in the introductory subgrid example earlier in this section.
Lines 86-108 are important because they position an object (a box of sandy soil in this case) within the subgrid. This object has to be positioned manually (using local subgrid coordinates) as it crosses the interface between the subgrid and the main grid. The ``autotranslate`` property of the box object is set to ``False`` to allow this to happen.
Customising the PMLs
====================