Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
adjRec Class Reference

#include <adj.h>

Collaboration diagram for adjRec:

Public Member Functions

void * operator new (size_t s)
 
void operator delete (void *ptr)
 
 adjRec (face *b_, const blockLoc &l_, adjRec *next_=NULL)
 
facegetFace (void)
 
const facegetFace (void) const
 
const blockLocgetLoc (void) const
 
adjRecgetNext (void)
 
void print (void)
 
bool isExternal (void) const
 

Static Public Attributes

static allocPool< adjRecpool
 

Private Attributes

faceb
 
blockLoc l
 
adjRecnext
 

Detailed Description

Definition at line 103 of file adj.h.

Constructor & Destructor Documentation

adjRec ( face b_,
const blockLoc l_,
adjRec next_ = NULL 
)
inline

Definition at line 112 of file adj.h.

113  :b(b_), l(l_), next(next_) { }
blockLoc l
Definition: adj.h:105
face * b
Definition: adj.h:104
adjRec * next
Definition: adj.h:106

Member Function Documentation

face* getFace ( void  )
inline

Definition at line 114 of file adj.h.

References b.

Referenced by adjList::isExternal().

114 {return b;}
face * b
Definition: adj.h:104

Here is the caller graph for this function:

const face* getFace ( void  ) const
inline

Definition at line 115 of file adj.h.

References b.

115 {return b;}
face * b
Definition: adj.h:104
const blockLoc& getLoc ( void  ) const
inline

Definition at line 116 of file adj.h.

References l.

Referenced by adjList::isExternal().

116 {return l;}
blockLoc l
Definition: adj.h:105

Here is the caller graph for this function:

adjRec* getNext ( void  )
inline

Definition at line 117 of file adj.h.

References next.

Referenced by adjList::getLength(), adjList::getLoc(), adjList::hasFace(), adjList::hasLoc(), node::intersect(), adjList::isExternal(), and adjList::~adjList().

117 {return next;}
adjRec * next
Definition: adj.h:106

Here is the caller graph for this function:

bool isExternal ( void  ) const
void operator delete ( void *  ptr)
inline

Definition at line 110 of file adj.h.

References allocPool< T >::free(), and pool.

110 { pool.free(ptr); }
static allocPool< adjRec > pool
Definition: adj.h:108
void free(void *)
Definition: adj.h:92

Here is the call graph for this function:

void* operator new ( size_t  s)
inline

Definition at line 109 of file adj.h.

References allocPool< T >::alloc(), and pool.

109 { return pool.alloc(); }
static allocPool< adjRec > pool
Definition: adj.h:108
void * alloc(void)
Definition: adj.h:87

Here is the call graph for this function:

void print ( void  )

Definition at line 68 of file adj.cpp.

References b, face::getBlock(), block::getBlockNumber(), next, and print().

Referenced by print(), and adjList::print().

69 {
70  printf("%d",b->getBlock()->getBlockNumber()+1);
71  if (next!=NULL) {
72  printf(" -> "); next->print();
73  } else
74  printf(".\n");
75 }
block * getBlock(void) const
Definition: face.h:140
face * b
Definition: adj.h:104
adjRec * next
Definition: adj.h:106
int getBlockNumber(void) const
Definition: adj.h:219
void print(void)
Definition: adj.cpp:68

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

face* b
private

Definition at line 104 of file adj.h.

Referenced by getFace(), and print().

blockLoc l
private

Definition at line 105 of file adj.h.

Referenced by getLoc().

adjRec* next
private

Definition at line 106 of file adj.h.

Referenced by getNext(), and print().

allocPool< adjRec > pool
static

Definition at line 108 of file adj.h.

Referenced by operator delete(), and operator new().


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