#include <patch.h>
Public Member Functions | |
block (const char *filePrefix, int blockNo) | |
block (void) | |
~block () | |
const blockDim & | getDim (void) const |
vector3d & | getLoc (const blockLoc &i) |
const vector3d & | getLoc (const blockLoc &i) const |
int | getPatches (void) const |
patch * | getPatch (int i) const |
void | print (void) |
void | pup (PUP::er &p) |
Private Attributes | |
blockDim | dim |
vector3d * | locs |
int | nPatches |
patch ** | patches |
Definition at line 161 of file patch.h.
block::block | ( | const char * | filePrefix, | |
int | blockNo | |||
) |
Definition at line 93 of file patch.C.
References abort(), dim, fName, blockDim::getSize(), locs, patchReader::nextDim(), patchReader::nextDouble(), patchReader::nextInt(), patchReader::nextLine(), patchReader::nextSpan(), nFaces, nPatches, p, patches, sizes, type, version, and x.
block::~block | ( | ) |
const blockDim& block::getDim | ( | void | ) | const [inline] |
Definition at line 171 of file patch.h.
References dim.
Referenced by MBLK_Get_blocksize(), and MBLK_Get_nodelocs().
Definition at line 172 of file patch.h.
Referenced by MBLK_Get_nodelocs().
int block::getPatches | ( | void | ) | const [inline] |
Definition at line 176 of file patch.h.
References nPatches.
Referenced by MBlockChunk::apply_bc(), MBlockChunk::apply_bc_all(), MBlockChunk::read(), and MBlockChunk::send().
Definition at line 177 of file patch.h.
References patches.
Referenced by MBlockChunk::apply_bc(), MBlockChunk::apply_bc_all(), MBlockChunk::read(), MBlockChunk::send(), and MBlockChunk::update_field().
void block::print | ( | void | ) | [inline] |
void block::pup | ( | PUP::er & | p | ) | [inline] |
Definition at line 187 of file patch.h.
References dim, patch::ext, blockDim::getSize(), int, PUP::er::isPacking(), PUP::er::isUnpacking(), locs, n, nPatches, p, patches, blockLoc::pup(), and type.
blockDim block::dim [private] |
vector3d* block::locs [private] |
int block::nPatches [private] |
patch** block::patches [private] |