libMesh::ConstTypeTensorColumn< T > Class Template Reference

#include <type_tensor.h>

List of all members.

Public Member Functions

 ConstTypeTensorColumn (const TypeTensor< T > &tensor, unsigned int j)
const T & operator() (const unsigned int i) const
const T & slice (const unsigned int i) const

Private Attributes

const TypeTensor< T > * _tensor
const unsigned int _j

Detailed Description

template<typename T>
class libMesh::ConstTypeTensorColumn< T >

Definition at line 393 of file type_tensor.h.


Constructor & Destructor Documentation

template<typename T>
libMesh::ConstTypeTensorColumn< T >::ConstTypeTensorColumn ( const TypeTensor< T > &  tensor,
unsigned int  j 
) [inline]

Definition at line 397 of file type_tensor.h.

00398                                         :
00399      _tensor(&tensor), _j(j) {}


Member Function Documentation

template<typename T>
const T& libMesh::ConstTypeTensorColumn< T >::operator() ( const unsigned int  i  )  const [inline]

Return the $ i,this $ element of the tensor.

Definition at line 404 of file type_tensor.h.

References libMesh::ConstTypeTensorColumn< T >::_j, and libMesh::ConstTypeTensorColumn< T >::_tensor.

00405     { return (*_tensor)(i,_j); }

template<typename T>
const T& libMesh::ConstTypeTensorColumn< T >::slice ( const unsigned int  i  )  const [inline]

Definition at line 407 of file type_tensor.h.

References libMesh::ConstTypeTensorColumn< T >::_j, and libMesh::ConstTypeTensorColumn< T >::_tensor.

00408     { return (*_tensor)(i,_j); }


Member Data Documentation

template<typename T>
const unsigned int libMesh::ConstTypeTensorColumn< T >::_j [private]

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

Site Created By: libMesh Developers
Last modified: February 05 2013 19:55:42 UTC

Hosted By:
SourceForge.net Logo