Amended fix for basicSymmetryFvPatchField.C

This commit is contained in:
Dominik Christ 2015-04-22 15:49:47 +01:00
parent 4ef5a2ad65
commit 22303c24bf

View file

@ -73,18 +73,7 @@ basicSymmetryFvPatchField<Type>::basicSymmetryFvPatchField
skewCorrected_(dict.lookupOrDefault<Switch>("skewCorrected", false)),
secondOrder_(dict.lookupOrDefault<Switch>("secondOrder", false))
{
// Read the value if present
if (dict.found("value"))
{
fvPatchField<Type>::operator==
(
Field<Type>("value", dict, p.size())
);
}
else
{
this->evaluate();
}
this->evaluate();
}