Adil,

If you look in the output_results 
<https://dealii.org/current/doxygen/deal.II/step_29.html#codeUltrasoundProblemoutput_resultscode>
 
section. You can see the following code:

std::vector<std::string> solution_names;
solution_names.emplace_back("Re_u");
solution_names.emplace_back("Im_u");
data_out.add_data_vector 
<https://dealii.org/current/doxygen/deal.II/classDataOut__DoFData.html#ace4b76e565ba0701c4d32c26075ed3b9>(solution,
 
solution_names);

What happens is that the first component of solution is associated with 
Re_u and the second component with Im_u.

Best,

Bruno

On Tuesday, August 20, 2019 at 12:36:41 AM UTC-4, Muhammad Adil wrote:
>
> Hi Everone,
> In the tutorial step-29 of deal.II 8.3.0, the solution in paraview can be 
> visualized as Real, Imaginary and Intensity.
> Intensity is calculated manually in the tutorial and visualized but how 
> paraview knows that solution ( u[i][0] and u[i][1] ) consits of two parts, 
> one u[i][0] is real and the other u[i][1] is imaginary.
> Because there is nothing in the mentioned in the code. Pleae anyone 
> explain?
>
> Adil
>
> [image: step-29 1.png][image: step-29 3.png][image: step-29 2.png]
>

-- 
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/f641c722-ad99-4784-869c-9292fd50c1e3%40googlegroups.com.

Reply via email to