An objectMap is a pair of labels defining the mapping of an object from another object, e.g. a cell mapped from a point. More...
#include <OpenFOAM/objectMap.H>
An objectMap is a pair of labels defining the mapping of an object from another object, e.g. a cell mapped from a point.
Definition at line 59 of file objectMap.H.
Public Member Functions | |
objectMap () | |
Null constructor for lists.
| |
objectMap (const label index, const labelList &master) | |
Construct from components.
| |
objectMap (Istream &) | |
Construct from Istream.
| |
label & | index () |
Return object index.
| |
label | index () const |
labelList & | masterObjects () |
Return master object index.
| |
const labelList & | masterObjects () const |
Friends | |
bool | operator== (const objectMap &a, const objectMap &b) |
bool | operator!= (const objectMap &a, const objectMap &b) |
Ostream & | operator<< (Ostream &, const objectMap &) |
Istream & | operator>> (Istream &, objectMap &) |
objectMap | ( | ) | [inline]
|
Null constructor for lists.
Definition at line 37 of file objectMapI.H.
Construct from components.
Definition at line 44 of file objectMapI.H.
Construct from Istream.
Definition at line 51 of file objectMapI.H.
References IOstream::check(), Istream::readBegin(), and Istream::readEnd().
label & index | ( | ) | [inline]
|
Return object index.
Definition at line 68 of file objectMapI.H.
label index | ( | ) | const [inline]
|
Definition at line 74 of file objectMapI.H.
labelList & masterObjects | ( | ) | [inline]
|
Return master object index.
Definition at line 80 of file objectMapI.H.
const labelList & masterObjects | ( | ) | const [inline]
|
Definition at line 86 of file objectMapI.H.