Mesh Oriented datABase  (version 5.4.1)
Array-based unstructured mesh datastructure
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.

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 Documentation

#define AINDEX   0
#define BINDEX   1
#define CINDEX   2
#define CV (   a)    tet_conn[a]
#define DINDEX   3
#define EDGE   0
#define EINDEX   4
#define ESV (   a,
 
)    subdiv_verts[(a)*9 + ( b )]
#define FACE   1
#define FINDEX   5
#define FSV (   a,
 
)    subdiv_verts[54 + (a)*9 + ( b )]
#define GINDEX   6
#define HINDEX   7
#define IINDEX   8
#define SWITCH (   a,
 
)
Value:
{                                         \
        EntityHandle tmp_handle = a;          \
        ( a )                   = b;          \
        ( b )                   = tmp_handle; \
    }

Referenced by SphereDecomp::retrieve_subdiv_verts().

#define TET   2
#define TSV (   a,
 
)    subdiv_verts[90 + (a)*9 + ( b )]
#define V0INDEX   0
#define V1INDEX   1
#define V2INDEX   2
#define V3INDEX   3

Variable Documentation

const char* SUBDIV_VERTICES_TAG_NAME = "subdiv_vertices"

Definition at line 12 of file SphereDecomp.cpp.

Referenced by SphereDecomp::build_sphere_mesh().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines