ypes&quot;, &quot;elements&quot;, and</span>
<span class="sd">        &quot;positions&quot; settings otherwise an error will be thrown.</span>

<span class="sd">        Returns:</span>
<span class="sd">            The structure.</span>
<span class="sd">        &quot;&quot;&quot;</span>
        <span class="n">required</span> <span class="o">=</span> <span class="p">[</span><span class="s2">&quot;lattvec&quot;</span><span class="p">,</span> <span class="s2">&quot;types&quot;</span><span class="p">,</span> <s