Jørgen Schartum Dokken

Results 279 comments of Jørgen Schartum Dokken

> @jorgensd Do you have any further comments on this PR by any chance? I would like to have this PR go. I’d like @garth-wells, @chrisrichardson and @michalhabera to have...

Pygraphviz 1.14 doesn't support Python3.9, wait until we deprecate 3.9: https://pypi.org/project/pygraphviz. Wait until october 2025.

We could bump to 1.11 (last support python 3.9). Any thoughts?

Please note that you can use `dolfinx.io.gmshio` to read msh files (as long as you have the Python API of GMSH installed). Then you do not have to split the...

That will not necessarily give a unique answer (if u is discontinuous), and does not give an answer on every process. For parallel eval, some care should be taken (ie...

One should cache some of the work in: https://github.com/scientificcomputing/scifem/blob/main/src/scifem/eval.py if you want to use it for repeated eval on a mesh that doesn’t move (static geometry)

So I would do this slightly differently: ```python from mpi4py import MPI import dolfinx mesh = dolfinx.mesh.create_unit_square( MPI.COMM_WORLD, 10, 10, dolfinx.cpp.mesh.CellType.triangle ) V = dolfinx.fem.functionspace(mesh, ("Lagrange", 1, (2,))) u =...

> > It is always beneficial to use the maps from the collapsed space to parent and its inverse. > > Thanks for the tip! > > Is there a...

I am going to close this issue for now, as we have a resolution to the problem by collapsing the sub-spaces. Feel free to re-open if you think this is...

A C++ implementation of this has been prototyped at: https://github.com/scientificcomputing/scifem/pull/73 Any feedback on how it should be altered to be part of DOLFINx is appreciated.