definition">Lattice definition</a><a id="Lattice-definition-1"></a><a class="docs-heading-anchor-permalink" href="#Lattice-definition" title="Permalink"></a></h2><p>The lattice elements are defined with default arguments. It allows users to call the function without providing values for all arguments.</p><pre><code class="nohighlight hljs">D1 = DRIFT(name=&quot;D1&quot;, len=1.0)
D2 = DRIFT(name=&quot;D2&quot;, len=1.0)
D3 = DRIFT(name=&quot;D3&quot;, len=1.0)
D4 = DRIFT(name=&quot;D4&quot;, len=1.0)
D5 = D