[Dune] Local Refinement in a DUNE Grid

Jö Fahlke jorrit at jorrit.de
Sun Dec 26 23:50:54 CET 2010


Am Sun, 26. Dec 2010, 23:35:28 +0100 schrieb S. Swayamjyoti:
> When I try to call the function grid.mark( ), I get an error message saying
> "no matching function for call to ‘Dune::SGrid<3, 3, double>::mark(int,
> refine_mesh(G&) [with G = main(int,
> char**)::GridType]::ElementLeafIterator&)'
> 
> Is it because I have not included the right header file?

Most probably it is because SGrid is a structured grid and thus does not
support adaptive refinement.  You'll need to use UGGrid for conforming
adaptive refinement.

Bye,
Jö.

-- 
A programmer is a device to turn coffee and pizza into bugs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20101226/aee7765d/attachment.sig>


More information about the Dune mailing list