PPL Logo

patch Class Reference

#include <patch.h>

Inheritance diagram for patch:

Inheritance graph
[legend]
Collaboration diagram for patch:

Collaboration graph
[legend]

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

Detailed Description

Definition at line 34 of file patch.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
ext 
internal 

Definition at line 42 of file patch.h.


Constructor & Destructor Documentation

patch::patch ( void   )  [inline]

Definition at line 56 of file patch.h.

virtual patch::~patch (  )  [inline, virtual]

Definition at line 57 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.

Here is the call graph for this function:


Member Function Documentation

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().

Here is the caller graph for this function:

virtual void patch::print ( void   )  [pure virtual]

Implemented in externalBCpatch, and internalBCpatch.

Referenced by block::print().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

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]

Definition at line 39 of file patch.h.

Referenced by getExtents(), patch(), and pup().

bool patch::isLow [protected]

Definition at line 40 of file patch.h.

Referenced by getExtents(), patch(), and pup().

enum { ... } patch::type


The documentation for this class was generated from the following files:

Generated on Mon Sep 21 08:28:29 2020 for Charm++ by  doxygen 1.5.5