Mesh Oriented datABase
(version 5.4.1)
Array-based unstructured mesh datastructure
|
#include "SphereDecomp.hpp"
#include "moab/MeshTopoUtil.hpp"
#include "moab/Range.hpp"
#include "moab/CN.hpp"
#include <cmath>
#include <cassert>
#include <iostream>
Go to the source code of this file.
Defines | |
#define | RR if( MB_SUCCESS != result ) return result |
#define | EDGE 0 |
#define | FACE 1 |
#define | TET 2 |
#define | AINDEX 0 |
#define | BINDEX 1 |
#define | CINDEX 2 |
#define | DINDEX 3 |
#define | EINDEX 4 |
#define | FINDEX 5 |
#define | GINDEX 6 |
#define | HINDEX 7 |
#define | IINDEX 8 |
#define | V0INDEX 0 |
#define | V1INDEX 1 |
#define | V2INDEX 2 |
#define | V3INDEX 3 |
#define | CV(a) tet_conn[a] |
#define | ESV(a, b) subdiv_verts[(a)*9 + ( b )] |
#define | FSV(a, b) subdiv_verts[54 + (a)*9 + ( b )] |
#define | TSV(a, b) subdiv_verts[90 + (a)*9 + ( b )] |
#define | SWITCH(a, b) |
Variables | |
const char * | SUBDIV_VERTICES_TAG_NAME = "subdiv_vertices" |
#define AINDEX 0 |
Referenced by SphereDecomp::subdivide_tet().
#define BINDEX 1 |
Referenced by SphereDecomp::subdivide_tet().
#define CINDEX 2 |
Referenced by SphereDecomp::subdivide_tet().
#define CV | ( | a | ) | tet_conn[a] |
Referenced by SphereDecomp::subdivide_tet().
#define DINDEX 3 |
Referenced by SphereDecomp::subdivide_tet().
#define EDGE 0 |
#define EINDEX 4 |
Referenced by SphereDecomp::subdivide_tet().
#define ESV | ( | a, | |
b | |||
) | subdiv_verts[(a)*9 + ( b )] |
Referenced by SphereDecomp::subdivide_tet().
#define FACE 1 |
#define FINDEX 5 |
Referenced by SphereDecomp::subdivide_tet().
#define FSV | ( | a, | |
b | |||
) | subdiv_verts[54 + (a)*9 + ( b )] |
Referenced by SphereDecomp::subdivide_tet().
#define GINDEX 6 |
Referenced by SphereDecomp::subdivide_tet().
#define HINDEX 7 |
Referenced by SphereDecomp::subdivide_tet().
#define IINDEX 8 |
Referenced by SphereDecomp::subdivide_tet().
#define RR if( MB_SUCCESS != result ) return result |
Definition at line 9 of file SphereDecomp.cpp.
Referenced by SphereDecomp::build_hexes(), SphereDecomp::build_sphere_mesh(), SphereDecomp::compute_nodes(), SphereDecomp::retrieve_subdiv_verts(), and SphereDecomp::subdivide_tet().
#define SWITCH | ( | a, | |
b | |||
) |
{ \ EntityHandle tmp_handle = a; \ ( a ) = b; \ ( b ) = tmp_handle; \ }
Referenced by SphereDecomp::retrieve_subdiv_verts().
#define TET 2 |
#define TSV | ( | a, | |
b | |||
) | subdiv_verts[90 + (a)*9 + ( b )] |
Referenced by SphereDecomp::subdivide_tet().
#define V0INDEX 0 |
Referenced by SphereDecomp::subdivide_tet().
#define V1INDEX 1 |
Referenced by SphereDecomp::subdivide_tet().
#define V2INDEX 2 |
Referenced by SphereDecomp::subdivide_tet().
#define V3INDEX 3 |
Referenced by SphereDecomp::subdivide_tet().
const char* SUBDIV_VERTICES_TAG_NAME = "subdiv_vertices" |
Definition at line 12 of file SphereDecomp.cpp.
Referenced by SphereDecomp::build_sphere_mesh().