missing patch selection

This commit is contained in:
mattijs
2008-12-03 11:19:40 +00:00
parent 881c6451a5
commit f5b23d5065

View File

@ -64,7 +64,7 @@ int main(int argc, char *argv[])
Info<< "\nWall heat fluxes [W]" << endl; Info<< "\nWall heat fluxes [W]" << endl;
forAll(patchHeatFlux, patchi) forAll(patchHeatFlux, patchi)
{ {
if (typeid(mesh.boundary()) == typeid(wallFvPatch)) if (typeid(mesh.boundary()[patchi]) == typeid(wallFvPatch))
{ {
Info<< mesh.boundary()[patchi].name() Info<< mesh.boundary()[patchi].name()
<< " " << " "