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

@ -72,20 +72,9 @@ basicSymmetryFvPatchField<Type>::basicSymmetryFvPatchField
transformFvPatchField<Type>(p, iF, dict), transformFvPatchField<Type>(p, iF, dict),
skewCorrected_(dict.lookupOrDefault<Switch>("skewCorrected", false)), skewCorrected_(dict.lookupOrDefault<Switch>("skewCorrected", false)),
secondOrder_(dict.lookupOrDefault<Switch>("secondOrder", 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();
} }
}
template<class Type> template<class Type>