> This interpolation should be consistent with the underlying scheme.
You are enterely right. For now, I consider the numerical solution to
be constant within the cell, which is a general assumption for error
estimation techniques applied to finite volumes. As you say, this is
not rigorously true for gerris because it uses "special" interpolation
proceduce to obtain, for example, the velocity at the faces. Indeed,
in gerris, one could say that the representation of the numerical
solution depends on the variable considered (the numerical scheme is
not the same for a tracer, than for vof, than for momentum...).
Despite of these uncertitudes, I still think this approach can give in
some cases a better approximation of the error than the mid point
rule applied to the leaf cells (better approximation does not mean
exact calculation). In a general case, it will be useful sometimes and
some other times it will make no sense to use it. To allow the user to
have the possibility to use it I think it is possitive thing. Taking
my example only as a particular case, the method I propose gives a
better measure of the "quality" of the representation of the numerical
solution with respect to the real solution at low resolution levels.
This happens for this particular case (and also with many others) but
I am sure that you can find plenty of counter-examples. Again, giving
the user the choice of getting two different "approximate" measures of
the error I think it is a good thing
Vladimir, in principle I just want to compute the error of a given
function with respect to a cell centered solution over the whole
domain. For now I do not consider integration over pre-defined
surfaces (but maybe the discussion applies also)
best
Daniel
> There is currently no obvious way to do this consistently in the code.
>
> cheers
>
> Stephane
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
>
http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Gfs-devel mailing list
>
Gfs-...@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/gfs-devel
--
www.danielfuster.com