#include <netfem_data.h>
Public Member Functions | |
NetFEM_item () | |
NetFEM_item (int nItems) | |
virtual | ~NetFEM_item () |
int | getItems (void) const |
int | getFields (void) const |
const NetFEM_doubleField & | getField (int fieldNo) const |
void | add (double *start, const NetFEM_format &fmt, const char *name, bool isSpatialVector) |
virtual void | copy (void) |
virtual void | pup (PUP::er &p) |
Private Types | |
enum | { maxFields = 8 } |
Private Attributes | |
int | n |
NetFEM_doubleField | fields [maxFields] |
int | nFields |
Definition at line 105 of file netfem_data.h.
anonymous enum [private] |
NetFEM_item::NetFEM_item | ( | ) | [inline] |
NetFEM_item::NetFEM_item | ( | int | nItems | ) | [inline] |
NetFEM_item::~NetFEM_item | ( | ) | [virtual] |
Definition at line 78 of file netfem_data.C.
int NetFEM_item::getItems | ( | void | ) | const [inline] |
Definition at line 123 of file netfem_data.h.
References n.
Referenced by NetFEM_elems::allocate(), NetFEM_elems::localCopy(), main(), print(), and NetFEM_elems::pup().
int NetFEM_item::getFields | ( | void | ) | const [inline] |
Definition at line 124 of file netfem_data.h.
References nFields.
Referenced by print().
const NetFEM_doubleField& NetFEM_item::getField | ( | int | fieldNo | ) | const [inline] |
Definition at line 125 of file netfem_data.h.
References fields.
Referenced by NetFEM_nodes::getCoord(), and print().
void NetFEM_item::add | ( | double * | start, | |
const NetFEM_format & | fmt, | |||
const char * | name, | |||
bool | isSpatialVector | |||
) |
Definition at line 82 of file netfem_data.C.
References fields, NetFEM_doubleField::fmt, NetFEM_doubleField::isSpatial, maxFields, n, NetFEM_doubleField::n, NetFEM_doubleField::name, nFields, and NetFEM_doubleField::start.
void NetFEM_item::copy | ( | void | ) | [virtual] |
void NetFEM_item::pup | ( | PUP::er & | p | ) | [virtual] |
Reimplemented in NetFEM_elems.
Definition at line 98 of file netfem_data.C.
References fields, n, nFields, p, and version.
Referenced by NetFEM_update::pup().
int NetFEM_item::n [private] |
Definition at line 107 of file netfem_data.h.
Referenced by add(), getItems(), NetFEM_item(), and pup().
NetFEM_doubleField NetFEM_item::fields[maxFields] [private] |
int NetFEM_item::nFields [private] |
Definition at line 110 of file netfem_data.h.
Referenced by add(), copy(), getFields(), NetFEM_item(), and pup().