Thank you for your answer.

Following the examples you mentioned, I got a vtu file where I can extract 
the points. As I am using distributed tirangulation, I am getting the (x,y) 
values of the points of each cell, meaning that the points are not unique, 
there are repeated.

* DataOut<dim> data_out;*
* DataOutBase::VtkFlags flags;*
* flags.write_higher_order_cells = true;*
* data_out.set_flags(flags);*
* data_out.attach_dof_handler(dof_handler);*
* data_out.add_data_vector(solution, "sol");*
* Vector<float> subdomain(triangulation.n_active_cells());*
* for (unsigned int i = 0; i < subdomain.size(); ++i)*
* subdomain(i) = triangulation.locally_owned_subdomain();*
* data_out.add_data_vector(subdomain, "subdomain");*
* data_out.build_patches();*
* data_out.write_vtu_with_pvtu_record("./", "solution", 1, 
mpi_communicator, 2, 8);*

I would need to get the unique points corresponding to the domain in the 
same order as the operators are assembled. Similar to what I got with 
grid_out_write.msh but including the higher order points. COuld you please 
suggest me how can I approach that?

Thank you again.



El miércoles, 27 de octubre de 2021 a las 22:06:59 UTC+2, [email protected] 
escribió:

> Hello,
>
> yes, you can use high-order output using the `DataOut` class after setting 
> the corresponding `DataOutFlags` flag *write_higher_order_cells* 
> <https://www.dealii.org/current/doxygen/deal.II/structDataOutBase_1_1VtkFlags.html#aa9dd1830c0ff35a2431704c4d45453eb>
> .
>
> The tutorials step-11, step-44, step-65, step-67, and step-76 demonstrate 
> that feature.
>
> Best,
> Marc
>
> On Wednesday, October 27, 2021 at 5:05:22 AM UTC-6 [email protected] 
> wrote:
>
>> Hi all, 
>>
>> I am using high order methods ad I am trying to export the mesh points. I 
>> am using  *grid_out.write_msh(triangulation, out).*
>> Is it any other way to get the  mesh points including the ones 
>> corresponding to the high orders?
>>
>> Thank you
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/7095bcb6-fccd-4a28-a2ba-5b6803f4f80cn%40googlegroups.com.

Reply via email to