#include <adj.h>
Public Types | |
enum | { iMin =0, jMin =1, kMin =2, iMax =3, jMax =4, kMax =5, nFaces =6 } |
Public Member Functions | |
block (const blockDim &dim_, int originalNo_, int blockNo_, vector3d *nodeLocs_) | |
~block () | |
int | getBlockNumber (void) const |
int | getOriginalNumber (void) const |
const blockDim & | getDim (void) const |
const vector3d & | getLoc (const blockLoc &l) const |
void | split (int nPieces, vector< block * > &dest) |
void | addBC (const blockSpan &span, int bcNo) |
void | buildFaces (nodeMatcher &map) |
face & | getFace (int faceNo) |
const face & | getFace (int faceNo) const |
int | getFaceNo (const face *f) |
Static Public Attributes | |
static const char * | face2name [nFaces] |
Private Member Functions | |
blockLoc | pin (const blockLoc &l) const |
block * | subBlock (const blockSpan &span) const |
Private Attributes | |
blockDim | dim |
int | originalNo |
int | blockNo |
vector3d * | nodeLocs |
vector< externalBCpatch > | BCs [nFaces] |
face * | faces [nFaces] |
anonymous enum |
Definition at line 244 of file adj.cpp.
References blockBytes, hashableVector3d::checkVector(), dim, faces, blockDim::getSize(), i, nFaces, and nodeLocs.
Referenced by subBlock().
~block | ( | ) |
void addBC | ( | const blockSpan & | span, |
int | bcNo | ||
) |
Definition at line 262 of file adj.cpp.
References BCs, and blockSpan::getFace().
Referenced by readBoundaries(), and subBlock().
void buildFaces | ( | nodeMatcher & | map | ) |
Definition at line 273 of file adj.cpp.
References BCs, dim, face, and faces.
|
inline |
Definition at line 219 of file adj.h.
References blockNo.
Referenced by buildFaces(), face::buildPatches(), findPartner(), mblockData::getPatchListWith(), mblockData::getPatchNumber(), face::markPatched(), adjRec::print(), mblockData::blockPatches::write(), mblockData::write(), writeBlock(), internalBCpatch::writeFlo(), and internalBCpatch::writeTop().
|
inline |
Definition at line 222 of file adj.h.
References dim.
Referenced by face::buildPatches(), checkQuality(), dirToCorner(), readBoundaries(), volume(), mblockData::blockPatches::write(), and writeBlock().
|
inline |
Definition at line 248 of file adj.h.
References faces.
Referenced by buildFaces(), findPartner(), mblockData::blockPatches::init(), and writeBlock().
|
inline |
|
inline |
Definition at line 223 of file adj.h.
Referenced by buildFaces(), checkQuality(), and face::face().
|
inline |
Definition at line 220 of file adj.h.
References originalNo.
Referenced by face::buildPatches(), checkQuality(), face::face(), split(), and writeBlock().
Definition at line 77 of file split.cpp.
Referenced by bcondoutflowperf_gl(), modinterfacesbcond::BcondOutflowPerf_GL::bcondoutflowperf_gl(), init_py::burn_init_1d(), setup_py::steadytemp(), and subBlock().
void split | ( | int | nPieces, |
vector< block * > & | dest | ||
) |
Definition at line 113 of file split.cpp.
References blockNo, dim, getOriginalNumber(), makefloParam::levelBad, makefloParam::levelGood, parameters, split(), makefloParam::splitAxis, makefloParam::splitRCB, and subBlock().
Referenced by split().
Definition at line 88 of file split.cpp.
References addBC(), externalBCpatch::bcNo, BCs, block(), BLOCKSPAN_FOR, dim, blockSpan::end, blockSpan::getDim(), blockDim::getSize(), i, nFaces, nodeLocs, originalNo, pin(), patch::srcSpan, and blockSpan::start.
Referenced by split().
|
private |
Definition at line 240 of file adj.h.
Referenced by addBC(), buildFaces(), and subBlock().
|
private |
Definition at line 206 of file adj.h.
Referenced by getBlockNumber(), and split().
|
private |
Definition at line 204 of file adj.h.
Referenced by block(), buildFaces(), getDim(), getLoc(), pin(), split(), and subBlock().
|
static |
Definition at line 236 of file adj.h.
Referenced by buildFaces(), face::buildPatches(), and writeBlock().
Definition at line 241 of file adj.h.
Referenced by block(), buildFaces(), getFace(), getFaceNo(), and ~block().
|
private |
|
private |
Definition at line 205 of file adj.h.
Referenced by getOriginalNumber(), and subBlock().