|
dune-grid
2.2.0
|
Specialization of the StructuredGridFactory for SGrid. More...
#include <dune/grid/utility/structuredgridfactory.hh>
Static Public Member Functions | |
| static shared_ptr< GridType > | createCubeGrid (const FieldVector< ctype, dimworld > &lowerLeft, const FieldVector< ctype, dimworld > &upperRight, const array< unsigned int, dim > &elements) |
| Create a structured cube grid. | |
| static shared_ptr< GridType > | createSimplexGrid (const FieldVector< ctype, dimworld > &lowerLeft, const FieldVector< ctype, dimworld > &upperRight, const array< unsigned int, dim > &elements) |
| Create a structured simplex grid. | |
Specialization of the StructuredGridFactory for SGrid.
This allows a SGrid to be constructed using the StructuredGridFactory just like the unstructured Grids. Limitations:
| static shared_ptr<GridType> Dune::StructuredGridFactory< SGrid< dim, dim > >::createCubeGrid | ( | const FieldVector< ctype, dimworld > & | lowerLeft, |
| const FieldVector< ctype, dimworld > & | upperRight, | ||
| const array< unsigned int, dim > & | elements | ||
| ) | [inline, static] |
Create a structured cube grid.
| lowerLeft | Lower left corner of the grid |
| upperRight | Upper right corner of the grid |
| elements | Number of elements in each coordinate direction |
| static shared_ptr<GridType> Dune::StructuredGridFactory< SGrid< dim, dim > >::createSimplexGrid | ( | const FieldVector< ctype, dimworld > & | lowerLeft, |
| const FieldVector< ctype, dimworld > & | upperRight, | ||
| const array< unsigned int, dim > & | elements | ||
| ) | [inline, static] |
1.7.6.1