Static Public Attributes

LibGeoDecomp::Stencils::VonNeumann< DIMENSIONS, RAD > Class Template Reference

The VonNeumann neighborhood is probably as well known as the Moore neighborhood, but most commonly only used with a RADIUS equal to 1. More...

#include <stencils.h>

Collaboration diagram for LibGeoDecomp::Stencils::VonNeumann< DIMENSIONS, RAD >:
Collaboration graph
[legend]

List of all members.

Static Public Attributes

static const int RADIUS = RAD
static const int DIM = DIMENSIONS
static const int VOLUME

Detailed Description

template<int DIMENSIONS, int RAD>
class LibGeoDecomp::Stencils::VonNeumann< DIMENSIONS, RAD >

The VonNeumann neighborhood is probably as well known as the Moore neighborhood, but most commonly only used with a RADIUS equal to 1.

It replaces the maximum norm with the Manhattan distance.


Member Data Documentation

template<int DIMENSIONS, int RAD>
const int LibGeoDecomp::Stencils::VonNeumann< DIMENSIONS, RAD >::DIM = DIMENSIONS [static]
template<int DIMENSIONS, int RAD>
const int LibGeoDecomp::Stencils::VonNeumann< DIMENSIONS, RAD >::RADIUS = RAD [static]
template<int DIMENSIONS, int RAD>
const int LibGeoDecomp::Stencils::VonNeumann< DIMENSIONS, RAD >::VOLUME [static]
Initial value:
            VonNeumann<DIM - 1, RADIUS>::VOLUME +
            2 * Sum2<VonNeumannHelper, DIM - 1, RADIUS>::VALUE -
            2 * VonNeumann<DIM - 1, RADIUS>::VOLUME

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