1 const volScalarField::GeometricBoundaryField& pbf = p.boundaryField();
2 wordList rhoBoundaryTypes = pbf.types();
4 forAll(rhoBoundaryTypes, patchi)
8 rhoBoundaryTypes[patchi] == "pressureTransmissive"
11 rhoBoundaryTypes[patchi] = zeroGradientFvPatchScalarField::typeName;
13 else if (pbf[patchi].fixesValue())
15 rhoBoundaryTypes[patchi] = fixedRhoFvPatchScalarField::typeName;
19 rhoBoundaryTypes[patchi] = gradientRhoFvPatchScalarField::typeName;