wence- / mesh-structure

0 stars 0 forks source link

Thoughts After First Implementation #6

Open MarcelKoch opened 4 years ago

MarcelKoch commented 4 years ago

Merging the hypercube refinement and mesh extrusion generation in dune-codegen using the common interface worked reasonably well. The current blockstructured tests for the Poisson problem as well as the 1D linear transport problem for the mesh extrusion could be reproduced. I didn't test the Stokes problem, since this requires additional thought for the datalayout. Also, the vectorization of the blockstructured code does not work, since the common version uses indirection for the vector accessing. Besides these issues, the places where I had to write specialization for each case are minimal. Most of those are within the geometry implementation, which was expected. Addionally, the computation of the dof indices had to be specialized in small parts. More on these divergences is written below.

Divergences in the Implementation

Additions to the Interface

Changes / Improvements on the Interface

Changes / Improvements to the dune-codegen Implementation