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

plb::SymmetricRankFourTensorImpl< T, 3 > Struct Template Reference

#include <geometricOperationTemplates.h>

List of all members.

Public Types

enum  Indices {
  xxxx = 0, xxxy = 1, xxxz = 2, xxyy = 3,
  xxyz = 4, xxzz = 5, xyyy = 6, xyyz = 7,
  xyzz = 8, xzzz = 9, yyyy = 10, yyyz = 11,
  yyzz = 12, yzzz = 13, zzzz = 14
}

Static Public Member Functions

static T contractIndexes (Array< T, n > const &A, Array< T, n > const &B)
static void contractLastTwoIndexes (Array< T, n > const &tens, Array< T, 6 > &res)
 computes the contraction of the last two indexes of the tensor
static void multWithRankThreeSymTensor (Array< T, n > const &A, Array< T, SymmetricRankThreeTensorImpl< T, 3 >::n > const &B, Array< T, 3 > &x)

Static Public Attributes

static const int n = 15

template<typename T>
struct plb::SymmetricRankFourTensorImpl< T, 3 >


Member Enumeration Documentation

template<typename T >
enum plb::SymmetricRankFourTensorImpl< T, 3 >::Indices
Enumerator:
xxxx 
xxxy 
xxxz 
xxyy 
xxyz 
xxzz 
xyyy 
xyyz 
xyzz 
xzzz 
yyyy 
yyyz 
yyzz 
yzzz 
zzzz 

Member Function Documentation

template<typename T >
static T plb::SymmetricRankFourTensorImpl< T, 3 >::contractIndexes ( Array< T, n > const &  A,
Array< T, n > const &  B 
) [inline, static]
template<typename T >
static void plb::SymmetricRankFourTensorImpl< T, 3 >::contractLastTwoIndexes ( Array< T, n > const &  tens,
Array< T, 6 > &  res 
) [inline, static]

computes the contraction of the last two indexes of the tensor

template<typename T >
static void plb::SymmetricRankFourTensorImpl< T, 3 >::multWithRankThreeSymTensor ( Array< T, n > const &  A,
Array< T, SymmetricRankThreeTensorImpl< T, 3 >::n > const &  B,
Array< T, 3 > &  x 
) [inline, static]

Member Data Documentation

template<typename T >
const int plb::SymmetricRankFourTensorImpl< T, 3 >::n = 15 [static]

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