CoDiPack  2.2.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::ArrayPosition< T_NestedPosition > Struct Template Reference

Position with one index for e.g. array access. More...

#include <position.hpp>

Inheritance diagram for codi::ArrayPosition< T_NestedPosition >:

Public Types

using NestedPosition = T_NestedPosition
 See ArrayPosition.
 

Public Member Functions

 ArrayPosition ()
 Constructor.
 
 ArrayPosition (size_t const &data, NestedPosition const &inner)
 Constructor.
 
bool operator!= (ArrayPosition const &o) const
 Operator != also compares with nested data.
 
bool operator< (ArrayPosition const &o) const
 Operator < also compares with nested data.
 
bool operator<= (ArrayPosition const &o) const
 Operator <= also compares with nested data.
 
bool operator== (ArrayPosition const &o) const
 Operator == also compares with nested data.
 
bool operator> (ArrayPosition const &o) const
 Operator > also compares with nested data.
 
bool operator>= (ArrayPosition const &o) const
 Operator >= also compares with nested data.
 

Public Attributes

size_t data
 Array position index.
 
NestedPosition inner
 Position of nested data.
 

Detailed Description

template<typename T_NestedPosition>
struct codi::ArrayPosition< T_NestedPosition >

Position with one index for e.g. array access.

Used for data that is allocated en bloc, e.g. BlockData.

Template Parameters
T_NestedPositionPosition implementation

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