Aboria

PrevUpHomeNext

Function template eval

Aboria::eval

Synopsis

// In header: </home/travis/build/martinjrobins/Aboria/src/Symbolic.h>


template<typename Expr, typename AnyRef> 
  unspecified eval(Expr & expr, unspecified dx, const AnyRef & particle_a, 
                   unspecified particle_b);

Description

evaluate a given expression that depends on a single label $i$, for a single input particle expr the expression to evaluate dx dummy arguement not used particle_a dummy particle, not used particle_b the particle to be substituted for the label $i$

Returns:

the result of the expression after substituting in the particle values


PrevUpHomeNext