Bruno,

Thank you for the quick reply. These look like exactly what I need!

On Tuesday, May 31, 2022 at 5:03:36 PM UTC-4 bruno.t...@gmail.com wrote:

> Shane,
>
> Yes, it is possible. There are two different functions depending on what 
> you want to do. If you want to set the order during setup you can use this 
> function 
> <https://dealii.org/current/doxygen/deal.II/classDoFCellAccessor.html#a44babdcd7954cdfdd9f9497781cc22ae>
>  
> It is being used in step-46. If you want to control the p-refinement 
> yourself, you can use this function. 
> <https://dealii.org/current/doxygen/deal.II/classDoFCellAccessor.html#ab9f2896ef67d3d11ec3d23d382b19c46>
>  
> The order of the finite element will be changed during the refinement.
>
> Best,
>
> Bruno
>
> On Tuesday, May 31, 2022 at 4:51:00 PM UTC-4 sjw...@vols.utk.edu wrote:
>
>> Hello everyone,
>>
>> I had a question about the possibility of setting directly the polynomial 
>> order of elements. In my problem, I have a priori knowledge about the order 
>> of the elements in my (1d) mesh. I would like to be able to loop over the 
>> active cells and then assign the order directly, rather than using an 
>> estimator to perform the p-adaptivity. I have looked at step-27, but this 
>> didn't appear to provide a mechanism for per element modification. Is it 
>> possible to make such modifications directly to the elements?
>>
>> Thank you in advance,
>> Shane 
>>
>

-- 
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/931e2134-a48e-436c-a0d7-f0bdfb1e809dn%40googlegroups.com.

Reply via email to