dune-grid  2.2.0
Static Public Attributes
Dune::Capabilities::isCartesian< Grid > Struct Template Reference

Specialize with 'true' if the grid is a Cartesian grid. Cartesian grids satisfy the following properties: More...

#include <dune/grid/common/capabilities.hh>

List of all members.

Static Public Attributes

static const bool v = false

Detailed Description

template<class Grid>
struct Dune::Capabilities::isCartesian< Grid >

Specialize with 'true' if the grid is a Cartesian grid. Cartesian grids satisfy the following properties:

 - all geometries are affine
 - The unit outer normal for an intersection with indexInInside = face 
   can be computed by the following code:
FieldVector< ctype, dim > n( 0 );
n[ face / 2 ] = ctype( 2*(face % 2) - 1 );

(default=false).


Member Data Documentation

template<class Grid >
const bool Dune::Capabilities::isCartesian< Grid >::v = false
static

The documentation for this struct was generated from the following file: