Dune::Capabilities::isCartesian< Grid > Struct Template Reference
[Capabilities]

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:
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:

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].