$treeview $search $mathjax
Palabos  Version 1.1
$projectbrief
$projectbrief
$searchbox

plb::SymmetricTensor< T, Descriptor > Struct Template Reference

Operations on a symmetric tensor which stores only above-or-on-diagonal values. More...

#include <geometricOperationTemplates.h>

List of all members.

Static Public Member Functions

static void matVectMult (Array< T, n > const &mat, Array< T, d > const &vect, Array< T, d > &result)
static T tensorNormSqr (Array< T, n > const &mat)
static T contractIndexes (Array< T, n > const &A, Array< T, n > const &B)
static T trace (Array< T, n > const &A)
static Array< T, nid ()

Static Public Attributes

static const int d = Descriptor<T>::d
 Number of dimensions for current lattice.
static const int n = SymmetricTensorImpl<T,d>::n
 Number of elements (reduced by symmetry).

Detailed Description

template<typename T, template< typename U > class Descriptor>
struct plb::SymmetricTensor< T, Descriptor >

Operations on a symmetric tensor which stores only above-or-on-diagonal values.


Member Function Documentation

template<typename T , template< typename U > class Descriptor>
static T plb::SymmetricTensor< T, Descriptor >::contractIndexes ( Array< T, n > const &  A,
Array< T, n > const &  B 
) [inline, static]
template<typename T , template< typename U > class Descriptor>
static Array<T,n> plb::SymmetricTensor< T, Descriptor >::id (  )  [inline, static]
template<typename T , template< typename U > class Descriptor>
static void plb::SymmetricTensor< T, Descriptor >::matVectMult ( Array< T, n > const &  mat,
Array< T, d > const &  vect,
Array< T, d > &  result 
) [inline, static]
template<typename T , template< typename U > class Descriptor>
static T plb::SymmetricTensor< T, Descriptor >::tensorNormSqr ( Array< T, n > const &  mat  )  [inline, static]
template<typename T , template< typename U > class Descriptor>
static T plb::SymmetricTensor< T, Descriptor >::trace ( Array< T, n > const &  A  )  [inline, static]

Member Data Documentation

template<typename T , template< typename U > class Descriptor>
const int plb::SymmetricTensor< T, Descriptor >::d = Descriptor<T>::d [static]

Number of dimensions for current lattice.

template<typename T , template< typename U > class Descriptor>
const int plb::SymmetricTensor< T, Descriptor >::n = SymmetricTensorImpl<T,d>::n [static]

Number of elements (reduced by symmetry).


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