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

plb::NextNeighbor< T > Struct Template Reference

#include <nextNeighbors3D.h>

List of all members.

Static Public Attributes

static const int numNeighbors = 26
static const int c [numNeighbors][3]
static const T d1 = (T)1.
static const T d2 = sqrt((T)2)
static const T d3 = sqrt((T)3)
static const T d [numNeighbors]
static const T id1 = (T)1
static const T id2 = (T)1/sqrt((T)2)
static const T id3 = (T)1/sqrt((T)3)
static const T invD [numNeighbors]

template<typename T>
struct plb::NextNeighbor< T >


Member Data Documentation

template<typename T>
const int plb::NextNeighbor< T >::c [inline, static]
Initial value:
{             { 0, 0, 1}, { 0, 0,-1},
  { 0, 1, 0}, { 0, 1, 1}, { 0, 1,-1},
  { 0,-1, 0}, { 0,-1, 1}, { 0,-1,-1},

  { 1, 0, 0}, { 1, 0, 1}, { 1, 0,-1},
  { 1, 1, 0}, { 1, 1, 1}, { 1, 1,-1},
  { 1,-1, 0}, { 1,-1, 1}, { 1,-1,-1},

  {-1, 0, 0}, {-1, 0, 1}, {-1, 0,-1},
  {-1, 1, 0}, {-1, 1, 1}, {-1, 1,-1},
  {-1,-1, 0}, {-1,-1, 1}, {-1,-1,-1}
}
template<typename T>
const T plb::NextNeighbor< T >::d [inline, static]
Initial value:
{     d1, d1,  d1, d2, d2,  d1, d2, d2,
  d1, d2, d2,  d2, d3, d3,  d2, d3, d3,
  d1, d2, d2,  d2, d3, d3,  d2, d3, d3 }
template<typename T>
const T plb::NextNeighbor< T >::d1 = (T)1. [inline, static]
template<typename T>
const T plb::NextNeighbor< T >::d2 = sqrt((T)2) [inline, static]
template<typename T>
const T plb::NextNeighbor< T >::d3 = sqrt((T)3) [inline, static]
template<typename T>
const T plb::NextNeighbor< T >::id1 = (T)1 [inline, static]
template<typename T>
const T plb::NextNeighbor< T >::id2 = (T)1/sqrt((T)2) [inline, static]
template<typename T>
const T plb::NextNeighbor< T >::id3 = (T)1/sqrt((T)3) [inline, static]
template<typename T>
const T plb::NextNeighbor< T >::invD [inline, static]
Initial value:
{      id1, id1,  id1, id2, id2,  id1, id2, id2,
  id1, id2, id2,  id2, id3, id3,  id2, id3, id3,
  id1, id2, id2,  id2, id3, id3,  id2, id3, id3 }
template<typename T>
const int plb::NextNeighbor< T >::numNeighbors = 26 [static]

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