mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
@ -62,8 +62,8 @@ tmp<pointField> avg
|
||||
{
|
||||
const labelListList& pointEdges = s.pointEdges();
|
||||
|
||||
tmp<pointField> tavg(new pointField(s.nPoints(), Zero));
|
||||
pointField& avg = tavg.ref();
|
||||
auto tavg = tmp<pointField>::New(s.nPoints(), Zero);
|
||||
auto& avg = tavg.ref();
|
||||
|
||||
forAll(pointEdges, vertI)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user