SpatialOps
SpatialOps::IndexStagger< FieldT, DirT > Struct Template Reference

Obtain the index value for how far the given field type is staggered relative to a scalar cell centered variable. Nominally 0 or -1. More...

#include <IndexTriplet.h>

Detailed Description

template<typename FieldT, typename DirT>
struct SpatialOps::IndexStagger< FieldT, DirT >

Obtain the index value for how far the given field type is staggered relative to a scalar cell centered variable. Nominally 0 or -1.

Template Parameters
FieldTthe type of field in consideration.
DirTthe direction we are interested in.

Example usage:

const int n = IndexStagger<FieldT,DirT>::value;

Definition at line 273 of file IndexTriplet.h.


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