mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GAMGAgglomerationTemplates: Assign to Zero rather than pTraits<Type>::zero
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user