GAMGAgglomerationTemplates: Assign to Zero rather than pTraits<Type>::zero
This commit is contained in:
parent
da347abc51
commit
a16fff88f7
1 changed files with 2 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ void Foam::GAMGAgglomeration::restrictField
|
|||
const labelList& fineToCoarse
|
||||
) const
|
||||
{
|
||||
cf = pTraits<Type>::zero;
|
||||
cf = Zero;
|
||||
|
||||
forAll(ff, i)
|
||||
{
|
||||
|
|
@ -153,7 +153,7 @@ void Foam::GAMGAgglomeration::restrictFaceField
|
|||
<< abort(FatalError);
|
||||
}
|
||||
|
||||
cf = pTraits<Type>::zero;
|
||||
cf = Zero;
|
||||
|
||||
forAll(fineToCoarse, ffacei)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue