replacing isType with isA to enable directMappedWall to work

This commit is contained in:
mattijs
2009-09-15 17:51:59 +01:00
parent 2cee56ee01
commit 791b5aaeaa
87 changed files with 990 additions and 231 deletions

View File

@ -53,9 +53,8 @@ forAll(Tpatches, patchI)
{
if
(
(typeid(Tpatches[patchI]) == typeid(fixedValueFvPatchScalarField))
&&
(mesh.boundaryMesh()[patchI].name() == "floor")
isA<fixedValueFvPatchScalarField>(Tpatches[patchI])
&& mesh.boundaryMesh()[patchI].name() == "floor"
)
{
fixedValueFvPatchScalarField& Tpatch =