BUGFIX: Uninitialised member variables
[foam-extend-3.2.git] / applications / solvers / compressible / rhoCentralFoam / rhoBoundaryTypes.H
blob7118d24fc9247c5ed8f0301d9a7bb837ba278b0b
1 const volScalarField::GeometricBoundaryField& pbf = p.boundaryField();
2 wordList rhoBoundaryTypes = pbf.types();
4 forAll(rhoBoundaryTypes, patchi)
6     if (rhoBoundaryTypes[patchi] == "waveTransmissive")
7     {
8         rhoBoundaryTypes[patchi] = zeroGradientFvPatchScalarField::typeName;
9     }
10     else if (pbf[patchi].fixesValue())
11     {
12         rhoBoundaryTypes[patchi] = fixedRhoFvPatchScalarField::typeName;
13     }