Wasim,

step-40 uses Q2 elements which means that you have 9 dofs/cell in 2D and
for 32 cells in each direction (33+32)^2=65^2=4225 dofs.

Best,
Daniel



On Fri, Apr 7, 2023 at 5:47 AM Wasim Niyaz Munshi ce21d400 <
ce21d...@smail.iitm.ac.in> wrote:

> Thank You, Prof. Bangerth.
> I have one more doubt about the output of step-40.
> For cycle 0, there are 1024 cells (32*32 mesh). So, we have 33 nodes each,
> along x and y. So, shouldn't the number of DOFs be 1089 instead of 4225?
>
> Regards
> Wasim
>
> On Thursday, April 6, 2023 at 11:27:32 PM UTC+5:30 Wolfgang Bangerth wrote:
>
>> On 4/6/23 10:18, Wasim Niyaz Munshi ce21d400 wrote:
>> > How do I get the no.of cells owned by the processor?
>>
>> Triangulation::n_locally_owned_active_cells().
>>
>> Best
>> W.
>>
>> --
>> ------------------------------------------------------------------------
>> Wolfgang Bangerth email: bang...@colostate.edu
>> www: http://www.math.colostate.edu/~bangerth/
>>
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dealii+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/2b5174fe-2358-40b3-b404-1bcdfc332e62n%40googlegroups.com
> <https://groups.google.com/d/msgid/dealii/2b5174fe-2358-40b3-b404-1bcdfc332e62n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAOYDWb%2BWiZ8b1fkgCwctSVqQaBo9LZ6Rdj%2Bv5dAdPA0oaimXVA%40mail.gmail.com.

Reply via email to