OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Private Attributes | List of all members
FieldLoc< Dim > Class Template Reference

#include <FieldLoc.h>

Collaboration diagram for FieldLoc< Dim >:
Collaboration graph
[legend]

Public Member Functions

 FieldLoc (const vec< int, Dim > &v, int f)
 
 FieldLoc (const FieldLoc< Dim > &fl)
 
 FieldLoc ()
 
 ~FieldLoc ()
 
FieldLoc< Dim > & operator= (const FieldLoc< Dim > &fl)
 
int & operator[] (int n)
 
int operator[] (int n) const
 
int getIndex () const
 
void setIndex (int newval)
 
NDIndex< DimgetDomain () const
 

Private Attributes

vec< int, Dimloc
 
int LFIndex
 

Detailed Description

template<unsigned Dim>
class FieldLoc< Dim >

Definition at line 29 of file FieldLoc.h.

Constructor & Destructor Documentation

template<unsigned Dim>
FieldLoc< Dim >::FieldLoc ( const vec< int, Dim > &  v,
int  f 
)
inline

Definition at line 35 of file FieldLoc.h.

template<unsigned Dim>
FieldLoc< Dim >::FieldLoc ( const FieldLoc< Dim > &  fl)
inline

Definition at line 38 of file FieldLoc.h.

template<unsigned Dim>
FieldLoc< Dim >::FieldLoc ( )
inline

Definition at line 41 of file FieldLoc.h.

template<unsigned Dim>
FieldLoc< Dim >::~FieldLoc ( )
inline

Definition at line 44 of file FieldLoc.h.

Member Function Documentation

template<unsigned Dim>
NDIndex<Dim> FieldLoc< Dim >::getDomain ( void  ) const
inline

Definition at line 67 of file FieldLoc.h.

References Dim, and FieldLoc< Dim >::loc.

Referenced by IndexedBareFieldIterator< T, D >::SetCurrentLocation().

template<unsigned Dim>
int FieldLoc< Dim >::getIndex ( ) const
inline

Definition at line 61 of file FieldLoc.h.

References FieldLoc< Dim >::LFIndex.

Referenced by BareFieldIterator< T, D >::SetCurrentLocation().

template<unsigned Dim>
FieldLoc<Dim>& FieldLoc< Dim >::operator= ( const FieldLoc< Dim > &  fl)
inline

Definition at line 47 of file FieldLoc.h.

References FieldLoc< Dim >::LFIndex, and FieldLoc< Dim >::loc.

template<unsigned Dim>
int& FieldLoc< Dim >::operator[] ( int  n)
inline

Definition at line 56 of file FieldLoc.h.

References FieldLoc< Dim >::loc, and Hypervolume::n.

template<unsigned Dim>
int FieldLoc< Dim >::operator[] ( int  n) const
inline

Definition at line 57 of file FieldLoc.h.

References FieldLoc< Dim >::loc, and Hypervolume::n.

template<unsigned Dim>
void FieldLoc< Dim >::setIndex ( int  newval)
inline

Definition at line 64 of file FieldLoc.h.

References FieldLoc< Dim >::LFIndex.

Referenced by BareFieldIterator< T, D >::GetCurrentLocation().

Member Data Documentation

template<unsigned Dim>
int FieldLoc< Dim >::LFIndex
private
template<unsigned Dim>
vec<int,Dim> FieldLoc< Dim >::loc
private

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