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 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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user