[Dune] Change heapsize, StructuredGridFactory, UGGrid
Oliver Sander
sander at mi.fu-berlin.de
Tue Jan 25 17:43:17 CET 2011
Hi Volker!
Please see the FAQ for some information on this issue.
best,
Oliver
Am 25.01.2011 17:30, schrieb schauer:
> Dear Dune,
>
> I created a structured UGGrid with
>
> typedef Dune::UGGrid<dim> Grid;
> Dune::FieldVector<double,dim> lowerLeft(-side_length);
> Dune::FieldVector<double,dim> upperRight(side_length);
> Dune::array<unsigned int,dim> elements;
> std::fill(elements.begin(), elements.end(), 5);
> Dune::StructuredGridFactory<Grid> factory;
> Dune::shared_ptr<Grid> grid;
> grid =factory.createSimplexGrid(lowerLeft,upperRight,elements);
>
>
> when I globally refine 4 times
>
> grid->globalRefine(level)
>
> and run the program I receive the error message:
>
> ERROR in low/heaps.c/GetFreelistMemory: not enough memory for 152 bytes.
> ERROR in low/heaps.c/GetFreelistMemory: not enough memory for 152 bytes.
> dune_ksdft: heaps.c:646: void* UG::GetFreelistMemory(UG::HEAP*,
> UG::INT): Assertion `0' failed.
>
>
> What can I do about it ?
>
> Thanks
>
> Volker
>
>
More information about the Dune
mailing list