Skip to content

GridFactory: adapt to function.hh deprecation

Jö Fahlke requested to merge gridfactory-follow-function.hh-deprecation into master

Gridfactory used VirtualFunction as the interface to describe parameterized elements. This replaces that by an interface using std::function. The old interface is deprecated.

For the deprecation period, the new interface function forwards to the old interface in the abstract base class.

WIP:

  • Sent mail to dune-devel asking about parameterized insertElement()
  • Wait for comments until 2020-02-29 before merge
  • Coordinate with dune-foamgrid
  • Combed through the (external) grids listed on our homepage, none seem to use the parameterized insertElement(). dune-curvilineargrid seems to support something like that, but through a different interface. And dune-foamgrid is already listed above.
Edited by Jö Fahlke

Merge request reports

Loading