# Nedelec elements degree 1, kind 1

**URL:** <https://community.freefem.org/t/nedelec-elements-degree-1-kind-1/2346>\
**Category:** General Discussion\
**Created:** [March 21, 2023, 1:35pm UTC](https://community.freefem.org/t/nedelec-elements-degree-1-kind-1/2346 "2023-03-21T13:35:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![smyrback](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@smyrback](https://community.freefem.org/u/smyrback)\
**Post date:** [March 21, 2023, 1:35pm UTC](https://community.freefem.org/t/nedelec-elements-degree-1-kind-1/2346/1 "2023-03-21T13:35:30Z")

</div>

I am trying to implement a method for solving Maxwell’s time-harmonic equations in 3D using the Nedelec elements of degree 1 and kind 1 ([DefElement: Nédélec (first kind)](https://defelement.com/elements/nedelec1.html)). However, in the source code, it seems like only kind 2 of degree 1 is implemented. Is this a correct observation? If yes, is there any simple way to get kind 1 from kind 2 in the code?

---

<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:** [March 21, 2023, 2:44pm UTC](https://community.freefem.org/t/nedelec-elements-degree-1-kind-1/2346/2 "2023-03-21T14:44:55Z")

</div>

The finite element in 2d is

RT0Ortho or RT1Ortho  
need load “Element\_Mixte” of RT1Ortho  
and in 3d

Edge03d, Edge13d, Edge23d

need load load “Element\_Mixte3d” of Edge13d, Edge23d

---

<div class="post-metadata">

**Author:** ![smyrback](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@smyrback](https://community.freefem.org/u/smyrback)\
**Post date:** [March 21, 2023, 3:08pm UTC](https://community.freefem.org/t/nedelec-elements-degree-1-kind-1/2346/3 "2023-03-21T15:08:17Z")

</div>

Hmm. To me it seems you suggested elements of higher degree, but still of kind 2. I am specifically looking for degree 1 and kind 1 in 3D, which only has one degree of freedom per edge, so six in total. The ones in your source code seem to have two degrees of freedom per edge, corresponding to kind 2. Or have I misunderstood?

---

<div class="post-metadata">

**Author:** ![smyrback](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@smyrback](https://community.freefem.org/u/smyrback)\
**Post date:** [March 21, 2023, 3:09pm UTC](https://community.freefem.org/t/nedelec-elements-degree-1-kind-1/2346/4 "2023-03-21T15:09:46Z")

</div>

By some it is called kind 1 degree 0 I believe.

---

<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:** [March 21, 2023, 4:03pm UTC](https://community.freefem.org/t/nedelec-elements-degree-1-kind-1/2346/5 "2023-03-21T16:03:56Z")

</div>

OK,

le definition of k is not the definition of Nedelec,

for the element Edge03d (k =1 ) the number of dof is 6 ( one off per edges)  
for Edge13d (k=2) the number of dof is 20 (ok with the ([DefElement: Nédélec (first kind)](https://defelement.com/elements/nedelec1.html)).

Edge23d (k=3) the number of dof is 45 == 3\*5+6/2 ok.

---

<div class="post-metadata">

**Author:** ![Alice](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@Alice](https://community.freefem.org/u/Alice)\
**Post date:** [January 8, 2025, 8:31am UTC](https://community.freefem.org/t/nedelec-elements-degree-1-kind-1/2346/6 "2025-01-08T08:31:56Z")

</div>

Are there any examples of freefem code with nedelec element 2d?

---

<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:** [February 26, 2025, 9:01am UTC](https://community.freefem.org/t/nedelec-elements-degree-1-kind-1/2346/7 "2025-02-26T09:01:11Z")

</div>

The finite element is RT0ortho in 2d, but they no basics exemples, only a test exemple.  
to see how to use (it is the same that RT0)
