[Dune] [#276] adapt return value wrong

Dune flyspray at dune-project.org
Wed Oct 27 19:25:36 CEST 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#276 - adapt return value wrong
User who did this - Martin Nolte (nolte)

----------
Usually you don't need the information whether the grid has changed, but rather whether new cells have been added to the grid. This is due to the adaptation algorithm:

1) call preAdapt (returns true, if some element might be coarsened)
2) if elements might be coarsened, restrict the data as necessary
3) call adapt (returns whether element have been refined)
4) if element have been refined, prolong the data as necessary
5) call postAdapt

As you can see, the return value of preAdapt and adapt tells me whether I have to restrict or prolong any data. Since I might save a grid walkthrough due to this information, this is exactly what I need. Would adapt return true in case of pure coarsening, I might waste one grid walkthrough.
----------

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

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