Hello Mihai,
take a look on tutorial 27.
Concerning your problem, the function you are probably looking for is
FETools::project. This one projects the solution from one DoFHandler to
another, where both are defined on the same triangulation.
Best Regards,
Markus
Am 26.04.10 19:15, schrieb mihai alexe:
Hello all,
I couldn't find references on how to do p-refinement only with
deal.II. I am thinking to use it for a really simple test.
I have two discrete solutions to my problem, one of which is order 2,
and the other is order 1, obtained using different numerical methods,
on the same mesh. I would like to project the 2nd order solution to
1st order and then compare the results (take the norm of the
difference, say). I tried VectorTools::project and
VectorTools::interpolate, but they fail since (altough the mesh is the
same for both solutions), the number of DoFs is not.
How could I project sol_2 to 1st order?
Thank you!
Mihai
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii