[fix] make base class accessible
The base class of DiscreteGridFunction was inaccessible and thus these functions were not properly detected as during interpolate.
The base class of DiscreteGridFunction was inaccessible and thus these functions were not properly detected as during interpolate.