simplex meshes in deal.II

36 views
Skip to first unread message

y choi

unread,
Nov 15, 2021, 8:53:35 PM11/15/21
to deal.II User Group
Dear Deal.II community,

I'm programming with tetrahedral mesh input using simplex meshes.

In step-3,
FE_Q<2> fe;
-> MappingFE<2> mapping;
   FE_SimplexP<2> fe;
   mapping(FE_SimplexP<2>(1))
   ...

I think, FE_Q<> in step-3 tutorial can be replaced like this.
But I don't know how to change the code in step-8 tutorial.

In step-8,
FESystem<dim> fe;
fe(FE_Q<dim>(1), dim)
-> ???

Thanks,
yyyychoi

Wolfgang Bangerth

unread,
Nov 16, 2021, 11:20:00 AM11/16/21
to dea...@googlegroups.com
On 11/15/21 6:53 PM, y choi wrote:
> FESystem<dim> fe;
> fe(FE_Q<dim>(1), dim)
> -> ???
>

FE_SimplexP should be what you are looking for instead of FE_Q.

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/
Reply all
Reply to author
Forward
0 new messages