$extrastylesheet
#include <type_tensor.h>
Public Member Functions | |
| TypeTensorColumn (TypeTensor< T > &tensor, unsigned int j) | |
| T & | operator() (const unsigned int i) |
| T & | slice (const unsigned int i) |
| TypeTensorColumn< T > & | operator= (const TypeVector< T > &rhs) |
Private Attributes | |
| TypeTensor< T > * | _tensor |
| const unsigned int | _j |
Definition at line 363 of file type_tensor.h.
| libMesh::TypeTensorColumn< T >::TypeTensorColumn | ( | TypeTensor< T > & | tensor, |
| unsigned int | j | ||
| ) | [inline] |
Definition at line 367 of file type_tensor.h.
| T& libMesh::TypeTensorColumn< T >::operator() | ( | const unsigned int | i | ) | [inline] |
Return a writeable reference to the
element of the tensor.
Definition at line 375 of file type_tensor.h.
References libMesh::TypeTensorColumn< T >::_j, and libMesh::TypeTensorColumn< T >::_tensor.
| TypeTensorColumn<T>& libMesh::TypeTensorColumn< T >::operator= | ( | const TypeVector< T > & | rhs | ) | [inline] |
Assign values to this column of the tensor.
Definition at line 384 of file type_tensor.h.
{
for (unsigned int i=0; i != LIBMESH_DIM; ++i)
(*this)(i) = rhs(i);
return *this;
}
| T& libMesh::TypeTensorColumn< T >::slice | ( | const unsigned int | i | ) | [inline] |
Definition at line 378 of file type_tensor.h.
References libMesh::TypeTensorColumn< T >::_j, and libMesh::TypeTensorColumn< T >::_tensor.
const unsigned int libMesh::TypeTensorColumn< T >::_j [private] |
Definition at line 393 of file type_tensor.h.
Referenced by libMesh::TypeTensorColumn< T >::operator()(), and libMesh::TypeTensorColumn< T >::slice().
TypeTensor<T>* libMesh::TypeTensorColumn< T >::_tensor [private] |
Definition at line 392 of file type_tensor.h.
Referenced by libMesh::TypeTensorColumn< T >::operator()(), and libMesh::TypeTensorColumn< T >::slice().