DUNE Grid (2.9)

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>

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).

The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (May 27, 22:36, 2026)