[Dune] Status of 2.0 release

Oliver Sander sander at mi.fu-berlin.de
Fri Apr 9 15:59:10 CEST 2010


Seems like a decent solution.  I guess there is no pretty way out
other than rewriting UG's memory manager :-)

--
Oliver

Christian Engwer schrieb:
> On Fri, Apr 09, 2010 at 03:15:56PM +0200, Oliver Sander wrote:
>   
>> The default UGGrid uses is 500MB.  Less than that should be more
>> than enough for the test.  There is no really elegant way to set the
>> value though:
>> - UGGrid has a constructor taking the internal heap size in MB as an
>> argument
>> - UGGridFactory has a constructor taking a constructed UGGrid object,
>>  so you can construct your grid object with the non-default constructor and
>>  then let the factory do the rest.
>> - I have no idea how dgf handles the issue.
>>
>>     
>
> Perhaps not for this release, but in general... how about a static
> member function which sets the default heap size?
>
> Christian
>   


-- 
************************************************************************
* Oliver Sander                ** email: sander at mi.fu-berlin.de        *
* Freie Universität Berlin     ** phone: + 49 (30) 838 75348           *
* Institut für Mathematik      ** URL  : page.mi.fu-berlin.de/~sander  *
* Arnimallee 6                 ** -------------------------------------*
* 14195 Berlin, Germany        ** Member of MATHEON (www.matheon.de)   *
************************************************************************





More information about the Dune mailing list