CTensor< T, C, RestD > Class Template Reference

#include <RectMDArray.H>

List of all members.


Detailed Description

template<class T, unsigned int C, unsigned char... RestD>
class CTensor< T, C, RestD >

Tensor object used to interface with data pointwise in a constant RectMDArray.

Version of Tensor used with const functions.

Public Member Functions

 CTensor (std::function< const T &(unsigned int, decltype(RestD)...)> &a_input)
 Constructor.
void operator= (std::function< const T &(unsigned int, decltype(RestD)...)> &a_input)
 Assignment operator. This is necessary for inheritance from std::function to work properly.


Constructor & Destructor Documentation

template<class T, unsigned int C, unsigned char... RestD>
CTensor< T, C, RestD >::CTensor ( std::function< const T &(unsigned int, decltype(RestD)...)> &  a_input  )  [inline]

Constructor.


Member Function Documentation

template<class T, unsigned int C, unsigned char... RestD>
void CTensor< T, C, RestD >::operator= ( std::function< const T &(unsigned int, decltype(RestD)...)> &  a_input  )  [inline]

Assignment operator. This is necessary for inheritance from std::function to work properly.


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

Generated on Fri Mar 11 12:53:44 2016 for AMRStencil by  doxygen 1.5.5