On 8/29/22 08:36, Simon Wiesheier wrote:
DataOut<dim> data_out;
data_out.add_data_vector(dof_handler_attached_to_tria1, sol_vector_tria1);
data_out.add_data_vector(dof_handler_attached_to_tria2, sol_vector_tria2);
In debug mode, this code will not run because tria1 and tria2 are different;
I can only add 'sol_vector_tria' or ' sol_vector_tria2' to data_out,
but not both of them together.
That said, the only way is to use two seperate DataOut classes, is it?
I do not recall whether the functions that allow you to specify a separate
DoFHandler require these DoFHandler objects to use the same triangulation. But
knowing the implementation, it would make sense to me if they did. If that
were true, then the last question above would has "yes" as the answer.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/2a8ca56c-3498-b07e-130d-0adc535bc628%40colostate.edu.