AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
StridePolicies.hpp File Reference

Stride policies for SLAM. More...

Classes

struct  axom::slam::policies::RuntimeStride< IntType >
 A policy class for the stride in a set. When using this class, the stride can be set at runtime. More...
 
struct  axom::slam::policies::CompileTimeStride< IntType, INT_VAL >
 A policy class for a compile-time known stride. More...
 
struct  axom::slam::policies::StrideOne< IntType >
 A policy class for a set with stride one (i.e. the default stride) More...
 

Namespaces

 axom
 
 axom::slam
 
 axom::slam::policies
 

Detailed Description

Stride policies for SLAM.

Stride policies are meant to represent the fixed distance between consecutive elements of an OrderedSet A valid stride policy must support the following interface:

  • [required]
  • DEFAULT_VALUE is a public static const IntType
  • stride() : IntType – returns the stride
  • isValid() : bool – indicates whether the Stride policy of the set is valid
  • [optional]
  • operator(): IntType – alternate accessor for the stride value
Note
All non-zero stride values are valid.