Skip to content

[python] add support for yasp tensorgrid

Christian Engwer requested to merge py-yasp-tensorgrid into master

This MR extends the YaspGrid creator to support tensor product grids.

Ins the course of this MR, I stumbled upon a problem, where a DGFParser specialization for the tensorproduct coordinate type was required. As I lack insights into the DGF format I just added a minimal version, just enough to make the forwarded constructors via python work.

  • add support for YaspGrid coordinate types
  • change default coordinate type in python to match the default in C++ (fixes #152 (closed))
  • export the exact type of structuredGrid also in C++
  • update yaspGrid creator to support all variants of new constructors (fixes #149 (closed))
    • construction from coordinate type
    • construction of parallel & periodic grids
    • fallback for CartesianDomain
    • fallback for old coordinates parameter

This MR depends on two changes in dune-common: dune-common!1114 (merged) and dune-common!1115 (merged).

Edited by Christian Engwer

Merge request reports

Loading