#include <coalCloudList.H>


Public Member Functions | |
| coalCloudList (const volScalarField &rho, const volVectorField &U, const dimensionedVector &g, const SLGThermo &slgThermo) | |
| void | evolve () |
| Evolve the cloud collection. | |
| tmp< volVectorField::Internal > | UTrans () const |
| Return const reference to momentum source. | |
| tmp< fvVectorMatrix > | SU (volVectorField &U) const |
| Return tmp momentum source term. | |
| tmp< volScalarField::Internal > | hsTrans () const |
| Sensible enthalpy transfer [J/kg]. | |
| tmp< fvScalarMatrix > | Sh (volScalarField &hs) const |
| Return sensible enthalpy source term [J/kg/m3/s]. | |
| tmp< fvScalarMatrix > | SYi (const label i, volScalarField &Yi) const |
| Return mass source term for specie i - specie eqn. | |
| tmp< volScalarField::Internal > | rhoTrans () const |
| Return total mass transfer [kg/m3]. | |
| tmp< volScalarField::Internal > | Srho () const |
| Return tmp total mass source for carrier phase. | |
| tmp< volScalarField::Internal > | Srho (const label i) const |
| Return tmp total mass source for carrier phase specie i. | |
| tmp< fvScalarMatrix > | Srho (volScalarField &rho) const |
| Return total mass source term [kg/m3/s]. | |
| Public Member Functions inherited from PtrList< coalCloud > | |
| Foam::PtrList< coalCloud > | clone (Args &&... args) const |
| constexpr | PtrList () noexcept |
| Default construct. | |
| ~PtrList () | |
| Destructor. Frees all pointers. | |
| const coalCloud * | set (const label i) const |
| Return const pointer to element (can be nullptr), or nullptr for out-of-range access (ie, with bounds checking). | |
| void | clear () |
| Clear the PtrList. Delete allocated entries and set size to zero. | |
| void | free () |
| Free memory and nullify all entries. Does not change the list size. | |
| void | resize (const label newLen) |
| Adjust size of PtrList. | |
| void | resize_null (const label newLen) |
Set the addressed list to the given size, deleting all existing entries. Afterwards the list contains all nullptr entries. | |
| coalCloud & | emplace_back (Args &&... args) |
| Construct and append an element to the end of the list, return reference to the new list element. | |
| void | push_back (coalCloud *ptr) |
| Append an element to the end of the list. | |
| coalCloud & | emplace_set (const label i, Args &&... args) |
| Construct and set a new element at given position, (discard old element at that location). | |
| coalCloud & | emplace (const label i, Args &&... args) |
| Same as emplace_set(). | |
| coalCloud & | try_emplace (const label i, Args &&... args) |
| Like emplace_set() but will not overwrite an occupied (non-null) location. | |
| autoPtr< coalCloud > | release (const label i) |
| Release ownership of the pointer at the given position. | |
| void | transfer (PtrList< coalCloud > &list) |
| Transfer into this list and annul the argument list. | |
| void | operator= (const UPtrList< coalCloud > &list) |
| Copy assignment. | |
| void | setSize (const label n) |
| Same as resize(). | |
| void | append (autoPtr< coalCloud > &ptr) |
| Move append an element to the end of the list. | |
| Public Member Functions inherited from UPtrList< coalCloud > | |
| bool | empty () const noexcept |
| True if the list is empty (ie, size() is zero). | |
| label | size () const noexcept |
| The number of entries in the list. | |
| label | capacity () const noexcept |
| Size of the underlying storage. | |
| label | count_nonnull () const noexcept |
| The number of non-nullptr entries in the list. | |
| coalCloud & | front () |
| Reference to the first element of the list. | |
| coalCloud & | back () |
| Reference to the last element of the list. | |
| const coalCloud * | test (const label i) const |
| Return const pointer to element (can be nullptr), or nullptr for out-of-range access (ie, with bounds checking). | |
| const coalCloud * | get (const label i) const |
| Return const pointer to element (can be nullptr), or nullptr for out-of-range access (ie, with bounds checking). | |
| const coalCloud * | set (const label i) const |
| Return const pointer to element (can be nullptr), or nullptr for out-of-range access (ie, with bounds checking). | |
| void | clear () |
| Set list size to zero. | |
| void | free () |
| Nullify all entries. Does not change the list size. | |
| void | resize (const label newLen) |
Change the size of the list. Any new entries are nullptr. | |
| void | resize_null (const label newLen) |
Set the list to the given size and set all entries to nullptr. | |
| label | squeezeNull () |
| Squeeze out nullptr entries in the list of pointers after which any null pointers will be at the end of the list. | |
| void | push_back (coalCloud *ptr) |
| Append an element to the end of the list. | |
| void | swap (UPtrList< coalCloud > &list) noexcept |
| Swap content. | |
| void | transfer (UPtrList< coalCloud > &list) |
| Transfer contents into this list and annul the argument. | |
| void | reorder (const labelUList &oldToNew, const bool check=false) |
| Reorder elements. Reordering must be unique (ie, shuffle). | |
| void | sortOrder (const labelUList &order, const bool check=false) |
| Reorder elements according to new order mapping (newToOld). Reordering must be unique (ie, shuffle). | |
| void | checkNonNull () const |
| Check and raise FatalError if any nullptr exists in the list. | |
| const coalCloud & | at (const label i) const |
| Return const reference to the element at given position. FatalError for bounds problem or nullptr. | |
| const coalCloud & | operator[] (const label i) const |
| Return const reference to the element at given position. FatalError for bounds problem or nullptr. Same as at(). | |
| FOAM_DEPRECATED_FOR (2022-09, "get(), set() or test() methods") const coalCloud *operator()(const label i) const | |
| Deprecated(2022-09) - same as get(). | |
| void | operator= (const UPtrList< coalCloud > &list) |
| Copy assignment (shallow copies addresses). | |
| Ostream & | printAddresses (Ostream &os) const |
| Print pointer addresses to Ostream (debugging only). | |
| Ostream & | writeList (Ostream &os, const bool trimNull=false) const |
| Write UPtrList to Ostream, optionally ignoring null entries. | |
| coalCloud ** | begin_ptr () noexcept |
| Iterator to begin of raw pointers traversal (use with caution). | |
| coalCloud ** | end_ptr () noexcept |
| Iterator beyond end of raw pointers traversal (use with caution). | |
| iterator | begin () |
| Return iterator to begin traversal of non-nullptr entries. | |
| iterator | end () noexcept |
| Return iterator beyond end of UPtrList traversal. | |
| const_iterator | cbegin () const |
| Return const_iterator to begin traversal of non-nullptr entries. | |
| const_iterator | cend () const noexcept |
| Return const_iterator beyond end of UPtrList traversal. | |
| void | setSize (const label n) |
| Alias for resize(). | |
| coalCloud & | first () |
| Reference to the first element of the list. | |
| coalCloud & | last () |
| Return reference to the last element of the list. | |
| void | append (coalCloud *ptr) |
| Append an element to the end of the list. | |
| label | count () const noexcept |
| The number of non-nullptr entries in the list. | |
Additional Inherited Members | |
| Public Types inherited from UPtrList< coalCloud > | |
| typedef coalCloud | value_type |
| Type of values the list contains. | |
| typedef coalCloud & | reference |
| A non-const reference to the value_type. | |
| typedef const coalCloud & | const_reference |
| A const reference to the value_type. | |
| Protected Member Functions inherited from PtrList< coalCloud > | |
| void | readIstream (Istream &is, const INew &inew) |
| Read from Istream using Istream constructor class. | |
| Protected Member Functions inherited from UPtrList< coalCloud > | |
| void | setAddressableSize (const label n) noexcept |
| Adjust addressable size. | |
| label | find_next (label pos) const |
| The next non-null entry after the specified position. | |
| UPtrList (Detail::PtrListDetail< coalCloud > &&ptrs) noexcept | |
| Low-level move construct. | |
| Protected Attributes inherited from UPtrList< coalCloud > | |
| Detail::PtrListDetail< coalCloud > | ptrs_ |
| The list of pointers. | |
Definition at line 37 of file coalCloudList.H.
| coalCloudList | ( | const volScalarField & | rho, |
| const volVectorField & | U, | ||
| const dimensionedVector & | g, | ||
| const SLGThermo & | slgThermo ) |
Definition at line 26 of file coalCloudList.C.
References Foam::endl(), g, dictionary::get(), Foam::Info, mesh, IOobjectOption::MUST_READ, Foam::name(), PtrList< coalCloud >::PtrList(), rho, PtrList< coalCloud >::set(), PtrList< coalCloud >::setSize(), HashTable< T, Key, Hash >::size(), slgThermo(), and U.

