FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

findRefCell.H File Reference

Find the reference cell nearest (in index) to the given cell but which is not on a cyclic, symmetry or processor patch. More...


Detailed Description

Find the reference cell nearest (in index) to the given cell but which is not on a cyclic, symmetry or processor patch.

InNamespace Foam

Source files

Definition in file findRefCell.H.

#include "src/OpenFOAM/primitives/ints/label/label.H"
#include "src/finiteVolume/fields/volFields/volFields.H"
Include dependency graph for findRefCell.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.