Go to the source code of this file.
Functions | |
template<class T > | |
void | printInfo (const word &tag, const UList< T > &lst, const bool showSize=false) |
template<class T , unsigned SizeInc, unsigned SizeMult, unsigned SizeDiv> | |
void | printInfo (const word &tag, const DynamicList< T, SizeInc, SizeMult, SizeDiv > &lst, const bool showSize=false) |
int | main (int argc, char *argv[]) |
Definition at line 36 of file Test-DynamicList.C.
References Foam::endl(), Foam::Info, and UList::size().
Referenced by main().
void printInfo | ( | const word & | tag, |
const DynamicList< T, SizeInc, SizeMult, SizeDiv > & | lst, | ||
const bool | showSize = false |
||
) |
Definition at line 53 of file Test-DynamicList.C.
References DynamicList::capacity(), Foam::endl(), and Foam::Info.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 72 of file Test-DynamicList.C.
References DynamicList::append(), DynamicList::capacity(), Foam::endl(), forAll, Foam::identity(), Foam::Info, Foam::nl, printInfo(), Foam::reorder(), DynamicList::reserve(), DynamicList::setCapacity(), DynamicList::transfer(), List::transfer(), DynamicList::xfer(), and List::xfer().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.