|
Simpatico
v1.10
|
An array of exactly 2 objects.
#include <Pair.h>
Static Public Member Functions | |
| static void | commitMpiType () |
| Commit associated MPI DataType. More... | |
Static Public Member Functions inherited from Util::FArray< Data, 2 > | |
| static void | commitMpiType () |
| Commit associated MPI DataType. More... | |
Additional Inherited Members | |
Public Member Functions inherited from Util::FArray< Data, 2 > | |
| FArray () | |
| Constructor. More... | |
| FArray (const FArray< Data, Capacity > &other) | |
| Copy constructor. More... | |
| FArray< Data, Capacity > & | operator= (const FArray< Data, Capacity > &other) |
| Assignment, element by element. More... | |
| int | size () const |
| Return number of elements in this FArray. More... | |
| int | capacity () const |
| Return number of elements in this FArray. More... | |
| void | begin (ArrayIterator< Data > &iterator) |
| Set an ArrayIterator to the beginning of this Array. More... | |
| void | begin (ConstArrayIterator< Data > &iterator) const |
| Set a ConstArrayIterator to the beginning of this Array. More... | |
| Data & | operator[] (int i) |
| Mimic C array subscripting. More... | |
| const Data & | operator[] (int i) const |
| Mimic C array subscripting. More... | |
| Data * | cArray () |
| Return pointer to underlying C array. More... | |
| const Data * | cArray () const |
| Return pointer to const to underlying C array. More... | |
| void | serialize (Archive &ar, const unsigned int version) |
| Serialize a FArray to/from an Archive. More... | |
| int | packedSize () |
| Return packed size in a MemoryArchive, in bytes. More... | |
|
static |
Commit associated MPI DataType.
Definition at line 69 of file Pair.h.
References Util::MpiStructBuilder::addMember(), Util::MpiStructBuilder::commit(), and Util::MpiStructBuilder::setBase().
Referenced by McMd::commitMpiTypes().
1.8.11