|
TexGen
|
#include "PrecompiledHeaders.h"#include "OctreeVoxelMesh.h"#include "TexGen.h"#include "PeriodicBoundaries.h"#include <iterator>#include <string>#include <algorithm>
Go to the source code of this file.
Functions | |
| int | my_comparison (double x, double y) |
| static int | lnodes_decode2 (p4est_lnodes_code_t face_code, int hanging_corner[P4EST_CHILDREN]) |
| int | duplicatedHangingNode (double vxyz[3], double hang_coord[8][3], int hang_nums[8]) |
| pair< int, int > | most_common (vector< int > v) |
| vector< int > | GetFaceIndices (CMesh::ELEMENT_TYPE ElemType, const set< int > &NodeIndices) |
| int | GetFaceIndex (CMesh::ELEMENT_TYPE ElemType, const set< int > &NodeIndices) |
| set< int > | GetCommonIndices (const vector< int > &SurfIndices, const vector< int > &VolIndices) |
Variables | |
| static const int | corner_num_hanging [P4EST_CHILDREN] |
| static const int | zero = 0 |
| static const int | ones = P4EST_CHILDREN - 1 |
| static const int * | corner_to_hanging [P4EST_CHILDREN] |
| const int | p8est_face_corners [6][4] |
| const int | p8est_edge_corners [12][2] |
| int | g_XVoxels |
| int | g_YVoxels |
| int | g_ZVoxels |
| int duplicatedHangingNode | ( | double | vxyz[3], |
| double | hang_coord[8][3], | ||
| int | hang_nums[8] | ||
| ) |
Definition at line 124 of file OctreeVoxelMesh.cpp.
References my_comparison().
Referenced by TexGen::COctreeVoxelMesh::ConvertOctreeToNodes().
| set< int > GetCommonIndices | ( | const vector< int > & | SurfIndices, |
| const vector< int > & | VolIndices | ||
| ) |
Definition at line 308 of file OctreeVoxelMesh.cpp.
Referenced by TexGen::COctreeVoxelMesh::OutputSurfaces().
| int GetFaceIndex | ( | CMesh::ELEMENT_TYPE | ElemType, |
| const set< int > & | NodeIndices | ||
| ) |
Definition at line 284 of file OctreeVoxelMesh.cpp.
References TexGen::CMesh::HEX.
| vector< int > GetFaceIndices | ( | CMesh::ELEMENT_TYPE | ElemType, |
| const set< int > & | NodeIndices | ||
| ) |
Definition at line 245 of file OctreeVoxelMesh.cpp.
|
static |
Definition at line 98 of file OctreeVoxelMesh.cpp.
References ones.
Referenced by TexGen::COctreeVoxelMesh::ConvertOctreeToNodes().
| pair< int, int > most_common | ( | vector< int > | v | ) |
Definition at line 144 of file OctreeVoxelMesh.cpp.
Referenced by TexGen::COctreeVoxelMesh::checkIndex(), and TexGen::COctreeVoxelMesh::fillMaterialInfo().
| int my_comparison | ( | double | x, |
| double | y | ||
| ) |
Definition at line 87 of file OctreeVoxelMesh.cpp.
Referenced by duplicatedHangingNode(), TexGen::COctreeVoxelMesh::isBoundary(), TexGen::COctreeVoxelMesh::OutputPeriodicBoundaries(), TexGen::COctreeVoxelMesh::refine_fn_periodic(), TexGen::COctreeVoxelMesh::smoothing(), and TexGen::COctreeVoxelMesh::storeHangingNode().
|
static |
Definition at line 33 of file OctreeVoxelMesh.cpp.
Referenced by TexGen::COctreeVoxelMesh::storeHangingNode().
|
static |
Definition at line 43 of file OctreeVoxelMesh.cpp.
Referenced by TexGen::COctreeVoxelMesh::ConvertOctreeToNodes(), and TexGen::COctreeVoxelMesh::storeHangingNode().
| int g_XVoxels |
Definition at line 84 of file OctreeVoxelMesh.cpp.
Referenced by TexGen::COctreeVoxelMesh::getPointsInfo(), and TexGen::COctreeVoxelMesh::SaveVoxelMesh().
| int g_YVoxels |
Definition at line 84 of file OctreeVoxelMesh.cpp.
Referenced by TexGen::COctreeVoxelMesh::getPointsInfo(), and TexGen::COctreeVoxelMesh::SaveVoxelMesh().
| int g_ZVoxels |
Definition at line 84 of file OctreeVoxelMesh.cpp.
Referenced by TexGen::COctreeVoxelMesh::getPointsInfo(), and TexGen::COctreeVoxelMesh::SaveVoxelMesh().
|
static |
One bit per dimension.
Definition at line 42 of file OctreeVoxelMesh.cpp.
Referenced by TexGen::COctreeVoxelMesh::ConvertOctreeToNodes(), and lnodes_decode2().
| const int p8est_edge_corners[12][2] |
Definition at line 54 of file OctreeVoxelMesh.cpp.
Referenced by TexGen::COctreeVoxelMesh::ConvertOctreeToNodes().
| const int p8est_face_corners[6][4] |
For each node i of the reference quadrant, corner_num_hanging[i] many.
Definition at line 47 of file OctreeVoxelMesh.cpp.
Referenced by TexGen::COctreeVoxelMesh::ConvertOctreeToNodes().
|
static |
Constant zero.
Definition at line 41 of file OctreeVoxelMesh.cpp.
Referenced by TexGen::COctreeVoxelMesh::ConvertOctreeToNodes().