#include <netfem_data.h>
Public Member Functions | |
NetFEM_doubleField () | |
~NetFEM_doubleField () | |
const char * | getName (void) const |
bool | getSpatial (void) const |
int | getItems (void) const |
int | getDoublesPerItem (void) const |
int | getStride (void) const |
const double * | getData (int itemNo) const |
void | pup (PUP::er &p) |
void | copy (void) |
Private Member Functions | |
void | allocate (void) |
Private Attributes | |
int | n |
double * | start |
NetFEM_format | fmt |
bool | isSpatial |
CkShortStr | name |
bool | isHeapAllocated |
Friends | |
class | NetFEM_item |
Definition at line 68 of file netfem_data.h.
NetFEM_doubleField::NetFEM_doubleField | ( | ) | [inline] |
NetFEM_doubleField::~NetFEM_doubleField | ( | ) | [inline] |
void NetFEM_doubleField::allocate | ( | void | ) | [inline, private] |
Definition at line 77 of file netfem_data.h.
References fmt, isHeapAllocated, n, start, and NetFEM_format::vec_len.
Referenced by copy(), and pup().
const char* NetFEM_doubleField::getName | ( | void | ) | const [inline] |
bool NetFEM_doubleField::getSpatial | ( | void | ) | const [inline] |
int NetFEM_doubleField::getItems | ( | void | ) | const [inline] |
int NetFEM_doubleField::getDoublesPerItem | ( | void | ) | const [inline] |
Definition at line 94 of file netfem_data.h.
References fmt, and NetFEM_format::vec_len.
Referenced by print().
int NetFEM_doubleField::getStride | ( | void | ) | const [inline] |
const double* NetFEM_doubleField::getData | ( | int | itemNo | ) | const [inline] |
Definition at line 96 of file netfem_data.h.
References fmt, NetFEM_format::forItem(), and start.
void NetFEM_doubleField::pup | ( | PUP::er & | p | ) |
Definition at line 42 of file netfem_data.C.
References allocate(), copy(), NetFEM_format::distance, fmt, NetFEM_format::forItem(), isHeapAllocated, isSpatial, PUP::er::isUnpacking(), n, name, p, CkShortStr::pup(), start, NetFEM_format::vec_len, and version.
void NetFEM_doubleField::copy | ( | void | ) |
Definition at line 62 of file netfem_data.C.
References allocate(), fmt, NetFEM_format::forItem(), isHeapAllocated, n, src, start, and NetFEM_format::vec_len.
Referenced by pup().
friend class NetFEM_item [friend] |
Definition at line 69 of file netfem_data.h.
int NetFEM_doubleField::n [private] |
Definition at line 70 of file netfem_data.h.
Referenced by NetFEM_item::add(), allocate(), copy(), getItems(), and pup().
double* NetFEM_doubleField::start [private] |
Definition at line 71 of file netfem_data.h.
Referenced by NetFEM_item::add(), allocate(), copy(), getData(), pup(), and ~NetFEM_doubleField().
NetFEM_format NetFEM_doubleField::fmt [private] |
Definition at line 72 of file netfem_data.h.
Referenced by NetFEM_item::add(), allocate(), copy(), getData(), getDoublesPerItem(), getStride(), and pup().
bool NetFEM_doubleField::isSpatial [private] |
Definition at line 73 of file netfem_data.h.
Referenced by NetFEM_item::add(), getSpatial(), and pup().
CkShortStr NetFEM_doubleField::name [private] |
Definition at line 74 of file netfem_data.h.
Referenced by NetFEM_item::add(), getName(), and pup().
bool NetFEM_doubleField::isHeapAllocated [private] |
Definition at line 75 of file netfem_data.h.
Referenced by allocate(), copy(), NetFEM_doubleField(), pup(), and ~NetFEM_doubleField().