|
|
|
BiIndirectList Class Template ReferenceList of all members.Detailed Descriptiontemplate<class T>
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| BiIndirectList (const UList< T > &posList, const UList< T > &negList, const List< label > &) | |
| Construct given the complete lists and the addressing array. | |
| label | size () const |
| const UList< T > & | posList () const |
| const UList< T > & | negList () const |
| const List< label > & | addressing () const |
| List< label > & | addressing () |
| List< T > | operator() () const |
| Return the addressed elements as a List. | |
| T & | operator[] (const label) |
| Return non-const access to an element. | |
| const T & | operator[] (const label) const |
| Return const access to an element. | |
| void | operator= (const UList< T > &) |
| Assignment from UList of addressed elements. | |
| void | operator= (const T &) |
| Assignment of all entries to the given value. | |
Static Public Member Functions | |
| static label | posIndex (const label i) |
| Calculate index given whether index is into posList or negList. | |
| static label | negIndex (const label i) |
| BiIndirectList | ( | const UList< T > & | posList, | |
| const UList< T > & | negList, | |||
| const List< label > & | ||||
| ) | [inline] |
Construct given the complete lists and the addressing array.
Definition at line 36 of file BiIndirectListI.H.
| Foam::label size | ( | ) | const [inline] |
Definition at line 51 of file BiIndirectListI.H.
Referenced by BiIndirectList::negIndex().
Here is the caller graph for this function:

| const Foam::UList< T > & posList | ( | ) | const [inline] |
Definition at line 58 of file BiIndirectListI.H.
| const Foam::UList< T > & negList | ( | ) | const [inline] |
Definition at line 65 of file BiIndirectListI.H.
| const Foam::List< Foam::label > & addressing | ( | ) | const [inline] |
Definition at line 72 of file BiIndirectListI.H.
| Foam::List< Foam::label > & addressing | ( | ) | [inline] |
Definition at line 80 of file BiIndirectListI.H.
| Foam::label posIndex | ( | const label | i | ) | [inline, static] |
Calculate index given whether index is into posList or negList.
Definition at line 87 of file BiIndirectListI.H.
| Foam::label negIndex | ( | const label | i | ) | [inline, static] |
Definition at line 94 of file BiIndirectListI.H.
References forAll, and BiIndirectList::size().
Here is the call graph for this function:

| Foam::List< T > operator() | ( | ) | const [inline] |
Return the addressed elements as a List.
Definition at line 103 of file BiIndirectListI.H.
References BiIndirectList::operator[]().
Here is the call graph for this function:

| T & operator[] | ( | const | label | ) | [inline] |
Return non-const access to an element.
Definition at line 117 of file BiIndirectListI.H.
Referenced by BiIndirectList::operator()().
Here is the caller graph for this function:

| const T & operator[] | ( | const | label | ) | const [inline] |
| void operator= | ( | const UList< T > & | ) | [inline] |
| void operator= | ( | const T & | ) | [inline] |