|
|
|
BiIndirectList< T > Class Template ReferenceIndexes into negList (negative index) or posList (zero or positive index). More...
Collaboration diagram for BiIndirectList< T >:
![]()
Detailed Descriptiontemplate<class T>
Indexes into negList (negative index) or posList (zero or positive index).
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BiIndirectList | ( | const UList< T > & | posList, | |
| const UList< T > & | negList, | |||
| const UList< label > & | addr | |||
| ) | [inline] |
Construct given the complete lists and the addressing array.
Definition at line 22 of file BiIndirectListI.H.
| Foam::label size | ( | ) | const [inline] |
Definition at line 37 of file BiIndirectListI.H.
| bool empty | ( | ) | const [inline] |
Definition at line 44 of file BiIndirectListI.H.
References List< T >::size().

| const Foam::UList< T > & posList | ( | ) | const [inline] |
Definition at line 51 of file BiIndirectListI.H.
References UList< T >::empty().

| const Foam::UList< T > & negList | ( | ) | const [inline] |
Definition at line 58 of file BiIndirectListI.H.
| const Foam::List< Foam::label > & addressing | ( | ) | const [inline] |
Definition at line 65 of file BiIndirectListI.H.
| Foam::List< Foam::label > & addressing | ( | ) | [inline] |
Definition at line 73 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 80 of file BiIndirectListI.H.
| Foam::label negIndex | ( | const label | i | ) | [inline, static] |
Definition at line 87 of file BiIndirectListI.H.
| Foam::List< T > operator() | ( | ) | const [inline] |
| T & operator[] | ( | const label | i | ) | [inline] |
Return non-const access to an element.
Definition at line 110 of file BiIndirectListI.H.
Referenced by BiIndirectList< T >::operator=().

| const T & operator[] | ( | const label | i | ) | const [inline] |
| void operator= | ( | const UList< T > & | ae | ) | [inline] |
| void operator= | ( | const T & | t | ) | [inline] |
Assignment of all entries to the given value.
Definition at line 161 of file BiIndirectListI.H.
References BiIndirectList< T >::operator[]().
