H1-P0 FEM

1 week 2 days ago #2165 by Yongbin
Hi Christopher!

In my code, I have to use the space with dirichelet bounary
V = NumberSpace(mesh, dirichlet=[1,2,3,4)
,It's still usable in my code, But I think it's strange. because the trial function is only 0, namely V=0 .

Many thanks
Yongbin Han

Please Log in or Create an account to join the conversation.

1 week 1 hour ago #2167 by hvwahl
Hi Yongbin,

using a NumberSpace together with Dirichlet boundaries does not make sense to me. The NumberSpace gives a singe scalar unknown (1 dof). If this scalar is then constrained to be zero at the boundary, it will simply be zero and there are no free dofs left over.

Best wishes,
Henry
The following user(s) said Thank You: Yongbin

Please Log in or Create an account to join the conversation.

6 days 22 hours ago #2168 by Yongbin
Hi,Hvwahl!

Thank you very much!

Yongbin Han

Please Log in or Create an account to join the conversation.

© 2019 Netgen/NGSolve