Hi Bärbel,

thanks for your fast reply. But both solutions are neither on the same
mesh, nor is there any subset relation between the meshes. On the other
hand, I could try to generate a triangulation for the "exact" solution,
use your idea and generate a Function<dim> object there, then use
SolutionTransfer between the two meshes, and then compare them via
integrate_difference?! 
Maybe there is something simpler than that?

Thanks again, 
Jochen

Am Dienstag, den 22.02.2011, 13:36 +0100 schrieb Bärbel Janssen:
> Hi Jochen,
> 
> why don't you try to integrate the difference against the 
> ZeroFunction<dim>? That means you have to have the "exact" and the 
> computed solution on the same mesh.
> 
> Best, Bärbel
> 
> --
> Bärbel Janssen
> Institut für Angewandte Mathematik
> Universität Heidelberg
> 
> Im Neuenheimer Feld 293, Raum 213
> Telefon: +49 6221 54-5449
> 
> 
> On Tue, 22 Feb 2011, Jochen Abhau wrote:
> 
> > Hello,
> >
> > is there a library function to generate a Function<dim> object out of
> > sampled function values (plus some interpolation method)?
> > Background: I want to compare the finite element solution of some PDE to
> > another solution (obtained by different techniques). The other solution
> > is given by function values on points and shall be regarded as "exact"
> > solution. Now I want to use the integrate_difference method.
> >
> > Thanks in advance.
> > Best regards.
> > Jochen
> >
> > _______________________________________________
> > dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
> >


_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to