- Home
- About DUNE
- Download
- Documentation
- Community
- Development
Specialization of the StructuredGridFactory for YaspGrid. 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 YaspGrid.
This allows a YaspGrid to be constructed using the StructuredGridFactory just like the unstructured Grids. There are two limitations:
static shared_ptr<GridType> Dune::StructuredGridFactory< YaspGrid< 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 |
References Dune::Alberta::abs().
static shared_ptr<GridType> Dune::StructuredGridFactory< YaspGrid< dim > >::createSimplexGrid | ( | const FieldVector< ctype, dimworld > & | lowerLeft, | |
const FieldVector< ctype, dimworld > & | upperRight, | |||
const array< unsigned int, dim > & | elements | |||
) | [inline, static] |
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].