Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
SphereDecomp.cpp File Reference
#include "SphereDecomp.hpp"
#include "moab/MeshTopoUtil.hpp"
#include "moab/Range.hpp"
#include "moab/CN.hpp"
#include <cmath>
#include <cassert>
#include <iostream>
+ Include dependency graph for SphereDecomp.cpp:

Go to the source code of this file.

Macros

#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"
 

Macro Definition Documentation

◆ AINDEX

#define AINDEX   0

◆ BINDEX

#define BINDEX   1

◆ CINDEX

#define CINDEX   2

◆ CV

#define CV (   a)    tet_conn[a]

◆ DINDEX

#define DINDEX   3

◆ EDGE

#define EDGE   0

◆ EINDEX

#define EINDEX   4

◆ ESV

#define ESV (   a,
 
)    subdiv_verts[(a)*9 + ( b )]

◆ FACE

#define FACE   1

◆ FINDEX

#define FINDEX   5

◆ FSV

#define FSV (   a,
 
)    subdiv_verts[54 + (a)*9 + ( b )]

◆ GINDEX

#define GINDEX   6

◆ HINDEX

#define HINDEX   7

◆ IINDEX

#define IINDEX   8

◆ RR

#define RR    if( MB_SUCCESS != result ) return result

Definition at line 9 of file SphereDecomp.cpp.

◆ SWITCH

#define SWITCH (   a,
 
)
Value:
{ \
EntityHandle tmp_handle = a; \
( a ) = b; \
( b ) = tmp_handle; \
}

◆ TET

#define TET   2

◆ TSV

#define TSV (   a,
 
)    subdiv_verts[90 + (a)*9 + ( b )]

◆ V0INDEX

#define V0INDEX   0

◆ V1INDEX

#define V1INDEX   1

◆ V2INDEX

#define V2INDEX   2

◆ V3INDEX

#define V3INDEX   3

Variable Documentation

◆ SUBDIV_VERTICES_TAG_NAME

const char* SUBDIV_VERTICES_TAG_NAME = "subdiv_vertices"

Definition at line 12 of file SphereDecomp.cpp.

Referenced by SphereDecomp::build_sphere_mesh().