[Dune] [#849] YaspGrid creates entities of unsupported codimension in communicate()
Dune
flyspray at dune-project.org
Mon Dec 6 13:23:39 CET 2010
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#849 - YaspGrid creates entities of unsupported codimension in communicate()
User who did this - Robert Klöfkorn (robertk)
----------
Hi Steffen, I can into the same problem years ago. The best way would be to implement higher codim entities in Yasp, which should not be difficult. A quick fix would be methods gather and scatter on your data handle that
only do something for codim = 0 and codim = dim and that are empty for the other codims.
template <class MessageBufferImp, class EntityType, int codim>
struct HandleData
{
static void gather (MessageBufferImp& buff, const EntityType& en) {}
};
template <class MessageBufferImp, class EntityType>
struct HandleData<MessageBufferImp,EntityType,0>
{
//! gather data
static void gather (MessageBufferImp& buff, const EntityType& en)
{
// gather data
}
};
Anyway, having higher codim entities would be much better.
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=849#comment2296
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