#include <patch.h>
Public Types | |
enum | { ext = 0, internal = 1 } |
Public Member Functions | |
blockSpan | getExtents (const extrudeMethod &m, bool forVoxel, int dir=1) |
virtual void | print (void)=0 |
void | pup (PUP::er &p) |
patch (void) | |
virtual | ~patch () |
Data Fields | |
enum patch:: { ... } | type |
Protected Member Functions | |
patch (const blockSpan &span_) | |
Protected Attributes | |
blockSpan | span |
int | flatAxis |
bool | isLow |
Definition at line 34 of file patch.h.
patch::patch | ( | const blockSpan & | span_ | ) | [protected] |
Definition at line 167 of file patch.C.
References flatAxis, blockSpan::getFlatAxis(), isLow, span, and blockSpan::start.
blockSpan patch::getExtents | ( | const extrudeMethod & | m, | |
bool | forVoxel, | |||
int | dir = 1 | |||
) |
Definition at line 175 of file patch.C.
References blockSpan::end, flatAxis, isLow, PUP::s, span, blockSpan::start, extrudeMethod::toWidth, PUP::w, and extrudeMethod::withCorners.
Referenced by MBlockChunk::apply_single_bc(), MBlockChunk::send(), and MBlockChunk::update_field().
virtual void patch::print | ( | void | ) | [pure virtual] |
Implemented in externalBCpatch, and internalBCpatch.
Referenced by block::print().
void patch::pup | ( | PUP::er & | p | ) | [inline] |
Reimplemented in externalBCpatch, and internalBCpatch.
Definition at line 48 of file patch.h.
References flatAxis, isLow, p, blockSpan::pup(), span, and type.
Referenced by internalBCpatch::pup(), and externalBCpatch::pup().
blockSpan patch::span [protected] |
Definition at line 37 of file patch.h.
Referenced by getExtents(), patch(), internalBCpatch::print(), externalBCpatch::print(), and pup().
int patch::flatAxis [protected] |
bool patch::isLow [protected] |
enum { ... } patch::type |