← Back to team overview

fenics team mailing list archive

derived quantities and post processing

 

suppose I solve a PDE using dolfin and have my solution in

Function u;

Now suppose i want to do two things:

1. I want to compute and plot the pointwise error in the l2 norm: so if I have a function u_exact, i want to compute

Function err = fabs(u-u_exact);

2. I want to compute the avg, min, max of the l2 error: I gather I can do this using a Form with a functional, but is that the only way?




Follow ups