Changeset f003a9 for src/units/particle/interpolation.hpp
- Timestamp:
- May 8, 2012, 2:54:17 PM (14 years ago)
- Children:
- 6f05224
- Parents:
- 4e8206
- File:
-
- 1 moved
-
src/units/particle/interpolation.hpp (moved) (moved from src/base/interpolate_polynomial.hpp ) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/units/particle/interpolation.hpp
r4e8206 rf003a9 1 #ifndef INTERPOLAT E_POLYNOMIAL_HPP_2 #define INTERPOLAT E_POLYNOMIAL_HPP_1 #ifndef INTERPOLATION_HPP_ 2 #define INTERPOLATION_HPP_ 3 3 4 4 #include <vector> … … 12 12 class Grid; 13 13 14 class InterpolatePolynomial 14 namespace Particle 15 { 16 17 class Particle; 18 19 class Interpolation 15 20 { 16 21 public: 17 Interpolat ePolynomial(const unsigned int& degree);18 ~Interpolat ePolynomial();22 Interpolation(const unsigned int& degree); 23 ~Interpolation(); 19 24 20 25 void ComputeCoefficients(const Grid& grid, const Index& index); 26 void Evaluate(Particle& p); 21 27 22 vmg_float Evaluate(const Vector& pos); 23 void Evaluate(const Vector& pos, vmg_float& pot, Vector& field); 24 Vector EvaluateNegGradient(const Vector& pos); 28 vmg_float EvaluatePotentialLR(const Particle& p); 25 29 26 30 private: … … 48 52 } 49 53 50 #endif /* INTERPOLATE_POLYNOMIAL_HPP_ */ 54 } 55 56 #endif /* INTERPOLATION_HPP_ */
Note:
See TracChangeset
for help on using the changeset viewer.
