PPL Logo

block Class Reference

#include <patch.h>

Collaboration diagram for block:

Collaboration graph
[legend]

Public Member Functions

 block (const char *filePrefix, int blockNo)
 block (void)
 ~block ()
const blockDimgetDim (void) const
vector3dgetLoc (const blockLoc &i)
const vector3dgetLoc (const blockLoc &i) const
int getPatches (void) const
patchgetPatch (int i) const
void print (void)
void pup (PUP::er &p)

Private Attributes

blockDim dim
vector3dlocs
int nPatches
patch ** patches

Detailed Description

Definition at line 160 of file patch.h.


Constructor & Destructor Documentation

block::block ( const char *  filePrefix,
int  blockNo 
)

block::block ( void   )  [inline]

Definition at line 167 of file patch.h.

block::~block (  ) 

Definition at line 150 of file patch.C.

References locs, nPatches, p, and patches.


Member Function Documentation

const blockDim& block::getDim ( void   )  const [inline]

Definition at line 170 of file patch.h.

References dim.

Referenced by MBLK_Get_blocksize(), and MBLK_Get_nodelocs().

vector3d& block::getLoc ( const blockLoc i  )  [inline]

Definition at line 171 of file patch.h.

References dim, and locs.

Referenced by MBLK_Get_nodelocs().

const vector3d& block::getLoc ( const blockLoc i  )  const [inline]

Definition at line 172 of file patch.h.

References dim, and locs.

int block::getPatches ( void   )  const [inline]

patch* block::getPatch ( int  i  )  const [inline]

void block::print ( void   )  [inline]

Definition at line 177 of file patch.h.

References dim, nPatches, patches, and patch::print().

void block::pup ( PUP::er p  )  [inline]


Field Documentation

blockDim block::dim [private]

Definition at line 161 of file patch.h.

Referenced by block(), getDim(), getLoc(), print(), and pup().

vector3d* block::locs [private]

Definition at line 162 of file patch.h.

Referenced by block(), getLoc(), pup(), and ~block().

int block::nPatches [private]

Definition at line 163 of file patch.h.

Referenced by block(), getPatches(), print(), pup(), and ~block().

patch** block::patches [private]

Definition at line 164 of file patch.h.

Referenced by block(), getPatch(), print(), pup(), and ~block().


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

Generated on Fri May 25 08:01:18 2012 for Charm++ by  doxygen 1.5.5