ttvec&quot;</span><span class="p">:</span> <span class="n">structure</span><span class="o">.</span><span class="n">lattice</span><span class="o">.</span><span class="n">matrix</span><span class="o">.</span><span class="n">tolist</span><span class="p">(),</span>
            <span class="s2">&quot;elements&quot;</span><span class="p">:</span> <span class="n">elements</span><span class="p">,</span>
            <span class="s2">&quot;types&quot;</span><span class="p">:</span> <span class="n">types</span><span c