Is the grid Cartesian?
More...
#include <dune/grid/spgrid/capabilities.hh>
template<class ct, int dim, template< int > class Ref, class Comm>
struct Dune::Capabilities::isCartesian< SPGrid< ct, dim, Ref, Comm > >
Is the grid Cartesian?
Cartesian grids satisfy the following properties:
- all geometries are affine
- The unit outer normal can be computed by the following code:
FieldVector< ctype, dim > n( 0 );
n[ face / 2 ] = ctype( 2*(face % 2) - 1 );
- Template Parameters
-
Grid | grid for which the information is desired |
template<class ct , int dim, template< int > class Ref, class Comm >
const bool Dune::Capabilities::isCartesian< SPGrid< ct, dim, Ref, Comm > >::v = true |
|
static |
The documentation for this struct was generated from the following file: