Macros for accessing List elements. More...
Go to the source code of this file.
Macros | |
#define | List_ACCESS(type, f, fp) type* const __restrict__ fp = (f).begin() |
#define | List_CONST_ACCESS(type, f, fp) const type* const __restrict__ fp = (f).begin() |
#define | List_FOR_ALL(f, i) |
#define | List_ELEM(fp, i) (fp[i]) |
Macros for accessing List elements.
Original source file ListLoopM.H
Definition in file ListLoopM.H.
Definition at line 33 of file ListLoopM.H.
Referenced by UList< Foam::vector >::deepCopy(), List< Field< scalar > >::List(), List< Field< scalar > >::operator=(), UList< Foam::vector >::operator=(), and List< Field< scalar > >::resize().
Definition at line 37 of file ListLoopM.H.
Referenced by UList< Foam::vector >::deepCopy(), FixedList< point, 2 >::find(), UList< Foam::vector >::find(), List< Field< scalar > >::List(), FixedList< point, 2 >::operator<(), List< Field< scalar > >::operator=(), FixedList< point, 2 >::operator==(), UList< Foam::vector >::operator==(), FixedList< point, 2 >::rfind(), and UList< Foam::vector >::rfind().
#define List_FOR_ALL | ( | f, | |
i | |||
) |
Definition at line 41 of file ListLoopM.H.
#define List_ELEM | ( | fp, | |
i | |||
) | (fp[i]) |
Definition at line 46 of file ListLoopM.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.