# Is Real element avaliable on dolfinx now

**URL:** <https://fenicsproject.discourse.group/t/is-real-element-avaliable-on-dolfinx-now/12753>\
**Category:** dolfinx\
**Created:** [November 14, 2023, 4:45pm UTC](https://fenicsproject.discourse.group/t/is-real-element-avaliable-on-dolfinx-now/12753 "2023-11-14T16:45:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![WjjSteve](https://yyz2.discourse-cdn.com/free1/user_avatar/fenicsproject.discourse.group/wjjsteve/32/4389_2.png) [@WjjSteve](https://fenicsproject.discourse.group/u/WjjSteve)\
**Post date:** [November 14, 2023, 4:45pm UTC](https://fenicsproject.discourse.group/t/is-real-element-avaliable-on-dolfinx-now/12753/1 "2023-11-14T16:45:43Z")

</div>

A little question: seems like many people are working on the Real Element in dolfinx here:

> <https://github.com/FEniCS/dolfinx/pull/2266>
>
> Builds on previous work of @mscroggs.
> 
> Currently brings in tensor related bran…ches from @garth-wells so would need to wait before merging.

so is it avaliable to be used now? or there are still some work to do?

Thanks!

---

<div class="post-metadata">

**Author:** ![francesco-ballarin](https://avatars.discourse-cdn.com/v4/letter/f/f05b48/32.png) [@francesco-ballarin](https://fenicsproject.discourse.group/u/francesco-ballarin)\
**Post date:** [November 14, 2023, 5:14pm UTC](https://fenicsproject.discourse.group/t/is-real-element-avaliable-on-dolfinx-now/12753/2 "2023-11-14T17:14:13Z")

</div>

The pull request you linked was closed without merging to `main`, hence the real element is still not yet available on `dolfinx`. You may want to open a new post with more context of what problem you are trying to solve, as there may be alternative ways that do not require availability of the real element.

---

<div class="post-metadata">

**Author:** ![WjjSteve](https://yyz2.discourse-cdn.com/free1/user_avatar/fenicsproject.discourse.group/wjjsteve/32/4389_2.png) [@WjjSteve](https://fenicsproject.discourse.group/u/WjjSteve)\
**Post date:** [November 15, 2023, 2:13pm UTC](https://fenicsproject.discourse.group/t/is-real-element-avaliable-on-dolfinx-now/12753/3 "2023-11-15T14:13:26Z")

</div>

Hello, thanks for replying, I need to solve the Neuman Poisson with PBC, I have tried the method by removing the null space and dolfinx\_mpc, but it turns out the the result is not “periodic” sometimes, do you have some suggestions for that, is there any demo or example about this? Thanks!

---

<div class="post-metadata">

**Author:** ![francesco-ballarin](https://avatars.discourse-cdn.com/v4/letter/f/f05b48/32.png) [@francesco-ballarin](https://fenicsproject.discourse.group/u/francesco-ballarin)\
**Post date:** [November 15, 2023, 3:55pm UTC](https://fenicsproject.discourse.group/t/is-real-element-avaliable-on-dolfinx-now/12753/4 "2023-11-15T15:55:57Z")

</div>

Sorry, I can’t say I have more suggestions than those already discussed in your other post about null space removal ☹

---

<div class="post-metadata">

**Author:** ![dokken](https://yyz2.discourse-cdn.com/free1/user_avatar/fenicsproject.discourse.group/dokken/32/1560_2.png) [@dokken](https://fenicsproject.discourse.group/u/dokken)\
**Post date:** [September 18, 2024, 12:16pm UTC](https://fenicsproject.discourse.group/t/is-real-element-avaliable-on-dolfinx-now/12753/5 "2024-09-18T12:16:51Z")

</div>

A Python-implementation is available at: [GitHub - scientificcomputing/scifem: Scientific finite element toolbox](https://github.com/scientificcomputing/scifem)  
based of my C++ implementation:  
[Prototype real space · GitHub](https://gist.github.com/jorgensd/7b0ed8e55b8446fac0eff4b821dad67a)  
with a documented example at:  
[Real function spaces — scifem](https://scientificcomputing.github.io/scifem/examples/real_function_space.html)
