Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
quads_to_tris.hpp
Go to the documentation of this file.
1 // Takes a DagMC-style meshset of quads and converts it to triangles.
2 // It is assumed that quads are only in surface meshsets. Meshset
3 // membership for tris is only preserved for surfaces meshsets of their
4 // parent quads.
5 //
6 
7 #include <iostream>
8 #include <cassert>
9 #include "moab/Core.hpp"
10 #include "MBTagConventions.hpp"
11 #include "moab/Range.hpp"
12 
14  moab::EntityHandle quad, /* input */
15  moab::EntityHandle& tri0, /* output */
16  moab::EntityHandle& tri1 /* output */ );
17 
19