Ignore:
Timestamp:
May 8, 2012, 2:54:17 PM (14 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
6f05224
Parents:
4e8206
Message:

Refactored vmg in order to separate the core library and the particle simulation part properly.

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

File:
1 moved

Legend:

Unmodified
Added
Removed
  • src/units/particle/interpolation.hpp

    r4e8206 rf003a9  
    1 #ifndef INTERPOLATE_POLYNOMIAL_HPP_
    2 #define INTERPOLATE_POLYNOMIAL_HPP_
     1#ifndef INTERPOLATION_HPP_
     2#define INTERPOLATION_HPP_
    33
    44#include <vector>
     
    1212class Grid;
    1313
    14 class InterpolatePolynomial
     14namespace Particle
     15{
     16
     17class Particle;
     18
     19class Interpolation
    1520{
    1621public:
    17   InterpolatePolynomial(const unsigned int& degree);
    18   ~InterpolatePolynomial();
     22  Interpolation(const unsigned int& degree);
     23  ~Interpolation();
    1924
    2025  void ComputeCoefficients(const Grid& grid, const Index& index);
     26  void Evaluate(Particle& p);
    2127
    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);
    2529
    2630private:
     
    4852}
    4953
    50 #endif /* INTERPOLATE_POLYNOMIAL_HPP_ */
     54}
     55
     56#endif /* INTERPOLATION_HPP_ */
Note: See TracChangeset for help on using the changeset viewer.