| void evolve | ( | ) |
Evolve the cloud collection.
Definition at line 77 of file coalCloudList.C.
References forAll, and UPtrList< coalCloud >::operator[]().

|
inline |
Return const reference to momentum source.
Definition at line 26 of file coalCloudListI.H.
References Foam::dimMass, Foam::dimVelocity, fld(), forAll, GeometricField< vector, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, UPtrList< coalCloud >::operator[](), and Foam::Zero.

|
inline |
Return tmp momentum source term.
Definition at line 46 of file coalCloudListI.H.
References Foam::dimForce, forAll, tmp< T >::New(), UPtrList< coalCloud >::operator[](), and U.

|
inline |
Sensible enthalpy transfer [J/kg].
Definition at line 64 of file coalCloudListI.H.
References Foam::dimEnergy, fld(), forAll, GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, UPtrList< coalCloud >::operator[](), and Foam::Zero.

|
inline |
Return sensible enthalpy source term [J/kg/m3/s].
Definition at line 84 of file coalCloudListI.H.
References Foam::dimEnergy, Foam::dimTime, forAll, tmp< T >::New(), and UPtrList< coalCloud >::operator[]().

|
inline |
Return mass source term for specie i - specie eqn.
Definition at line 101 of file coalCloudListI.H.
References Foam::dimMass, Foam::dimTime, forAll, tmp< T >::New(), and UPtrList< coalCloud >::operator[]().

|
inline |
Return total mass transfer [kg/m3].
Definition at line 120 of file coalCloudListI.H.
References Foam::dimMass, fld(), forAll, GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, UPtrList< coalCloud >::operator[](), rhoTrans(), and Foam::Zero.
Referenced by rhoTrans().


|
inline |
Return tmp total mass source for carrier phase.
Definition at line 144 of file coalCloudListI.H.
References Foam::dimDensity, Foam::dimTime, fld(), forAll, GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, UPtrList< coalCloud >::operator[](), and Foam::Zero.

|
inline |
Return tmp total mass source for carrier phase specie i.
Definition at line 165 of file coalCloudListI.H.
References Foam::dimDensity, Foam::dimTime, fld(), forAll, GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, UPtrList< coalCloud >::operator[](), and Foam::Zero.

|
inline |
Return total mass source term [kg/m3/s].
Definition at line 188 of file coalCloudListI.H.
References Foam::dimMass, Foam::dimTime, forAll, tmp< T >::New(), UPtrList< coalCloud >::operator[](), and rho.
