porousBafflePressureFvPatchField: Requires value

This commit is contained in:
Henry
2011-11-01 13:17:36 +00:00
parent 3ecf14d584
commit afdf0df33a

View File

@ -70,17 +70,10 @@ Foam::porousBafflePressureFvPatchField<Type>::porousBafflePressureFvPatchField
I_(readScalar(dict.lookup("I"))),
length_(readScalar(dict.lookup("length")))
{
if (dict.found("value"))
{
fvPatchField<Type>::operator=
(
Field<Type>("value", dict, p.size())
);
}
else
{
this->evaluate(Pstream::blocking);
}
fvPatchField<Type>::operator=
(
Field<Type>("value", dict, p.size())
);
}