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

plb::SymmetricRankThreeTensor< 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 contractLastTwoIndexes (Array< T, n > const &tens, Array< T, d > &res)
 computes the contraction of the last two indexes of the tensor
static T contractIndexes (Array< T, n > const &A, Array< T, n > const &B)
 computes the contraction of the last two indexes of the tensor
static void multWithRankTwoSymTensor (Array< T, n > const &A, Array< T, SymmetricTensor< T, Descriptor >::n > const &B, Array< T, d > &x)

Static Public Attributes

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

Detailed Description

template<typename T, template< typename U > class Descriptor>
struct plb::SymmetricRankThreeTensor< 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::SymmetricRankThreeTensor< T, Descriptor >::contractIndexes ( Array< T, n > const &  A,
Array< T, n > const &  B 
) [inline, static]

computes the contraction of the last two indexes of the tensor

template<typename T, template< typename U > class Descriptor>
static void plb::SymmetricRankThreeTensor< T, Descriptor >::contractLastTwoIndexes ( Array< T, n > const &  tens,
Array< T, d > &  res 
) [inline, static]

computes the contraction of the last two indexes of the tensor

template<typename T, template< typename U > class Descriptor>
static void plb::SymmetricRankThreeTensor< T, Descriptor >::multWithRankTwoSymTensor ( Array< T, n > const &  A,
Array< T, SymmetricTensor< T, Descriptor >::n > const &  B,
Array< T, d > &  x 
) [inline, static]

Member Data Documentation

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

Number of dimensions for current lattice.

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

Number of elements (reduced by symmetry).


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