Thank you Wolfgang Bangerth:
It means if I want to use duh, dduh or normal etc I don't need to compute
just update the flags using get_needed_update_flags().
Please respond on this.

On Sun, Aug 18, 2019 at 7:00 AM Wolfgang Bangerth <[email protected]>
wrote:

>
> Muhammad,
>
> > When we get the solution of Helmoltz equation using the function
> > UltrasoundProblem<dim>::solve ()
> > [...]
> >
> > The output solution will be alpha and Beta from the function
> > UltrasoundProblem<dim>::solve (). It will become of the input of the
> class
> > class ComputeIntensity : public DataPostprocessorScalar
> > <
> https://www.dealii.org/8.3.0/doxygen/deal.II/classDataPostprocessorScalar.html
> ><dim>.
> > Using this class we will calculate the uh, duh, dduh etc.
> > Anyone can explain to me how it is calculating the uh? I don't
> understand what
> > is the input to this class after calculating the coeeficients Alpha nad
> Beta
> > in the tutorial.
>
> The input uh to ComputeIntensity::compute_derived_quantities_vector() *is*
> the
> solution at the points where we want to create output. You don't need to
> compute it.
>
> uh is of type std::vector<Vector<double> >. Specifically, the outer vector
> is
> over all of the points on one cell where we want to create output; the
> inner
> vector will, in your case, have size 2 and contain the pairs {alpha, beta}
> at
> the output point.
>
> I hope this makes it clear why the implementation of the function makes
> sense!
>
> 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/40516218-b971-948b-3ed4-867508bbea67%40colostate.edu
> .
>

-- 
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/CA%2BVVa-SvPpfRbb%3Dh9n5nWPKZajc6dm1gM2xzBRfJsa2-pqj_nQ%40mail.gmail.com.

Reply via email to