Hi,

On Friday, March 9, 2018 at 3:58:22 AM UTC-5, Maxi Miller wrote:
>
> I have a solution vector of the type LinearAlgebraTrilinos::MPI::Vector, 
> containing solutions for multiple equations. Now I would like to know the 
> maximum value for each of those solutions. When simply calling 
> vector.max()
>
> I get the maximum value of both solutions using that function. 
> Nevertheless I would like to get the maximum value of both solutions as 
> separate values (i.e. max(solution1) and max(solution2)). Is there a way to 
> do that?
>
I don't understand what you mean. Do you have a single vector that contains 
solution1 and solution2? How would max(solution1) and max(solution2) work? 
You would need to get the max on a subvector of the global vector. So 
either you need to compute the max yourself or you need to split the vector 
in two.

Best,

Bruno

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to