FBasicKernels.hpp 2.2 KB
Newer Older
1
// ===================================================================================
2 3 4 5 6 7 8 9
// Logiciel initial: ScalFmm Version 0.5
// Co-auteurs : Olivier Coulaud, Bérenger Bramas.
// Propriétaires : INRIA.
// Copyright © 2011-2012, diffusé sous les termes et conditions d’une licence propriétaire.
// Initial software: ScalFmm Version 0.5
// Co-authors: Olivier Coulaud, Bérenger Bramas.
// Owners: INRIA.
// Copyright © 2011-2012, spread under the terms and conditions of a proprietary license.
10
// ===================================================================================
11 12
#ifndef FBASICKERNELS_HPP
#define FBASICKERNELS_HPP
13

14 15 16

#include "FAbstractKernels.hpp"

17
#include "../Utils/FGlobal.hpp"
18 19 20 21 22 23 24 25 26 27 28
#include "../Utils/FTrace.hpp"

/**
* @author Berenger Bramas (berenger.bramas@inria.fr)
* @class AbstractKernels
* @brief
* Please read the license
*
* This kernels simply shows the details of the information
* it receives (in debug)
*/
berenger-bramas's avatar
berenger-bramas committed
29
template< class ParticleClass, class CellClass, class ContainerClass>
30
class FBasicKernels : public FAbstractKernels<ParticleClass,CellClass,ContainerClass> {
31 32 33 34 35
public:
    /** Default destructor */
    virtual ~FBasicKernels(){
    }

berenger-bramas's avatar
berenger-bramas committed
36
    /** Do nothing */
berenger-bramas's avatar
berenger-bramas committed
37
    virtual void P2M(CellClass* const , const ContainerClass* const ) {
38

39 40
    }

berenger-bramas's avatar
berenger-bramas committed
41
    /** Do nothing */
42
    virtual void M2M(CellClass* const FRestrict , const CellClass*const FRestrict *const FRestrict , const int ) {
43

44 45
    }

berenger-bramas's avatar
berenger-bramas committed
46
    /** Do nothing */
47
    virtual void M2L(CellClass* const FRestrict , const CellClass* [], const int , const int ) {
48

49 50
    }

berenger-bramas's avatar
berenger-bramas committed
51
    /** Do nothing */
52
    virtual void L2L(const CellClass* const FRestrict , CellClass* FRestrict *const FRestrict  , const int ) {
53

54 55
    }

berenger-bramas's avatar
berenger-bramas committed
56
    /** Do nothing */
berenger-bramas's avatar
berenger-bramas committed
57
    virtual void L2P(const CellClass* const , ContainerClass* const ){
58

59 60
    }

berenger-bramas's avatar
berenger-bramas committed
61
    /** Do nothing */
berenger-bramas's avatar
berenger-bramas committed
62 63 64
    virtual void P2P(const FTreeCoordinate& ,
                     ContainerClass* const FRestrict ,
                     ContainerClass* const [27], const int ) {
65

66
    }
67

berenger-bramas's avatar
berenger-bramas committed
68
    /** Do nothing */
berenger-bramas's avatar
berenger-bramas committed
69
    virtual void P2P(const FTreeCoordinate& ,
berenger-bramas's avatar
berenger-bramas committed
70
                     ContainerClass* const FRestrict , const ContainerClass* const FRestrict ,
berenger-bramas's avatar
berenger-bramas committed
71
                     ContainerClass* const [27], const int ){
72

73
    }
74

75 76 77 78 79
};


#endif //FBASICKERNELS_HPP

80