[dune-pdelab] Compilation error for Dune::PDELab::FunctionToGridFunctionAdapter

Jö Fahlke jorrit at jorrit.de
Fri Sep 30 21:59:24 CEST 2011


Am Fri, 30. Sep 2011, 20:13:02 +0100 schrieb Eike Mueller:
> thanks a lot, I've now changed it and it works as it should and I've
> used it to construct the L2norm of the error. What I'm trying to do
> next is construct a grid function which gives the error at each
> point (and I want to save this to disk). Can I do this by
> constructing something like the DifferenceSquaredAdapter and then
> use the *.vtu output routines on this?

In priciple, yes.  However, since all you want it probably the difference
between two grid function, you can simply use MinusGridFunctionAdapter[1].
There is also an incomplete zoo of grid function adapters in
dune/pdelab/function/[2].

[1] http://www.dune-project.org/doc-pdelab-2.1snapshot/doxygen/html/classDune_1_1PDELab_1_1MinusGridFunctionAdapter.html

[2] http://www.dune-project.org/doc-pdelab-2.1snapshot/doxygen/html/dir_fabcc7efd905451ce630dd3cb8afa322.html

Bye,
Jö.

-- 
Jorrit (Jö) Fahlke, Interdisciplinary Center for Scientific Computing,
Heidelberg University, Im Neuenheimer Feld 368, D-69120 Heidelberg
Tel: +49 6221 54 8890 Fax: +49 6221 54 8884

Software is like sex; it's better when it's free.
-- Linus Torvalds
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20110930/3ab47299/attachment.sig>


More information about the dune-pdelab mailing list