createFieldRefs.H
Go to the documentation of this file.
2 const volScalarField& T = thermo.T();
3 const volScalarField& psi = thermo.psi();
4 
5 bool inviscid(true);
6 if (max(thermo.mu().cref().primitiveField()) > 0.0)
7 {
8  inviscid = false;
9 }
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Definition: hashSets.C:40
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:72
psiReactionThermo & thermo
Definition: createFields.H:28
const volScalarField & T
bool inviscid(true)
const volScalarField & psi
volScalarField & p