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 161 of file patch.h.


Constructor & Destructor Documentation

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

block::block ( void   )  [inline]

Definition at line 168 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 171 of file patch.h.

References dim.

Referenced by MBLK_Get_blocksize(), and MBLK_Get_nodelocs().

Here is the caller graph for this function:

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

Definition at line 172 of file patch.h.

References dim, and locs.

Referenced by MBLK_Get_nodelocs().

Here is the caller graph for this function:

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

Definition at line 173 of file patch.h.

References dim, and locs.

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

Here is the caller graph for this function:

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

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

Here is the caller graph for this function:

void block::print ( void   )  [inline]

Definition at line 178 of file patch.h.

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

Here is the call graph for this function:

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.

Here is the call graph for this function:


Field Documentation

blockDim block::dim [private]

Definition at line 162 of file patch.h.

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

vector3d* block::locs [private]

Definition at line 163 of file patch.h.

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

int block::nPatches [private]

Definition at line 164 of file patch.h.

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

patch** block::patches [private]

Definition at line 165 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 Mon Sep 21 08:17:54 2020 for Charm++ by  doxygen 1.5.5