110 void operator delete(
void *ptr) {
pool.
free(ptr); }
113 :
b(b_),
l(l_),
next(next_) { }
146 void print(
void)
const;
155 void operator delete(
void *ptr) {
pool.
free(ptr); }
169 const face *notHim=NULL,
195 CkHashtableTslow<hashableVector3d,node *>
map;
227 void split(
int nPieces,vector<block *> &dest);
const blockLoc & getLoc(const face *b) const
int getOriginalNumber(void) const
const vector3d & getLoc(void) const
void addBC(const blockSpan &span, int bcNo)
vector< externalBCpatch > BCs[nFaces]
void addFace(face *b, const blockLoc &l)
static allocPool< adjRec > pool
bool isExternal(void) const
block * subBlock(const blockSpan &span) const
node * loc2node(const vector3d &loc)
const face & getFace(int faceNo) const
int getFaceNo(const face *f)
const face * getFace(void) const
const blockLoc & getLoc(void) const
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
CkHashtableTslow< hashableVector3d, node * > map
bool hasFace(const face *test) const
static allocPool< node > pool
vector< block * > & blocks
const blockLoc & getLoc(const face *b) const
static const char * face2name[nFaces]
static void checkVector(const vector3d &v)
const blockDim & getDim(void) const
blockLoc pin(const blockLoc &l) const
bool hasLoc(const face *test, const blockLoc &l) const
virtual void freeBlock(vector3d *locs)
int getLength(void) const
const vector3d & getLoc(const blockLoc &l) const
static face * intersect(const node **nodes, const face *notHim=NULL, blockLoc *loc=NULL, blockLoc *oX=NULL, blockLoc *oY=NULL)
virtual const char * consume(const blockDim &dim, vector3d *locs)
hashableVector3d(const vector3d &v)
bool isExternal(void) const
void buildFaces(nodeMatcher &map)
block(const blockDim &dim_, int originalNo_, int blockNo_, vector3d *nodeLocs_)
adjRec(face *b_, const blockLoc &l_, adjRec *next_=NULL)
int getBlockNumber(void) const
face & getFace(int faceNo)
void split(int nPieces, vector< block * > &dest)
blockReader(vector< block * > &dest)