The following is a list of available Dune grids. Some of them are just wrapper
to external libraries.
Metagrids wrap other Dune grid, providing facilities such as replacing geometry, glueing domains, etc.
Features
These are the features provided by the grid via its Dune interface – note that
these may be different from the features provided by the underlying external
grid library.
GridType |
Dimensions |
Structured |
Notes |
AlbertaGrid<dim,dimw> |
1≤dim≤3, 1≤dimw≤9, dim≤dimw |
unstructured |
Can’t have two grids of different dimw in the same binary |
ALUGrid<dim,dimw,simplex,conforming> |
2≤dim≤dimw≤3 |
unstructured |
|
ALUGrid<dim,dimw,cube,nonconforming> |
2≤dim≤dimw≤3 |
unstructured |
|
ALUGrid<dim,dimw,simplex,nonconforming> |
2≤dim≤dimw≤3 |
unstructured |
|
GeometryGrid<HostGrid> |
hostdim=dim≤dimw |
unstructured |
|
OneDGrid |
dim=dimw=1 |
unstructured |
|
UGGrid<dim> |
2≤dim=dimw≤3 |
unstructured |
|
SPGrid<ct,dim,rs,comm> |
dim=dimw |
structured |
|
YaspGrid<dim> |
dim=dimw |
structured |
lower left corner fixed to 0. |
YaspGrid<dim, EquidistantOffsetCoordinates<ctype, dim> > |
dim=dimw |
structured |
arbitrary lower left corner (introduced in 2.4) |
YaspGrid<dim, TensorProductCoordinates<ctype, dim> > |
dim=dimw |
structured |
(introduced in 2.4) |
Supported Entities and Iterators
Name |
Element types |
Entities for codim |
Iterators for codim |
AlbertaGrid<dim,dimw> |
simplices |
all |
all |
ALUGrid<dim,dimw,simplex,*> |
simplices |
all |
all |
ALUGrid<dim,dimw,cube,*> |
cube |
all |
all |
GeometryGrid<HostGrid> |
=host |
all |
all |
OneDGrid |
lines |
all |
all |
UGGrid<dim> |
simplices, prisms, pyramids, cubes |
all |
0, dim |
SPGrid<ct,dim,rs,comm> |
cubes |
all |
all |
YaspGrid<dim> |
cubes |
all |
all |
Refinement
Name |
Refinement |
Strategy |
conforming? |
boundary adaptation |
AlbertaGrid<dim,dimw> |
adaptive |
recursive bisection |
yes |
yes |
ALUGrid<dim,dimw,simplex,conforming> |
adaptive |
bisection |
yes |
yes |
ALUGrid<dim,dimw,cube,nonconforming> |
adaptive |
red |
no |
yes |
ALUGrid<dim,dimw,simplex,nonconforming> |
adaptive |
red |
no |
yes |
GeometryGrid<HostGrid> |
=host |
=host |
=host |
=host |
OneDGrid |
adaptive |
? |
yes |
– |
UGGrid<dim> |
adaptive |
red/green |
selectable |
yes |
SPGrid<ct,dim,rs,comm> |
global only |
bisection, red, anisotropic |
yes |
no |
YaspGrid<dim> |
global only |
2dim children |
yes |
no |
Parallel Features
Name |
parallel? |
overlap? |
ghosts? |
communicate() for codim |
dynamic load balancing |
AlbertaGrid<dim,dimw> |
no |
– |
– |
– |
– |
ALUGrid<2,dimw,*,*> |
no |
– |
– |
– |
– |
ALUGrid<3,3,*,nonconforming> |
yes |
no |
yes |
all |
yes |
ALUGrid<3,3,simplex,conforming> |
yes |
no |
no |
all |
yes |
GeometryGrid<HostGrid> |
=host |
=host |
=host |
=host |
=host |
OneDGrid |
no |
– |
– |
– |
– |
SPGrid<ct,dim,rs,comm> |
yes |
yes |
no |
all |
no |
UGGrid<dim> |
yes |
no |
yes |
all |
yes |
YaspGrid<dim> |
yes |
yes |
no |
all |
no |