MOAB: Mesh Oriented datABase  (version 5.2.1)
smoab::detail::QuadratricOrdering< VTK_TRIQUADRATIC_HEXAHEDRON > Struct Template Reference

#include <CellTypeToType.h>

Public Member Functions

void reorder (vtkIdType *connectivity) const

Static Public Attributes

static const int NUM_VERTS = 27

Detailed Description

template<>
struct smoab::detail::QuadratricOrdering< VTK_TRIQUADRATIC_HEXAHEDRON >

Definition at line 20 of file CellTypeToType.h.


Member Function Documentation

void smoab::detail::QuadratricOrdering< VTK_TRIQUADRATIC_HEXAHEDRON >::reorder ( vtkIdType *  connectivity) const [inline]

Definition at line 23 of file CellTypeToType.h.

References swap().

  {
    std::swap_ranges(connectivity+12,connectivity+16,connectivity+16);

    //move 20 to 22
    //move 22 to 23
    //move 23 to 20

    //swap 20 with 22
    std::swap(connectivity[20],connectivity[23]);

    //swap 22 with 23
    std::swap(connectivity[22],connectivity[23]);
  }

Member Data Documentation

const int smoab::detail::QuadratricOrdering< VTK_TRIQUADRATIC_HEXAHEDRON >::NUM_VERTS = 27 [static]

Definition at line 22 of file CellTypeToType.h.

List of all members.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines