List of gradingDescriptor for the sections of a block with additional IO functionality. More...
Public Member Functions | |
| gradingDescriptors () | |
| Default constructor. More... | |
| gradingDescriptors (const gradingDescriptor &gd) | |
| Construct from a gradingDescriptor. More... | |
| gradingDescriptors | inv () const |
| Return the inverse gradingDescriptors with 1/expansionRatio. More... | |
Public Member Functions inherited from List< gradingDescriptor > | |
| constexpr | List () noexcept |
| Null constructor. More... | |
| List (const label len) | |
| Construct with given size. More... | |
| List (const label len, const gradingDescriptor &val) | |
| Construct with given size and value for all elements. More... | |
| List (const label len, const zero) | |
| Construct with given size initializing all elements to zero. More... | |
| List (const one, const gradingDescriptor &val) | |
| Construct with length=1, copying the value as the only content. More... | |
| List (const one, gradingDescriptor &&val) | |
| Construct with length=1, moving the value as the only content. More... | |
| List (const one, const zero) | |
| Construct with length=1, initializing content to zero. More... | |
| List (const List< gradingDescriptor > &a) | |
| Copy construct from list. More... | |
| List (const UList< gradingDescriptor > &a) | |
| Copy construct contents from list. More... | |
| List (List< gradingDescriptor > &a, bool reuse) | |
| Construct as copy or re-use as specified. More... | |
| List (const UList< gradingDescriptor > &list, const labelUList &indices) | |
| Copy construct subset of list. More... | |
| List (const UList< gradingDescriptor > &list, const FixedList< label, N > &indices) | |
| Copy construct subset of list. More... | |
| List (InputIterator begIter, InputIterator endIter) | |
| Construct given begin/end iterators. More... | |
| List (const FixedList< gradingDescriptor, N > &list) | |
| Construct as copy of FixedList<T, N> More... | |
| List (const PtrList< gradingDescriptor > &list) | |
| Construct as copy of PtrList<T> More... | |
| List (const SLList< gradingDescriptor > &list) | |
| Construct as copy of SLList<T> More... | |
| List (const IndirectListBase< gradingDescriptor, Addr > &list) | |
| Construct as copy of IndirectList contents. More... | |
| List (std::initializer_list< gradingDescriptor > list) | |
| Construct from an initializer list. More... | |
| List (List< gradingDescriptor > &&list) | |
| Move construct from List. More... | |
| List (DynamicList< gradingDescriptor, SizeMin > &&list) | |
| Move construct from DynamicList. More... | |
| List (SortableList< gradingDescriptor > &&list) | |
| Move construct from SortableList. More... | |
| List (SLList< gradingDescriptor > &&list) | |
| Move construct from SLList. More... | |
| List (Istream &is) | |
| Construct from Istream. More... | |
| autoPtr< List< gradingDescriptor > > | clone () const |
| Clone. More... | |
| ~List () | |
| Destructor. More... | |
| void | resize (const label newSize) |
| Adjust allocated size of list. More... | |
| void | resize (const label newSize, const gradingDescriptor &val) |
| Adjust allocated size of list and set val for new elements. More... | |
| void | resize (const label newSize) |
| void | setSize (const label newSize) |
| Alias for resize(const label) More... | |
| void | setSize (const label newSize, const gradingDescriptor &val) |
| Alias for resize(const label, const T&) More... | |
| void | clear () |
| Clear the list, i.e. set size to zero. More... | |
| void | append (const gradingDescriptor &val) |
| Append an element at the end of the list. More... | |
| void | append (gradingDescriptor &&val) |
| Move append an element at the end of the list. More... | |
| void | append (const UList< gradingDescriptor > &list) |
| Append a List to the end of this list. More... | |
| void | append (const IndirectListBase< gradingDescriptor, Addr > &list) |
| Append IndirectList contents at the end of this list. More... | |
| void | transfer (List< gradingDescriptor > &list) |
| void | transfer (DynamicList< gradingDescriptor, SizeMin > &list) |
| void | transfer (SortableList< gradingDescriptor > &list) |
| gradingDescriptor & | newElmt (const label i) |
| void | operator= (const UList< gradingDescriptor > &a) |
| Assignment to UList operator. Takes linear time. More... | |
| void | operator= (const List< gradingDescriptor > &list) |
| Assignment operator. Takes linear time. More... | |
| void | operator= (const SLList< gradingDescriptor > &list) |
| Assignment to SLList operator. Takes linear time. More... | |
| void | operator= (const IndirectListBase< gradingDescriptor, Addr > &list) |
| Assignment from IndirectList. Takes linear time. More... | |
| void | operator= (const FixedList< gradingDescriptor, N > &list) |
| Copy assignment from FixedList. More... | |
| void | operator= (std::initializer_list< gradingDescriptor > list) |
| Assignment to an initializer list. More... | |
| void | operator= (const gradingDescriptor &val) |
| Assignment of all entries to the given value. More... | |
| void | operator= (const zero) |
| Assignment of all entries to zero. More... | |
| void | operator= (List< gradingDescriptor > &&list) |
| Move assignment. Takes constant time. More... | |
| void | operator= (DynamicList< gradingDescriptor, SizeMin > &&list) |
| Move assignment. Takes constant time. More... | |
| void | operator= (SortableList< gradingDescriptor > &&list) |
| Move assignment. Takes constant time. More... | |
| void | operator= (SLList< gradingDescriptor > &&list) |
| Move assignment. Takes constant time. More... | |
| void | shallowCopy (const UList< gradingDescriptor > &)=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... | |
Friends | |
| Istream & | operator>> (Istream &, gradingDescriptors &) |
Additional Inherited Members | |
Public Types inherited from List< gradingDescriptor > | |
| typedef SubList< gradingDescriptor > | subList |
| Declare type of subList. More... | |
Static Public Member Functions inherited from List< gradingDescriptor > | |
| static const List< gradingDescriptor > & | null () |
| Return a null List. More... | |
List of gradingDescriptor for the sections of a block with additional IO functionality.
Definition at line 58 of file gradingDescriptors.H.
Default constructor.
Definition at line 33 of file gradingDescriptors.C.
| gradingDescriptors | ( | const gradingDescriptor & | gd | ) |
Construct from a gradingDescriptor.
Definition at line 39 of file gradingDescriptors.C.
| Foam::gradingDescriptors inv | ( | ) | const |
Return the inverse gradingDescriptors with 1/expansionRatio.
Definition at line 47 of file gradingDescriptors.C.
References forAll, and Foam::inv().
|
friend |