# Number of degrees of freedom

**URL:** <https://community.freefem.org/t/number-of-degrees-of-freedom/523>\
**Category:** General Discussion\
**Created:** [July 27, 2020, 5:49pm UTC](https://community.freefem.org/t/number-of-degrees-of-freedom/523 "2020-07-27T17:49:42Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![hamed](https://avatars.discourse-cdn.com/v4/letter/h/d6d6ee/32.png) [@hamed](https://community.freefem.org/u/hamed)\
**Post date:** [July 27, 2020, 10:19pm UTC](https://community.freefem.org/t/number-of-degrees-of-freedom/523/3 "2020-07-27T22:19:13Z")

</div>

It seems I had a misunderstanding about `int2d`

suppose that I have a mixed `fespace` like  
`fespace -> [RT0Orth,P1]`  
I like to have `RT0Orth` to be defined all over the domain and `P1` only inside the `coil`.

In fact I like to make a matrix like `K=[A B; B' C]` which  
A=(RT0Orth,RT0Orth);  
B=(RT0Orth,P1);  
C=(P1,P1);

---

_[View the full topic](https://community.freefem.org/t/number-of-degrees-of-freedom/523)._
