Amended fix for basicSymmetryFvPatchField.C
This commit is contained in:
parent
4ef5a2ad65
commit
22303c24bf
1 changed files with 1 additions and 12 deletions
|
@ -72,20 +72,9 @@ basicSymmetryFvPatchField<Type>::basicSymmetryFvPatchField
|
|||
transformFvPatchField<Type>(p, iF, dict),
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
template<class Type>
|
||||
|
|
Reference in a new issue