Go to the documentation of this file.
45 int main(
int argc,
char *argv[])
94 Info<<
"xB[" << xB->size() <<
"]\n";
99 Info<<
"xB[" << xB->size() <<
"]\n";
102 for (
label i = 0; i < 5; ++i)
108 face f2(xferCopy<labelList>(dl));
115 for (
label i = 5; i < 8; ++i)
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
Xfer< List< T > > xfer()
Transfer contents to the Xfer container as a plain List.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
label capacity() const
Size of the underlying storage.
#define forAll(list, i)
Loop across all elements in list.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A simple container for copying or transferring objects of type <T>.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void flip()
Flip the face in-place.
Input from memory buffer stream.
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
Xfer< T > xferMove(T &)
Construct by transferring the contents of the arg.
Xfer< T > xferCopy(const T &)
Construct by copying the contents of the arg.
int main(int argc, char *argv[])
A face is a list of labels corresponding to mesh vertices.