Dear deal.II users,
I'm working on a monolithic coupled problem using deal.II where I'm solving for multiple variables (e.g., displacement u, concentration c, etc.) using a single DoFHandler and a full matrix system (i.e., not using block structures). I use FEValuesExtractors to access individual components.
I want to compute the error residual (e.g., L2 norm) for a specific component only, such as displacement, by extracting only the relevant DOFs from the global residual vector system_rhs.
Here is the simplified version of what I’m doing:
Vector<double> system_rhs; // UMFPACK
This computes the total residual, but how can I correctly isolate and compute the residual only for the displacement component (or any other specific field).
Thanks in advance!
Regards,
Alex