Specialization of the StructuredGridFactory for YaspGrid<EquidistantOffsetCoordinates>
More...
#include <dune/grid/yaspgrid/structuredyaspgridfactory.hh>
|
| 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.
|
| |
| static std::unique_ptr< GridType > | createSimplexGrid (const FieldVector< ctype, dimworld > &, const FieldVector< ctype, dimworld > &, const std::array< unsigned int, dim > &) |
| | Create a structured simplex grid.
|
| |
template<class ctype, int dim>
class Dune::StructuredGridFactory< YaspGrid< dim, EquidistantOffsetCoordinates< ctype, dim > > >
Specialization of the StructuredGridFactory for YaspGrid<EquidistantOffsetCoordinates>
This allows a YaspGrid to be constructed using the StructuredGridFactory just like the unstructured Grids. Only limitation: limitations:
◆ createCubeGrid()
template<class ctype , int dim>
Create a structured cube grid.
- Parameters
-
| lowerLeft | Lower left corner of the grid |
| upperRight | Upper right corner of the grid |
| elements | Number of elements in each coordinate direction |
◆ createSimplexGrid()
template<class ctype , int dim>
Create a structured simplex grid.
- Note
- Simplices are not supported in YaspGrid, so this functions unconditionally throws a GridError.
The documentation for this class was generated from the following file: