Go to the documentation of this file.00001 surfaceScalarField::GeometricBoundaryField& phivPatches = phiv.boundaryField();
00002 const volVectorField::GeometricBoundaryField& Upatches = U.boundaryField();
00003 const surfaceVectorField::GeometricBoundaryField& SfPatches = mesh.Sf().boundaryField();
00004
00005 forAll(phivPatches, patchI)
00006 {
00007 if (phiv.boundaryField().types()[patchI] == "calculated")
00008 {
00009 calculatedFvsPatchScalarField& phivPatch =
00010 refCast<calculatedFvsPatchScalarField>(phivPatches[patchI]);
00011
00012 phivPatch == (Upatches[patchI] & SfPatches[patchI]);
00013 }
00014 }