[Dune] [#467] UGGrid test fails after calling a method of BasicGeometry

Dune dune at dune-project.org
Thu Nov 20 10:30:04 CET 2008


The following task has a new comment added:

FS#467 - UGGrid test fails after calling a method of BasicGeometry
User who did this - Martin Nolte (nolte)

Hi Oliver,

I was not able to compile test-ug and reproduce your problem. I got the following error message:
.../../dune/grid/uggrid/uggridentity.hh:120: error: invalid use of incomplete type ‘struct Dune::UG_NS<3>::Entity<1>
Maybe you can tell me what's wrong.

Anyway, I'll try to explain what I think might be the cause of your trouble:
The CornerMapping (which is the real implementation behind you BasicGeometry) has a template argument called CornerStorage. This class is an element of CornerMapping with the purpose to provide references to the actual corners to the CornerMapping.

Until revision 4555, the default CornerStorage was CoordPointerStorage, which just remembers pointers to the actual vectors you provided at initialization time. Now, it is CoordStorage, which make additional copies of the vectors, so that changes are no longer reflected in the BasicGeometry (note: this is slower, though).

More information can be found at the following URL:

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