NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ smooth_box() [2/2]

cntr::smooth_box::smooth_box ( double  a,
double  b,
double  nu 
)
inline

Definition at line 383 of file cntr_equilibrium_impl.hpp.

References B_, lo_, and N_.

383  {
384  A_ = a;
385  B_ = b;
386  nu_ = nu;
387  N_ = -1.0;
388  if (nu_ > 100 || nu_ <= 0.1 || A_ >= B_) {
389  std::cerr << "nu=" << nu_ << " in smooth_box " << std::endl;
390  exit(0);
391  }
392  lo_ = A_ - 20.0 / nu_;
393  hi_ = B_ + 20.0 / nu_;
394  }
double lo_
Internal value determining the higher edge of the Fourier transform region
double N_
Smoothness parameter of the box
double B_
Lower border of the box