Dune Core Modules (2.4.2)
Dune::StructuredGridFactory< SGrid< dim, dim > > Class Template Reference
Specialization of the StructuredGridFactory for SGrid. More...
#include <dune/grid/sgrid.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. More... | |
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. More... | |
Detailed Description
template<int dim>
class Dune::StructuredGridFactory< SGrid< dim, dim > >
class Dune::StructuredGridFactory< SGrid< dim, dim > >
Specialization of the StructuredGridFactory for SGrid.
This allows a SGrid to be constructed using the StructuredGridFactory just like the unstructured Grids. Limitations:
- SGrid does not support simplices
Member Function Documentation
◆ createCubeGrid()
template<int dim>
|
inlinestatic |
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
References Dune::DenseVector< V >::begin().
◆ createSimplexGrid()
template<int dim>
|
inlinestatic |
Create a structured simplex grid.
- Parameters
-
lowerLeft Lower left corner of the grid upperRight Upper right corner of the grid elements Number of elements in each coordinate direction
References DUNE_THROW.
The documentation for this class was generated from the following file:
- dune/grid/sgrid.hh
