Setting order for node-types ( Using SetOrder() )

More
5 years 7 months ago #1516 by Elsakori
Hello,

I recently started to work with NGSolve.
I am using NGSolve to solve Maxwell’s equations in time-harmonic form. I created a finite element space as: fes = HCurl(mesh, order=1), and I tried setting order for node-types:
fes.SetOrder(TRIG,2)
fes.SetOrder(TET,3)
fes.Update()
, but I noticed that fes.SetOrder(TRIG,2) doesn't work and 3 face DOFs is what I would expect based on Nedelec’s definition of the second kind elements.

I am grateful for any explanation

Here are my python script and output file.
More
5 years 7 months ago #1530 by mneunteufel
Hi Elsakori,

in the latest version of NGSolve this feature has been added.
Your code should now work.

Best,
Michael
The following user(s) said Thank You: Elsakori
More
5 years 7 months ago - 5 years 7 months ago #1531 by Elsakori
Hi Michael,

Thank you for your response.
I downloaded the last version of NGSolve (6.2.1902) and tried the code, actually it is still not working.

Is the last version of NGSolve for both Window and Mac?. I am using Mac.

Thanks

Elsakori
Last edit: 5 years 7 months ago by Elsakori.
More
5 years 7 months ago #1532 by mneunteufel
Hi Elsakori ,

I was talking from the latest nightly-build not the release-version, sry.

Best,
Michael
More
5 years 7 months ago #1562 by Elsakori
Hi Michael,

It is working now.
Thanks

Elsakori
Time to create page: 0.101 seconds