libMesh
Public Member Functions | Private Attributes | List of all members
libMesh::ConstTypeTensorColumn< T > Class Template Reference

#include <type_tensor.h>

Public Member Functions

 ConstTypeTensorColumn (const TypeTensor< T > &tensor, unsigned int j)
 
const T & operator() (const unsigned int i) const
 Return the $ i,this $ element of the tensor. More...
 
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 36 of file type_tensor.h.

Constructor & Destructor Documentation

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

Definition at line 461 of file type_tensor.h.

462  :
463  _tensor(&tensor), _j(j) {}
const TypeTensor< T > * _tensor
Definition: type_tensor.h:475

Member Function Documentation

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

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

Definition at line 468 of file type_tensor.h.

469  { return (*_tensor)(i,_j); }
const TypeTensor< T > * _tensor
Definition: type_tensor.h:475
template<typename T>
const T& libMesh::ConstTypeTensorColumn< T >::slice ( const unsigned int  i) const

Definition at line 471 of file type_tensor.h.

472  { return (*_tensor)(i,_j); }
const TypeTensor< T > * _tensor
Definition: type_tensor.h:475

Member Data Documentation

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

Definition at line 476 of file type_tensor.h.

template<typename T>
const TypeTensor<T>* libMesh::ConstTypeTensorColumn< T >::_tensor
private

Definition at line 475 of file type_tensor.h.


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