dune-grid 2.10
Loading...
Searching...
No Matches
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>

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 axis-aligned hypercubes
  • The unit outer normal for the i-th intersection can be computed by the following code:
    FieldVector< ctype, dim > n( 0 );
    n[ i / 2 ] = ctype( 2*(i % 2) - 1 );
    (default=false).

Member Data Documentation

◆ v

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

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