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

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

General first-order functions. More...

#include <offEquilibriumAdvectionDiffusionTemplates.h>

List of all members.

Static Public Member Functions

static T fromJtoFneq (plint iPop, Array< T, Descriptor< T >::d > const &jNeq)
 Compute off-equilibrium part of the f's from the current j.

Detailed Description

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

General first-order functions.


Member Function Documentation

template<typename T , template< typename U > class Descriptor>
static T plb::offEquilibriumAdvectionDiffusionTemplates< T, Descriptor >::fromJtoFneq ( plint  iPop,
Array< T, Descriptor< T >::d > const &  jNeq 
) [inline, static]

Compute off-equilibrium part of the f's from the current j.

Implements the following formula (with Einstein index contraction): /f[ f_i^{neq} = t_i / (c_s^4) * (c_{ia} j_a /f] By Pi we mean the tensor computed from the off-equilibrium functions: /f[ j_a = c_{ia} f_i^{neq} = c_{ia} f_i - u_a Id /f] where u_a is an external vectorial field (the velocity for example)


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