HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GAS_ParticleNeighbourUpdate.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: GAS_ParticleNeighbourUpdate.h ( GAS Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __GAS_ParticleNeighbourUpdate__
12 #define __GAS_ParticleNeighbourUpdate__
13 
14 #include "GAS_API.h"
15 
16 #include "GAS_SubSolver.h"
17 #include "GAS_Utils.h"
18 
19 class SIM_RawField;
20 
22 {
23 public:
24  GET_DATA_FUNC_S("neighbourdataname", NeighbourName);
25  GET_DATA_FUNC_S(GAS_NAME_GEOMETRY, GeometryName);
26 
27 protected:
28  explicit GAS_ParticleNeighbourUpdate(const SIM_DataFactory *factory);
29  ~GAS_ParticleNeighbourUpdate() override;
30 
31  /// Rebuild the GU_NeighbourList of our particles.
32  bool solveGasSubclass(SIM_Engine &engine,
33  SIM_Object *obj,
34  SIM_Time time,
35  SIM_Time timestep) override;
36 
37 private:
38  static const SIM_DopDescription *getDopDescription();
39 
43  "Gas Particle Neighbour Update",
44  getDopDescription());
45 };
46 
47 #endif
48 
#define DECLARE_STANDARD_GETCASTTOTYPE()
Definition: SIM_DataUtils.h:50
#define GAS_NAME_GEOMETRY
Definition: GAS_Utils.h:30
GT_API const UT_StringHolder time
#define GAS_API
Definition: GAS_API.h:10
virtual bool solveGasSubclass(SIM_Engine &engine, SIM_Object *obj, SIM_Time time, SIM_Time timestep)=0
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
Definition: SIM_DataUtils.h:63
#define GET_DATA_FUNC_S(DataName, FuncName)