[Dune] Status of 2.0 release
Martin Nolte
nolte at mathematik.uni-freiburg.de
Fri Apr 9 15:38:23 CEST 2010
A DGF file may have a GridParameter block. You can have the following kind of
block:
GridParameter
heapsize 250
#
This way, UG will use a heap of 250 MB. This possiblity of handling extra
settings for each grid is exactly the strength of the DGF parser.
Martin
On 04/09/2010 03:18 PM, Christian Engwer wrote:
> 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
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
--
Martin Nolte <nolte at mathematik.uni-freiburg.de>
Universität Freiburg phone: +49-761-203-5642
Abteilung für angewandte Mathematik fax: +49-761-203-5632
Hermann-Herder-Straße 10
79104 Freiburg, Germany
More information about the Dune
mailing list