implement a function that takes a Model and returns the ufl forms that can be put into a scheme:
scheme = galerkin( dune.femdg.femDGUFL(Model, space)[0] ) The function returns the [form,dirichletBCs] as first value as used above and then the individual ufl models and additional terms extracted from the Model class, i.e., boundary fluxes, velocity, etc. add test
Showing
- pydemo/CMakeLists.txt 1 addition, 0 deletionspydemo/CMakeLists.txt
- pydemo/modeltest/bndtest.py 114 additions, 0 deletionspydemo/modeltest/bndtest.py
- pydemo/modeltest/modeltest.py 111 additions, 0 deletionspydemo/modeltest/modeltest.py
- python/dune/femdg/_operators.py 55 additions, 8 deletionspython/dune/femdg/_operators.py
- python/dune/femdg/patch.py 19 additions, 9 deletionspython/dune/femdg/patch.py
Loading
Please register or sign in to comment