<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Dear Rajat,<br>
      <br>
      the element-node cards of SimBio-NeuroFEM need to follow certain
      orientations (see <a class="moz-txt-link-abbreviated"
        href="http://www.simbio.de">www.simbio.de</a>).<br>
      <br>
      If you do not want to struggle with meshing/ordering, use the
      SimBio-VGRID mesher <br>
      <a class="moz-txt-link-freetext" href="http://vgrid.simbio.de/">http://vgrid.simbio.de/</a><br>
      that follows the required ordering of nodes. You might use this
      mesher to produce 1mm geometry-adapted FEM meshes<br>
      that show good overall performance, see <br>
<a class="moz-txt-link-freetext" href="http://www.sci.utah.edu/~wolters/PaperWolters/2007/WoltersEtAl_IEEE_TBME_2007.pdf">http://www.sci.utah.edu/~wolters/PaperWolters/2007/WoltersEtAl_IEEE_TBME_2007.pdf</a><br>
      and<br>
<a class="moz-txt-link-freetext" href="http://www.sci.utah.edu/~wolters/PaperWolters/2016/WagnerLuckaVorwerkHerrmannNolteBurgerWolters_NeuroImage_2016.pdf">http://www.sci.utah.edu/~wolters/PaperWolters/2016/WagnerLuckaVorwerkHerrmannNolteBurgerWolters_NeuroImage_2016.pdf</a><br>
      (latter was just accepted by NeuroImage). <br>
      <br>
      Best regards<br>
            Carsten<br>
      <br>
      Am 06.04.2016 um 15:10 schrieb Rajat Thomas:<br>
    </div>
    <blockquote cite="mid:1459948210999.59028@nin.knaw.nl" type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
      <p>Dear all,<br>
      </p>
      <p><br>
      </p>
      <p>Has anyone used the FEM approach to Headmodels using Simbio
        recently?<br>
      </p>
      <p><br>
      </p>
      <p>If so, I get this error:<br>
      </p>
      <div>"Elements have wrong orientation or are degenerated"<br>
      </div>
      <div><br>
      </div>
      <div>Any ideas?<br>
      </div>
      <div><br>
      </div>
      <div>
        <p class="p1">cfg        = [];</p>
        <p class="p1">cfg.method =<span class="s1">'simbio'</span>;</p>
        <p class="p1">cfg.conductivity = [0.33 0.14 1.79 0.01 0.43];   <span
            class="s2">% order follows mesh.tissyelabel</span></p>
        <p class="p1">vol        = ft_prepare_headmodel(cfg, mesh);    <br>
        </p>
        <p class="p1"><br>
        </p>
        <p class="p1">And;<br>
        </p>
        <p class="p1">​<br>
        </p>
        <div>disp(mesh)</div>
        <div>            hex: [545883x8 double]</div>
        <div>            pnt: [569722x3 double]</div>
        <div>         labels: [545883x1 double]</div>
        <div>         tissue: [545883x1 double]</div>
        <div>    tissuelabel: {'csf'  'gray'  'scalp'  'skull'  'white'}</div>
        <div>           unit: 'mm'</div>
        <div>            cfg: [1x1 struct]<br>
        </div>
        <p class="p1"><br>
        </p>
        Any help would be highly appreciated.<br>
      </div>
      <div><br>
      </div>
      <div>Rajat<br>
      </div>
      <div><br>
        <br>
      </div>
      <p><br>
      </p>
      <p><br>
      </p>
      <div id="Signature">
        <div name="divtagdefaultwrapper"
          style="font-family:Calibri,Arial,Helvetica,sans-serif;
          font-size:; margin:0">
          <div name="divtagdefaultwrapper" style="font-family:Calibri;
            font-size:12pt"><br>
          </div>
          <div name="divtagdefaultwrapper" style="font-family:Calibri;
            font-size:12pt"><br>
          </div>
          <div name="divtagdefaultwrapper" style="font-family:Calibri"><font
              size="2">Rajat Mani Thomas</font></div>
          <div name="divtagdefaultwrapper" style="font-family:Calibri"><font
              size="2">Social Brain Lab<br>
            </font>
            <div><font size="2">Netherlands Institute for Neuroscience</font></div>
            <div><font size="2">Amsterdam</font></div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
fieldtrip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>
<a class="moz-txt-link-freetext" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></pre>
    </blockquote>
    <br>
  </body>
</html>