FEniCS / dolfinx

Next generation FEniCS problem solving environment
https://fenicsproject.org
GNU Lesser General Public License v3.0
734 stars 178 forks source link

Implement global support dofs #1983

Open mscroggs opened 2 years ago

mscroggs commented 2 years ago

ufcx_dofmap has a global_support_dofs property, which I believe the aim of which is to support Real spaces (spaces with one DOF for the entire mesh). Currently this option is unused in DOLFINx.

I've been attempting to implement real spaces in the branch https://github.com/FEniCS/dolfinx/tree/mscroggs/real-space (and https://github.com/FEniCS/ffcx/tree/mscroggs/real-space)

mscroggs commented 2 years ago

See also #225

jorgensd commented 5 days ago

@mscroggs this should be revisited now that we do not have dofmaps as part of UFCx, and the "real" element is still a highly sought after feature.

From an FFCx perspective, a Real finite element function is equivalent to a DG-0 function, and it is only the DOLFINx dofmap that has to have "global" support dofs.

I know @jhale and @michalhabera had some ideas for this.