Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ot::NodeAndValues< T, ARR_LEN > Class Template Reference

A small helper class that pairs an octant with some values. The class is templated on the length and type of the array. This class has an MPI_Datatype associated with it and it can be communicated between processors. More...

#include <nodeAndValues.h>

List of all members.

Public Member Functions

Overload operators
bool Equals (NodeAndValues< T, ARR_LEN > const &other) const
bool operator!= (NodeAndValues< T, ARR_LEN > const &other) const
bool operator< (NodeAndValues< T, ARR_LEN > const &other) const
bool operator<= (NodeAndValues< T, ARR_LEN > const &other) const
NodeAndValues< T, ARR_LEN > & operator= (NodeAndValues< T, ARR_LEN > const &other)
bool operator== (NodeAndValues< T, ARR_LEN > const &other) const
bool operator> (NodeAndValues< T, ARR_LEN > const &other) const
bool operator>= (NodeAndValues< T, ARR_LEN > const &other) const
Constructors
 NodeAndValues (const NodeAndValues< T, ARR_LEN > &other)
 NodeAndValues ()

Public Attributes

ot::TreeNode node
values [ARR_LEN]


Detailed Description

template<typename T, unsigned int ARR_LEN>
class ot::NodeAndValues< T, ARR_LEN >

A small helper class that pairs an octant with some values. The class is templated on the length and type of the array. This class has an MPI_Datatype associated with it and it can be communicated between processors.

Author:
Rahul Sampath

Definition at line 24 of file nodeAndValues.h.


Constructor & Destructor Documentation

template<typename T, unsigned int ARR_LEN>
ot::NodeAndValues< T, ARR_LEN >::NodeAndValues  )  [inline]
 

Definition at line 80 of file nodeAndValues.h.

template<typename T, unsigned int ARR_LEN>
ot::NodeAndValues< T, ARR_LEN >::NodeAndValues const NodeAndValues< T, ARR_LEN > &  other  )  [inline]
 

Definition at line 83 of file nodeAndValues.h.

References ot::NodeAndValues< T, ARR_LEN >::node, and ot::NodeAndValues< T, ARR_LEN >::values.


Member Function Documentation

template<typename T, unsigned int ARR_LEN>
bool ot::NodeAndValues< T, ARR_LEN >::Equals NodeAndValues< T, ARR_LEN > const &  other  )  const [inline]
 

Definition at line 32 of file nodeAndValues.h.

References ot::NodeAndValues< T, ARR_LEN >::node, and ot::NodeAndValues< T, ARR_LEN >::values.

Referenced by main().

template<typename T, unsigned int ARR_LEN>
bool ot::NodeAndValues< T, ARR_LEN >::operator!= NodeAndValues< T, ARR_LEN > const &  other  )  const [inline]
 

Definition at line 46 of file nodeAndValues.h.

References ot::NodeAndValues< T, ARR_LEN >::node.

template<typename T, unsigned int ARR_LEN>
bool ot::NodeAndValues< T, ARR_LEN >::operator< NodeAndValues< T, ARR_LEN > const &  other  )  const [inline]
 

Definition at line 50 of file nodeAndValues.h.

template<typename T, unsigned int ARR_LEN>
bool ot::NodeAndValues< T, ARR_LEN >::operator<= NodeAndValues< T, ARR_LEN > const &  other  )  const [inline]
 

Definition at line 54 of file nodeAndValues.h.

template<typename T, unsigned int ARR_LEN>
NodeAndValues<T, ARR_LEN>& ot::NodeAndValues< T, ARR_LEN >::operator= NodeAndValues< T, ARR_LEN > const &  other  )  [inline]
 

Definition at line 67 of file nodeAndValues.h.

References ot::NodeAndValues< T, ARR_LEN >::node, and ot::NodeAndValues< T, ARR_LEN >::values.

template<typename T, unsigned int ARR_LEN>
bool ot::NodeAndValues< T, ARR_LEN >::operator== NodeAndValues< T, ARR_LEN > const &  other  )  const [inline]
 

Definition at line 42 of file nodeAndValues.h.

References ot::NodeAndValues< T, ARR_LEN >::node.

template<typename T, unsigned int ARR_LEN>
bool ot::NodeAndValues< T, ARR_LEN >::operator> NodeAndValues< T, ARR_LEN > const &  other  )  const [inline]
 

Definition at line 58 of file nodeAndValues.h.

References ot::NodeAndValues< T, ARR_LEN >::node.

template<typename T, unsigned int ARR_LEN>
bool ot::NodeAndValues< T, ARR_LEN >::operator>= NodeAndValues< T, ARR_LEN > const &  other  )  const [inline]
 

Definition at line 62 of file nodeAndValues.h.

References ot::NodeAndValues< T, ARR_LEN >::node.


Member Data Documentation

template<typename T, unsigned int ARR_LEN>
ot::TreeNode ot::NodeAndValues< T, ARR_LEN >::node
 

The octant

Definition at line 27 of file nodeAndValues.h.

Referenced by ot::NodeAndValues< T, ARR_LEN >::Equals(), ot::interpolateData(), main(), ot::NodeAndValues< T, ARR_LEN >::NodeAndValues(), ot::NodeAndValues< T, ARR_LEN >::operator!=(), ot::NodeAndValues< T, ARR_LEN >::operator=(), ot::NodeAndValues< T, ARR_LEN >::operator==(), ot::NodeAndValues< T, ARR_LEN >::operator>(), ot::NodeAndValues< T, ARR_LEN >::operator>=(), and ot::regularGrid2Octree().

template<typename T, unsigned int ARR_LEN>
T ot::NodeAndValues< T, ARR_LEN >::values[ARR_LEN]
 

The values

Definition at line 28 of file nodeAndValues.h.

Referenced by ot::NodeAndValues< T, ARR_LEN >::Equals(), ot::interpolateData(), main(), ot::NodeAndValues< T, ARR_LEN >::NodeAndValues(), ot::NodeAndValues< T, ARR_LEN >::operator=(), and ot::regularGrid2Octree().


The documentation for this class was generated from the following file:
Generated on Tue Mar 24 16:14:24 2009 for DENDRO by  doxygen 1.3.9.1