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