Free Electron
world/Gravity.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __world_Gravity_h__
8 #define __world_Gravity_h__
9 
10 #include "signal/signal.h"
11 #include "math/math.h"
12 #include "datatool/datatool.h"
13 #include "shape/shape.h"
14 #include "solve/solve.h"
15 namespace fe
16 {
17 namespace ext
18 {
19 /** Universal Gravity Force
20 
21  @copydoc Gravity_info
22  */
23 class FE_DL_EXPORT Gravity :
24  public Initialize<Gravity>,
25  virtual public HandlerI,
26  virtual public Config
27 {
28  public:
29  Gravity(void);
30 virtual ~Gravity(void);
31 
32  void initialize(void);
33 
34  // AS HandlerI
35 virtual void handle( Record &r_sig);
36 
37  private:
38  AsParticle m_asParticle;
39  AsSolverParticle m_asSolverParticle;
40  AsAccumulate m_asAccumulate;
41 };
42 
43 } /* namespace ext */
44 } /* namespace fe */
45 
46 #endif /* __world_Gravity_h__ */
47 
kernel
Definition: namespace.dox:3