|
dune-grid 2.12-git
|
Loading...
Searching...
No Matches
Dune::StructuredGridFactory< YaspGrid< dim, EquidistantCoordinates< ctype, dim > > > Class Template Reference
Specialization of the StructuredGridFactory for YaspGrid. More...
#include <dune/grid/yaspgrid/structuredyaspgridfactory.hh>
Static Public Member Functions | |
| 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. | |
Detailed Description
template<class ctype, int dim>
class Dune::StructuredGridFactory< YaspGrid< dim, EquidistantCoordinates< ctype, 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>.
Member Function Documentation
◆ createCubeGrid()
template<class ctype , 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
◆ createSimplexGrid()
template<class ctype , int dim>
|
inlinestatic |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8