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

fdStencils1D.h File Reference

#include "core/globalDefs.h"
Include dependency graph for fdStencils1D.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  plb
 

All OpenLB code is contained in this namespace.


namespace  plb::fd

Functions

template<typename T >
plb::fd::ctl_diff (T u_p1, T u_m1)
 Second-order central gradient (u_p1 = u(x+1)).
template<typename T >
plb::fd::fwd_diff (T u_0, T u_1, T u_2)
 Second-order forward gradient (u_1 = u(x+1)).
template<typename T >
plb::fd::bwd_diff (T u_0, T u_1, T u_2)
 Second-order backward gradient (u_1 = u(x-1)).
template<typename T >
plb::fd::o1_fwd_diff (T u_0, T u_1)
 First-order forward gradient (u_1 = u(x+1)).
template<typename T >
plb::fd::boundaryZeroGradient (T u_1, T u_2)
 Value at u_0 for which asymmetric gradient is zero (u_1 = u(x+1)).
template<typename T >
plb::fd::linearInterpolate (T u_0, T u_1, T pos)
 Linear interpolation (yields u0 at pos=0 and u1 at pos=1).