[Dune] [#517] YaspGrid returns nonzero number of Simplices (Attachment added)

Dune dune at dune-project.org
Mon Mar 9 10:18:17 CET 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#517 - YaspGrid returns nonzero number of Simplices
User who did this - Uli Sack (usack)

----------
The YaspGrid::size method works correctly. IndexSet.size however shows the above mentioned behaviour which i deem inconsistent. The following would patch this, though I don't really understand the original code. Hence it would be good if someone who knows what the original line was supposed to do could have a look at it.

--- yaspgrid.hh (Revision 4912)
+++ yaspgrid.hh (Arbeitskopie)
@@ -2094,7 +2094,7 @@
   //! get number of entities of given type
   int size (GeometryType type) const
   {
-      return grid.size(grid.maxLevel(),GridImp::dimension-type.dim());
+      return grid.size(grid.maxLevel(), type);
   }

----------

One or more files have been attached.

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=517#comment825

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