[MOAB-dev] Quad4 nodes order

Tim Tautges (ANL) tautges at mcs.anl.gov
Mon Feb 10 15:23:20 CST 2014


While there are ways to modify the internal connectivity arrays (Interface::set_connectivity, or going through direct 
access to connectivity arrays using Interface::connect_iterate), I wouldn't recommend this approach, as it would affect 
the adjacency functions, which internally rely on canonical ordering in many cases.  Instead, I'd rely on a static 
permutation vector, which permutes a given MOAB-ordered vector into your preferred ordering.  If this vector is static, 
I'm guessing most optimizers will even optimize out the extra indirection.

- tim

On 02/10/2014 02:38 PM, kanaev at ibrae.ac.ru wrote:
> Hello MOAB-dev,
>
> Having unstructured hex mesh, can i renumber nodes order in Quad4 connectivity table so that every two opposite faces in
> hex have the same normal direction (one point inside the hex, another one points out)?
>
> Thanks
>
> Anton
>

-- 
================================================================
"You will keep in perfect peace him whose mind is
   steadfast, because he trusts in you."               Isaiah 26:3

              Tim Tautges            Argonne National Laboratory
          (tautges at mcs.anl.gov)      (telecommuting from UW-Madison)
  phone (gvoice): (608) 354-1459      1500 Engineering Dr.
             fax: (608) 263-4499      Madison, WI 53706



More information about the moab-dev mailing list