NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ operator()()

double cntr::smooth_box::operator() ( double  x)
inline

Definition at line 404 of file cntr_equilibrium_impl.hpp.

References B_, N_, and set_norm().

404  {
405  if (N_ == -1)
406  set_norm();
407  double arg1 = fermi<double>(nu_, x - B_);
408  double arg2 = fermi<double>(nu_, A_ - x);
409  return arg1 * arg2 / N_;
410  }
double N_
Smoothness parameter of the box
double B_
Lower border of the box
+ Here is the call graph for this function: