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

plb::indexTemplates Namespace Reference

Classes

class  SubIndex
class  SubIndexOutgoing
class  SubIndexIngoingCorner2D
 finds the indexes outgoing from a 2D corner More...
class  SubIndexOutgoingCorner2D
 finds the indexes outgoing from a 2D corner More...
class  SubIndexOutgoingInternalCorner2D
 finds the indexes outgoing from a 2D corner More...
class  SubIndexOutgoingExternalCorner3D
 finds the indexes outgoing from a 3D corner More...
class  SubIndexOutgoingExternalEdge3D
 finds the indexes outgoing from a 3D edge More...
class  SubIndexOutgoingInternalEdge3D
 finds the indexes outgoing from a 3D edge More...
class  SubIndexOutgoingInternalCorner3D
 finds the indexes outgoing from a 3D corner More...

Functions

template<typename Descriptor >
plint opposite (plint iPop)
 Compute the opposite of a given direction.
template<typename Descriptor >
std::vector< plintopposite (const std::vector< plint > &pops_)
 Compute the opposite of a given direction.
template<typename Descriptor >
plint findVelocity (Array< int, Descriptor::d > const &v)
template<typename Descriptor , int orientation>
plint specularReflexion (plint iPop)
 Compute the index corresponding to a specular reflexion.
template<typename Descriptor , plint index, plint value>
std::vector< plint > const & subIndex ()
template<typename Descriptor , int direction, int orientation>
std::vector< plint > const & subIndexOutgoing ()
template<typename Descriptor >
std::vector< plintremainingIndexes (const std::vector< plint > &indices)
 finds all the remaining indexes of a lattice given some other indexes
template<typename Descriptor , int xNormal, int yNormal>
std::vector< plint > const & subIndexIngoingCorner2D ()
template<typename Descriptor , int xNormal, int yNormal>
std::vector< plint > const & subIndexOutgoingCorner2D ()
template<typename Descriptor , int xNormal, int yNormal>
std::vector< plint > const & subIndexOutgoingInternalCorner2D ()
template<typename Descriptor , int xNormal, int yNormal, int zNormal>
std::vector< plint > const & subIndexOutgoingExternalCorner3D ()
template<typename Descriptor , int plane, int normal1, int normal2>
std::vector< plint > const & subIndexOutgoingExternalEdge3D ()
template<typename Descriptor , int plane, int normal1, int normal2>
std::vector< plint > const & subIndexOutgoingInternalEdge3D ()
template<typename Descriptor , int xNormal, int yNormal, int zNormal>
std::vector< plint > const & subIndexOutgoingInternalCorner3D ()

Function Documentation

template<typename Descriptor >
plint plb::indexTemplates::findVelocity ( Array< int, Descriptor::d > const &  v  )  [inline]
template<typename Descriptor >
std::vector<plint> plb::indexTemplates::opposite ( const std::vector< plint > &  pops_  )  [inline]

Compute the opposite of a given direction.

template<typename Descriptor >
plint plb::indexTemplates::opposite ( plint  iPop  )  [inline]

Compute the opposite of a given direction.

template<typename Descriptor >
std::vector<plint> plb::indexTemplates::remainingIndexes ( const std::vector< plint > &  indices  )  [inline]

finds all the remaining indexes of a lattice given some other indexes

template<typename Descriptor , int orientation>
plint plb::indexTemplates::specularReflexion ( plint  iPop  )  [inline]

Compute the index corresponding to a specular reflexion.

template<typename Descriptor , plint index, plint value>
std::vector<plint> const& plb::indexTemplates::subIndex (  )  [inline]
template<typename Descriptor , int xNormal, int yNormal>
std::vector<plint> const& plb::indexTemplates::subIndexIngoingCorner2D (  )  [inline]
template<typename Descriptor , int direction, int orientation>
std::vector<plint> const& plb::indexTemplates::subIndexOutgoing (  )  [inline]
template<typename Descriptor , int xNormal, int yNormal>
std::vector<plint> const& plb::indexTemplates::subIndexOutgoingCorner2D (  )  [inline]
template<typename Descriptor , int xNormal, int yNormal, int zNormal>
std::vector<plint> const& plb::indexTemplates::subIndexOutgoingExternalCorner3D (  )  [inline]
template<typename Descriptor , int plane, int normal1, int normal2>
std::vector<plint> const& plb::indexTemplates::subIndexOutgoingExternalEdge3D (  )  [inline]
template<typename Descriptor , int xNormal, int yNormal>
std::vector<plint> const& plb::indexTemplates::subIndexOutgoingInternalCorner2D (  )  [inline]
template<typename Descriptor , int xNormal, int yNormal, int zNormal>
std::vector<plint> const& plb::indexTemplates::subIndexOutgoingInternalCorner3D (  )  [inline]
template<typename Descriptor , int plane, int normal1, int normal2>
std::vector<plint> const& plb::indexTemplates::subIndexOutgoingInternalEdge3D (  )  [inline]