[deal.II] Re: computing some other output quantity after solution is calculated.

2016-10-31 Thread hanks0227
Daniel, > If you know that your FiniteElement is interpolating (which I assume given > the way you compute the maximum) and that J_tor= x*solution+solution_max/y > is in your ansatz space (probably not) or an interpolation is sufficient, > you can use something like > >

[deal.II] Re: computing some other output quantity after solution is calculated.

2016-10-31 Thread hanks0227
> First of all, Thank you very much for your reply > > This can only work if you know that the maximum is attained at one of the > support_points > of your FiniteElement. In general, you can use > VectorTools::integrate_difference to find a good approximation > to the maximum value of

[deal.II] Re: computing some other output quantity after solution is calculated.

2016-10-31 Thread Daniel Arndt
Kyusik, //by Han(To get psi0) > Vector::iterator max; > max=std::max_element(solution.begin(),solution.end()); > This can only work if you know that the maximum is attained at one of the support_points of your FiniteElement. In general, you can use VectorTools::integrate_difference to