40 List<
T*>(len, reinterpret_cast<
T*>(0))
115 const label idx = this->findNull();
120 <<
"Element " << idx <<
" is null" <<
nl
A rudimentary list of pointers used for PtrList, UPtrList, etc. This class is considered implementati...
void checkNonNull() const
FatalError if any null exists in the list.
constexpr PtrListDetail() noexcept
Default construct.
void setAddressableSize(const label n) noexcept
Set addressed size to be inconsistent with allocated storage.
virtual bool resize()
Resize the ODE solver.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void operator=(const UList< T > &a)
Assignment to UList operator. Takes linear time.
void clear()
Clear the list, i.e. set size to zero.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void setAddressableSize(const label n) noexcept
Set addressed size to be inconsistent with allocated storage.
transferModelList & transfer()
Transfer.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManip< error > abort(error &err)
constexpr char nl
The newline '\n' character (0x0a)