[Dune] [#870] volume() is not precise for non-affine geometries
Dune
flyspray at dune-project.org
Mon Feb 14 14:54:42 CET 2011
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#870 - volume() is not precise for non-affine geometries
User who did this - Martin Nolte (nolte)
----------
Of course the integral could be computed up to machine precision. The only drawback is that it is slow as hell and, as far as I can see, we'd need an adaptive quadrature.
What about the following suggestion: The semantics of volume remain as they are and we explicitly state that this method might be extremely expensive. We compensate the lack of performance by a method approximateVolume (appropriate name to be found) that takes a template argument specifying the order (with respect to grid width) of error that is acceptable. In the case of an explicit Finite Volume scheme, an approximation order of 1 would be appropriate and I guess it could be computed by the midpoint rule for faces of an arbitrary hexahedron.
I further suggest to mark this a known issue in the upcoming release and thoroughly discuss this before changing anything (developer meeting?).
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=870#comment2416
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the Dune
mailing list