Changeset 4571da for src/samples/bspline.hpp
- Timestamp:
- Apr 27, 2012, 11:34:57 PM (14 years ago)
- Children:
- 1a92cf
- Parents:
- b2154a3
- File:
-
- 1 edited
-
src/samples/bspline.hpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/samples/bspline.hpp
rb2154a3 r4571da 26 26 BSpline(const vmg_float& width); 27 27 28 vmg_float EvaluateSpline(const vmg_float& val) 28 vmg_float EvaluateSpline(const vmg_float& val) const 29 29 { 30 30 for (unsigned int i=0; i<intervals.size(); ++i) … … 34 34 } 35 35 36 void SetSpline(Grid& grid, const Particle::Particle p, const int& near_field_cells) 36 void SetSpline(Grid& grid, const Particle::Particle p, const int& near_field_cells) const 37 37 { 38 38 assert(p.Pos().X() >= grid.Extent().Begin().X() && p.Pos().X() < grid.Extent().End().X()); … … 83 83 } 84 84 85 vmg_float EvaluatePotential(const vmg_float& val) 85 vmg_float EvaluatePotential(const vmg_float& val) const 86 86 { 87 87 for (unsigned int i=0; i<intervals.size(); ++i)
Note:
See TracChangeset
for help on using the changeset viewer.
