An error occurred while loading the file. Please try again.
-
berenger-bramas authored
Here it the new src dir with some minor changes in CMake files. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@61 2616d619-271b-44dc-8df4-d4a8f33a7222
berenger-bramas authoredHere it the new src dir with some minor changes in CMake files. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@61 2616d619-271b-44dc-8df4-d4a8f33a7222
FAbstractParticle.hpp 1.00 KiB
#ifndef FABSTRACTPARTICLE_HPP
#define FABSTRACTPARTICLE_HPP
// /!\ Please, you must read the license at the bottom of this page
/* forward declaration to avoid include */
class F3DPosition;
/**
* @author Berenger Bramas (berenger.bramas@inria.fr)
* @class FAbstractBody
* @brief
* Please read the license
*
* This class define the method that every particle class
* has to implement.
*
* In fact FOctree & FFmmAlgorithm need this function to be implemented.
* But you cannot use this interface with the extension (as an example :
* because the compiler will faill to know if getPosition is coming
* from this interface or from the extension)
*
*
* @warning Inherite from this class when implement a specific particle type
*/
class FAbstractParticle{
public:
/** Default destructor */
virtual ~FAbstractParticle(){
}
/**
* Must be implemented by each user Particle class
* @return the position of the current cell
*/
virtual F3DPosition getPosition() const = 0;
};
#endif //FABSTRACTPARTICLE_HPP
// [--LICENSE--]