#include <netfem_data.h>
Public Member Functions | |
NetFEM_elems () | |
NetFEM_elems (int nEl, int nodesPerEl, int bytesPerEl, int idxBase_, int *conn_, const char *name_) | |
~NetFEM_elems () | |
int | getNodesPer (void) const |
const int * | getNodes (int elementNo) const |
const char * | getName (void) const |
int | getConnData (int elementNo, int dimension) const |
int | getConnWidth () const |
virtual void | copy (void) |
virtual void | pup (PUP::er &p) |
Private Types | |
typedef NetFEM_item | super |
Private Member Functions | |
void | allocate (void) |
void | localCopy (void) |
Private Attributes | |
CkShortStr | name |
int | nodesPer |
int | bytesPer |
int | idxBase |
int * | conn |
bool | isHeapAllocated |
Definition at line 149 of file netfem_data.h.
typedef NetFEM_item NetFEM_elems::super [private] |
Definition at line 150 of file netfem_data.h.
NetFEM_elems::NetFEM_elems | ( | ) | [inline] |
Definition at line 164 of file netfem_data.h.
References bytesPer, conn, idxBase, isHeapAllocated, and nodesPer.
NetFEM_elems::~NetFEM_elems | ( | ) | [inline] |
void NetFEM_elems::allocate | ( | void | ) | [inline, private] |
Definition at line 158 of file netfem_data.h.
References conn, NetFEM_item::getItems(), isHeapAllocated, and nodesPer.
Referenced by localCopy(), and pup().
void NetFEM_elems::localCopy | ( | void | ) | [private] |
Definition at line 106 of file netfem_data.C.
References allocate(), bytesPer, CkShiftPointer(), conn, NetFEM_item::getItems(), idxBase, isHeapAllocated, nodesPer, and src.
Referenced by copy(), and pup().
int NetFEM_elems::getNodesPer | ( | void | ) | const [inline] |
const char* NetFEM_elems::getName | ( | void | ) | const [inline] |
int NetFEM_elems::getConnWidth | ( | ) | const [inline] |
void NetFEM_elems::copy | ( | void | ) | [virtual] |
Reimplemented from NetFEM_item.
Definition at line 117 of file netfem_data.C.
References copy(), and localCopy().
void NetFEM_elems::pup | ( | PUP::er & | p | ) | [virtual] |
Reimplemented from NetFEM_item.
Definition at line 121 of file netfem_data.C.
References allocate(), bytesPer, conn, NetFEM_item::getItems(), int, PUP::er::isUnpacking(), localCopy(), name, nodesPer, p, PUP::pup(), CkShortStr::pup(), and version.
Referenced by NetFEM_update::pup().
CkShortStr NetFEM_elems::name [private] |
int NetFEM_elems::nodesPer [private] |
Definition at line 154 of file netfem_data.h.
Referenced by allocate(), getNodes(), getNodesPer(), localCopy(), NetFEM_elems(), and pup().
int NetFEM_elems::bytesPer [private] |
Definition at line 154 of file netfem_data.h.
Referenced by getConnData(), getConnWidth(), localCopy(), NetFEM_elems(), and pup().
int NetFEM_elems::idxBase [private] |
int* NetFEM_elems::conn [private] |
Definition at line 155 of file netfem_data.h.
Referenced by allocate(), getConnData(), getNodes(), localCopy(), NetFEM_elems(), pup(), and ~NetFEM_elems().
bool NetFEM_elems::isHeapAllocated [private] |
Definition at line 156 of file netfem_data.h.
Referenced by allocate(), localCopy(), NetFEM_elems(), and ~NetFEM_elems().