Skip to content

Cleanup implementation of DimRange in python for grid-functions

Simon Praetorius requested to merge issue/dune-typetree-python-dependency into master

Summary

In dune/python/common/dimrange.hh a dependency to dune-typetree is introduced by including typetree headers. This makes the development of typetree complicated, since changes in typetree influence the bahavior of upstream files. Thus, I may get an error in e.g. dune-function, in a header provided by dune-common that something is wrong in dune-typetree. The DimRange is only used in dune-functions to determine the range type of DiscreteFunction based on the global basis definition.

A specialization of the class DimRange should be done directly in dune-functions and not within dune-common.

Note

The implementation of DimRange for dune-functions bases is still broken. See corresponding issue in dune-functions.

Requirements

Edited by Simon Praetorius

Merge request reports