# Space of weak functions

**URL:** <https://community.freefem.org/t/space-of-weak-functions/2507>\
**Category:** General Discussion\
**Created:** [May 29, 2023, 3:33pm UTC](https://community.freefem.org/t/space-of-weak-functions/2507 "2023-05-29T15:33:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![freefemuser](https://avatars.discourse-cdn.com/v4/letter/f/e47774/32.png) [@freefemuser](https://community.freefem.org/u/freefemuser)\
**Post date:** [May 29, 2023, 3:33pm UTC](https://community.freefem.org/t/space-of-weak-functions/2507/1 "2023-05-29T15:33:47Z")

</div>

![Capture3](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/2X/c/caa8d97ed54942382549413476ce5d930db47f8a.jpeg)

```auto
fespace Wh1(Th, P0);
fespace Wh2(Th, P0);

```

Is there any direct command in freefem++ to define the space of discrete weak functions.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![frederichecht](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/frederichecht/32/15_2.png) [@frederichecht](https://community.freefem.org/u/frederichecht)\
**Post date:** [May 29, 2023, 3:46pm UTC](https://community.freefem.org/t/space-of-weak-functions/2507/2 "2023-05-29T15:46:32Z")

</div>

Sorry, not at all,

And I have no idea on how to do this .
