|
static std::unique_ptr< GridType > | createCubeGrid (const FieldVector< ctype, dimworld > &lowerLeft, const FieldVector< ctype, dimworld > &upperRight, const std::array< unsigned int, dim > &elements) |
| Create a structured cube grid. More...
|
|
static std::unique_ptr< GridType > | createSimplexGrid (const FieldVector< ctype, dimworld > &lowerLeft, const FieldVector< ctype, dimworld > &upperRight, const std::array< unsigned int, dim > &elements) |
| Create a structured simplex grid. More...
|
|
template<class ctype, int dim>
class Dune::StructuredGridFactory< YaspGrid< dim, EquidistantCoordinates< ctype, dim > > >
Specialization of the StructuredGridFactory for YaspGrid.
This allows a YaspGrid to be constructed using the StructuredGridFactory just like the unstructured Grids. There are two limitations:
- YaspGrid does not support simplices
- If the lower left corner should not be at the origin, the second template parameter of Yaspgrid has to be chosen as Dune::EquidistantOffsetCoordinates<ctype,dim>.