From 19804b1da5799877b9322250bf7894af9f82f88f Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Mon, 12 Jun 2023 16:30:23 +0100 Subject: [PATCH] Finished initial description of subgrid antenna example. --- docs/source/examples_advanced.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/examples_advanced.rst b/docs/source/examples_advanced.rst index 573ee445..73cd2c39 100644 --- a/docs/source/examples_advanced.rst +++ b/docs/source/examples_advanced.rst @@ -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 `, 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 ====================