Thank you Bruno,

I will give it a try but mpi is still a bit scary for me. For the sake of 
learning, do you know what is causing my current error? Is it the lacking 
initial solution or something else?

The violated condition was:
    local_values_old[i] == number() || get_abs(local_values_old[i] - 
local_values[i]) <= get_abs(local_values_old[i] + local_values[i]) * 
100000. * std::numeric_limits<typename numbers::NumberTraits< 
number>::real_type>::epsilon()
Additional information:
    Called set_dof_values_by_interpolation(), but the element to be set,
    value 0, does not match with the non-zero value 5.270338238394919e-05
    already set before.

El jueves, 18 de enero de 2024 a las 14:10:05 UTC, bruno.t...@gmail.com 
escribió:

> In case you are interested in using MPI, there is class that does that 
> work for you: 
> https://www.dealii.org/current/doxygen/deal.II/classparallel_1_1distributed_1_1experimental_1_1FieldTransfer.html
>  
> and there are examples on how to use it (for example: 
> https://github.com/dealii/dealii/blob/08160c07fbdc80241027691d7a0b424b95dc63d9/tests/hp/field_transfer_01.cc).
>  
> If you don't want to use MPI, you can still look at how it is implemented 
> and adapt the class.
>
> Best,
>
> Bruno
>
> Le jeu. 18 janv. 2024 à 05:29, luis miguel reig buades <luis....@gmail.com> 
> a écrit :
>
>> Thank you very much for your answer Bruno, this makes a lot of sense.
>>
>> However, it does not seem to solve the interpolation problem, I am 
>> assuming the error happens because I did not assign an initial solution to 
>> the activated elements.
>> Is there any way to assign the activated elements a solution as I am 
>> looping through the cells and activating them? I have not been able to find 
>> this
>>
>> Regards,
>>
>> -- 
>> 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 a topic in the 
>> Google Groups "deal.II User Group" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/dealii/IwRWNUjnSYg/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> dealii+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dealii/d2cc656c-ed1d-4ba0-a28f-3401115999a0n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/dealii/d2cc656c-ed1d-4ba0-a28f-3401115999a0n%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/cf636b64-318f-4b29-b2f4-77e11a4637e0n%40googlegroups.com.

Reply via email to