Skip to content

Field has no xfer()

with

scalarField edgeWeight(...);

then the .xfer() returns a List instead of a Field

The workaround is

xferMoveTo<scalarField, scalarList>(edgeWeight)