GAMGAgglomerationTemplates: Assign to Zero rather than pTraits<Type>::zero

This commit is contained in:
Henry Weller
2016-03-22 14:08:35 +00:00
parent 14e4045702
commit 5eaa70cebc

View File

@ -81,7 +81,7 @@ void Foam::GAMGAgglomeration::restrictField
const labelList& fineToCoarse const labelList& fineToCoarse
) const ) const
{ {
cf = pTraits<Type>::zero; cf = Zero;
forAll(ff, i) forAll(ff, i)
{ {
@ -153,7 +153,7 @@ void Foam::GAMGAgglomeration::restrictFaceField
<< abort(FatalError); << abort(FatalError);
} }
cf = pTraits<Type>::zero; cf = Zero;
forAll(fineToCoarse, ffacei) forAll(fineToCoarse, ffacei)
{ {