ikarus-project / ikarus

Ikarus is a C++-based library that uses DUNE modules to solve partial differential equations with the finite element method and more.
https://ikarus-project.github.io/
Other
6 stars 3 forks source link

python bindings for dirichlet values class #301

Closed rath3t closed 2 months ago

rath3t commented 3 months ago

Currently we have several useless method names in https://github.com/ikarus-project/ikarus/blob/fa0c8068a8de02ccbc9d3bdf2587690f60049d0a/ikarus/python/dirichletvalues/dirichletvalues.hh#L70-L106

These should be combined to fixBoundaryDOFs. and also the simplifications from https://gitlab.dune-project.org/staging/dune-functions/-/merge_requests/418 are available and should be added.

Just rename all function to fixBoundaryDOFs and keep the lambdas might already work.

Otherwise accepting py::kwargs might also work. @henrij22 can you have a look?