qoi_functional_misc

pyapprox.fenics_models.advection_diffusion_wrappers.qoi_functional_misc(u)[source]

Use the QoI from [JEGGIJNME2020]

To reproduce adaptive multi index results use following expr = dl.Expression(

‘1./(sigma*sigma*2*pi)*std::exp(-(std::pow(x[0]-xk,2)+std::pow(x[1]-yk,2))/sigma*sigma)’, xk=0.3,yk=0.5,sigma=0.16,degree=2)

The /sigma*sigma is an error it should be 1/(2*sigma*sigma)