Hi everyone,

This might be a simple question, but I haven't found a straightforward 
answer in the "handling vector-valued problems" documentation.

If I have a Vector<double> which stores the solution to an FESystem, say 3 
FE_DGQ fields for u, v, p, and I want to extract a new Vector<double> which 
corresponds to only the pressure, what's the best way to do this?

I'm not looking to write the data out for visualization, how to use the 
DataComponentInterpretation classes is clear to me. What I want to do is 
extract a separate Vector<double> which I can then add to another DG scalar 
field of the same type as p in the (u,v,p) system.

I don't need p at the quadrature points, only the nodal values to add to 
another nodal field.

Any advice would be appreciated!
Corbin

-- 
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/6d96604a-cd77-4532-aa16-a6fb638a6ff9n%40googlegroups.com.

Reply via email to