[Dune] The new method getMark()]
Andreas Dedner
dedner at mathematik.uni-freiburg.de
Wed Nov 15 11:03:06 CET 2006
I did not know we did voting here but are trying to find a solution!
I'm fed up with this kind of procedure!
Only because something is expensive in UG does not mean we can add it to
the interface;
first calling mark and then getmark would be expensive on ALU or
Alberta.
I would like to point out that we are in the process of
debuging Dune 1.0 and we are not - if in any way avoidable - modifying
the interface which we have decided on a long time ago!
Here is the implementation in alu - I would like to know where exactly
the problem is to implement this in UG!
if( !en.leaf() ) return false;
if(ref < 0)
{
// don't mark macro elements for coarsening ;)
if(en.level() <= 0) return false;
// mark for coarsening
return true;
}
// mark for refinement
if(ref > 0)
{
// mark for refine
return true;
}
// mark for nothing
return true;
Andreas
Oliver Sander wrote:
>>> I am tempted to suggest we turn mark() into a void method, because
>>
>> I think we should leave it the way it is.
>>
>
>
> That makes two for the change, one against it. What do the others
> think?
>
> --
> Oliver
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://www.dune-project.org/cgi-bin/mailman/listinfo/dune
More information about the Dune
mailing list