Ignore:
Timestamp:
May 11, 2012, 7:45:30 PM (14 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
2a5451
Parents:
952298
Message:

Improve serial performance.

git-svn-id: https://svn.version.fz-juelich.de/scafacos/trunk@1815 5161e1c8-67bf-11de-9fd5-51895aff932f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/units/particle/bspline.cpp

    r952298 r36d56c  
    4646using namespace VMG;
    4747
    48 Particle::BSpline::BSpline(const vmg_float& width) :
     48Particle::BSpline::BSpline(const int& near_field_cells, const vmg_float& h) :
    4949  spline_nom((BSPLINE_DEGREE+1)/2),
    5050  spline_denom((BSPLINE_DEGREE+1)/2),
     
    5454  field_denom((BSPLINE_DEGREE+1)/2),
    5555  intervals((BSPLINE_DEGREE+1)/2),
    56   R(width)
     56  R(near_field_cells*h),
     57  near_field_cells(near_field_cells)
    5758{
    5859  for (unsigned int i=0; i<intervals.size(); ++i)
Note: See TracChangeset for help on using the changeset viewer.