Find the reference cell nearest (in index) to the given cell but which is not on a cyclic, symmetry or processor patch. More...
Find the reference cell nearest (in index) to the given cell but which is not on a cyclic, symmetry or processor patch.
InNamespace Foam
Definition in file findRefCell.H.
#include "src/OpenFOAM/primitives/ints/label/label.H"
#include "src/finiteVolume/fields/volFields/volFields.H"
Go to the source code of this file.
Namespaces | |
namespace | Foam |
Namespace for OpenFOAM. | |
Functions | |
void | setRefCell (const volScalarField &field, const volScalarField &fieldRef, const dictionary &dict, label &refCelli, scalar &refValue, const bool forceReference=false) |
If the field fieldRef needs referencing find the reference cell nearest.
| |
void | setRefCell (const volScalarField &field, const dictionary &dict, label &refCelli, scalar &refValue, const bool forceReference=false) |
If the field needs referencing find the reference cell nearest.
| |
scalar | getRefCellValue (const volScalarField &field, const label refCelli) |
Return the current value of field in the reference cell.
|