ENH: provide basic hooks for alternative List/Matrix allocators

- include "contiguous.H" in ListPolicy, which makes it available
  whenever UList.H has been included

ENH: return plain List instead of shrinking the DynamicList
This commit is contained in:
Mark Olesen
2025-05-21 09:48:08 +02:00
parent 4e513cec18
commit 82e0d76748
27 changed files with 378 additions and 57 deletions

View File

@ -256,7 +256,7 @@ labelList getNonRegionCells(const labelList& cellRegion, const label regionI)
nonRegionCells.append(celli);
}
}
return nonRegionCells.shrink();
return labelList(std::move(nonRegionCells));
}