List container for patchInteractionData class. More...
Public Member Functions | |
patchInteractionDataList () | |
Construct null. More... | |
patchInteractionDataList (const patchInteractionDataList &pidl) | |
Construct copy. More... | |
patchInteractionDataList (const polyMesh &mesh, const dictionary &dict) | |
Construct from Istream. More... | |
label | applyToPatch (const label id) const |
Return label of group containing patch id. More... | |
Public Member Functions inherited from List< patchInteractionData > | |
constexpr | List () noexcept |
Default construct. More... | |
List (const label len) | |
Construct with given size. More... | |
List (const label len, const patchInteractionData &val) | |
Construct with given size and value for all elements. More... | |
List (const label len, const Foam::zero) | |
Construct with given size initializing all elements to zero. More... | |
List (const Foam::one, const patchInteractionData &val) | |
Construct with length=1, copying the value as the only content. More... | |
List (const Foam::one, patchInteractionData &&val) | |
Construct with length=1, moving the value as the only content. More... | |
List (const Foam::one, const Foam::zero) | |
Construct with length=1, initializing content to zero. More... | |
List (const List< patchInteractionData > &a) | |
Copy construct from list. More... | |
List (const UList< patchInteractionData > &a) | |
Copy construct contents from list. More... | |
List (List< patchInteractionData > &a, bool reuse) | |
Construct as copy or re-use as specified. More... | |
List (const UList< patchInteractionData > &list, const labelUList &indices) | |
Copy construct subset of list. More... | |
List (const UList< patchInteractionData > &list, const FixedList< label, N > &indices) | |
Copy construct subset of list. More... | |
List (const FixedList< patchInteractionData, N > &list) | |
Construct as copy of FixedList<T, N> More... | |
List (const PtrList< patchInteractionData > &list) | |
Construct as copy of PtrList<T> More... | |
List (const SLList< patchInteractionData > &list) | |
Construct as copy of SLList<T> More... | |
List (const IndirectListBase< patchInteractionData, Addr > &list) | |
Construct as copy of IndirectList contents. More... | |
List (std::initializer_list< patchInteractionData > list) | |
Construct from an initializer list. More... | |
List (List< patchInteractionData > &&list) | |
Move construct from List. More... | |
List (DynamicList< patchInteractionData, SizeMin > &&list) | |
Move construct from DynamicList. More... | |
List (SortableList< patchInteractionData > &&list) | |
Move construct from SortableList. More... | |
List (SLList< patchInteractionData > &&list) | |
Move construct from SLList. More... | |
List (Istream &is) | |
Construct from Istream. More... | |
autoPtr< List< patchInteractionData > > | clone () const |
Clone. More... | |
~List () | |
Destructor. More... | |
void | clear () |
Clear the list, i.e. set size to zero. More... | |
void | resize (const label len) |
Adjust allocated size of list. More... | |
void | resize (const label len, const patchInteractionData &val) |
Adjust allocated size of list and set val for new elements. More... | |
void | resize (const label newLen) |
void | resize_nocopy (const label len) |
Adjust allocated size of list without necessarily. More... | |
void | setSize (const label n) |
Alias for resize() More... | |
void | setSize (const label n, const patchInteractionData &val) |
Alias for resize() More... | |
void | append (const patchInteractionData &val) |
Append an element at the end of the list. More... | |
void | append (patchInteractionData &&val) |
Move append an element at the end of the list. More... | |
void | append (const UList< patchInteractionData > &list) |
Append a List to the end of this list. More... | |
void | append (const IndirectListBase< patchInteractionData, Addr > &list) |
Append IndirectList contents at the end of this list. More... | |
label | appendUniq (const patchInteractionData &val) |
Append an element if not already in the list. More... | |
void | transfer (List< patchInteractionData > &list) |
void | transfer (DynamicList< patchInteractionData, SizeMin > &list) |
void | transfer (SortableList< patchInteractionData > &list) |
patchInteractionData & | newElmt (const label i) |
void | operator= (const UList< patchInteractionData > &a) |
Assignment to UList operator. Takes linear time. More... | |
void | operator= (const List< patchInteractionData > &list) |
Assignment operator. Takes linear time. More... | |
void | operator= (const SLList< patchInteractionData > &list) |
Assignment to SLList operator. Takes linear time. More... | |
void | operator= (const IndirectListBase< patchInteractionData, Addr > &list) |
Assignment from IndirectList. Takes linear time. More... | |
void | operator= (const FixedList< patchInteractionData, N > &list) |
Copy assignment from FixedList. More... | |
void | operator= (std::initializer_list< patchInteractionData > list) |
Assignment to an initializer list. More... | |
void | operator= (const patchInteractionData &val) |
Assignment of all entries to the given value. More... | |
void | operator= (const Foam::zero) |
Assignment of all entries to zero. More... | |
void | operator= (List< patchInteractionData > &&list) |
Move assignment. Takes constant time. More... | |
void | operator= (DynamicList< patchInteractionData, SizeMin > &&list) |
Move assignment. Takes constant time. More... | |
void | operator= (SortableList< patchInteractionData > &&list) |
Move assignment. Takes constant time. More... | |
void | operator= (SLList< patchInteractionData > &&list) |
Move assignment. Takes constant time. More... | |
Istream & | readList (Istream &is) |
Read List from Istream, discarding contents of existing List. More... | |
Istream & | readList (Istream &is) |
Istream & | readList (Istream &is) |
void | shallowCopy (const UList< patchInteractionData > &)=delete |
No shallowCopy permitted. More... | |
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type | set (const label i, bool val=true) |
A bitSet::set() method for a list of bool. More... | |
Additional Inherited Members | |
Public Types inherited from List< patchInteractionData > | |
typedef SubList< patchInteractionData > | subList |
Declare type of subList. More... | |
Static Public Member Functions inherited from List< patchInteractionData > | |
static const List< patchInteractionData > & | null () |
Return a null List. More... | |
List container for patchInteractionData class.
Definition at line 49 of file patchInteractionDataList.H.
Construct null.
Definition at line 34 of file patchInteractionDataList.C.
patchInteractionDataList | ( | const patchInteractionDataList & | pidl | ) |
Construct copy.
Definition at line 94 of file patchInteractionDataList.C.
patchInteractionDataList | ( | const polyMesh & | mesh, |
const dictionary & | dict | ||
) |
Construct from Istream.
Definition at line 42 of file patchInteractionDataList.C.
References DynamicList< T, SizeMin >::append(), polyMesh::boundaryMesh(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAllReverse, mesh, Foam::nl, and WarningInFunction.
Foam::label applyToPatch | ( | const label | id | ) | const |
Return label of group containing patch id.
Returns -1 if patch id is not present
Definition at line 105 of file patchInteractionDataList.C.