[Dune] Change heapsize, StructuredGridFactory, UGGrid

schauer schauer at mechbau.uni-stuttgart.de
Tue Jan 25 17:30:06 CET 2011


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

-- 

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

Volker Schauer (Dipl.Phys)

Institute of Applied Mechanics (Civil Engineering), Chair 1
University of Stuttgart
Pfaffenwaldring 7
D-70569 Stuttgart
GERMANY

Phone ++49 (0)711-68560044
email: schauer at mechbau.uni-stuttgart.de






More information about the Dune mailing list