HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GAS_ParticleFluidDensityCL.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_ParticleFluidDensityCL.h ( GAS Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __GAS_ParticleFluidDensityCL
12 #define __GAS_ParticleFluidDensityCL
13 
14 #include "GAS_API.h"
15 
16 #include "GAS_SubSolver.h"
17 #include "GAS_Utils.h"
18 
19 
20 class GU_Detail;
21 
23 {
24 public:
26  GET_DATA_FUNC_F("kernelwidth", KernelWidth);
27  GET_DATA_FUNC_F("volumescale", VolumeScale);
28 
29 protected:
30  explicit GAS_ParticleFluidDensityCL(const SIM_DataFactory *factory);
31  ~GAS_ParticleFluidDensityCL() override;
32 
33  bool solveGasSubclass(SIM_Engine &engine,
34  SIM_Object *obj,
35  SIM_Time time,
36  SIM_Time timestep) override;
37 
38  bool solveGPU(SIM_Object *obj, float dt, float kvisc, float kvisccol, float tol, int maxiter);
39 
40 private:
41  static const SIM_DopDescription *getDopDescription();
42 
46  "Gas Particle Fluid Density CL",
47  getDopDescription());
48 };
49 
50 #endif
#define DECLARE_STANDARD_GETCASTTOTYPE()
Definition: SIM_DataUtils.h:50
GT_API const UT_StringHolder time
#define GAS_API
Definition: GAS_API.h:10
#define GETSET_DATA_FUNCS_S(DataName, FuncName)
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 SIM_NAME_GEOMETRY
Definition: SIM_Names.h:224
#define GET_DATA_FUNC_F(DataName, FuncName)