mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
@ -360,8 +360,8 @@ tmp<scalarField> avg
|
||||
const scalarField& edgeWeights
|
||||
)
|
||||
{
|
||||
tmp<scalarField> tres(new scalarField(s.nPoints(), Zero));
|
||||
scalarField& res = tres.ref();
|
||||
auto tres = tmp<scalarField>::New(s.nPoints(), Zero);
|
||||
auto& res = tres.ref();
|
||||
|
||||
scalarField sumWeight(s.nPoints(), Zero);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user