OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

objectMap Class Reference

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...

Collaboration diagram for objectMap:

List of all members.


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 &)

Detailed Description

An objectMap is a pair of labels defining the mapping of an object from another object, e.g. a cell mapped from a point.

Source files

Definition at line 53 of file objectMap.H.


Constructor & Destructor Documentation

objectMap (  )  [inline]

Null constructor for lists.

Definition at line 30 of file objectMapI.H.

objectMap ( const label  index,
const labelList &  master 
) [inline]

Construct from components.

Definition at line 37 of file objectMapI.H.

objectMap ( Istream &  is  )  [inline]

Construct from Istream.

Definition at line 44 of file objectMapI.H.


Member Function Documentation

label & index (  )  [inline]

Return object index.

Definition at line 61 of file objectMapI.H.

label index (  )  const [inline]

Definition at line 67 of file objectMapI.H.

labelList & masterObjects (  )  [inline]

Return master object index.

Definition at line 73 of file objectMapI.H.

const labelList & masterObjects (  )  const [inline]

Definition at line 79 of file objectMapI.H.


Friends And Related Function Documentation

bool operator== ( const objectMap &  a,
const objectMap &  b 
) [friend]

bool operator!= ( const objectMap &  a,
const objectMap &  b 
) [friend]

Ostream& operator<< ( Ostream &  os,
const objectMap &  a 
) [friend]


The documentation for this class was generated from the following files:
  • src/OpenFOAM/meshes/polyMesh/mapPolyMesh/objectMap/objectMap.H
  • src/OpenFOAM/meshes/polyMesh/mapPolyMesh/objectMap/objectMapI.H
Copyright © 2000-2009 OpenCFD Ltd