HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GAS_ParticleFluidForcesCL.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_ParticleFluidForcesCL.h ( GAS Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __GAS_ParticleFluidForcesCL
12 #define __GAS_ParticleFluidForcesCL
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  GET_DATA_FUNC_F("viscosity", Viscosity);
30  GET_DATA_FUNC_F("collisionviscosity", CollisionViscosity);
31  GET_DATA_FUNC_F("viscositysolver", ViscositySolver);
33  GET_DATA_FUNC_I("maxviscosityiterations", MaxViscosityIterations);
34 
35  GET_DATA_FUNC_F("surfacetension", SurfaceTension);
36  GET_DATA_FUNC_F("adhesion", Adhesion);
37 
40 
41 protected:
42  explicit GAS_ParticleFluidForcesCL(const SIM_DataFactory *factory);
43  ~GAS_ParticleFluidForcesCL() override;
44 
45  bool solveGasSubclass(SIM_Engine &engine,
46  SIM_Object *obj,
47  SIM_Time time,
48  SIM_Time timestep) override;
49 
50  bool solveStandardViscosity(SIM_Object *obj, float dt, float kvisc, float kvisccol, float tol, int maxiter);
51 
52 // bool solveImplicitViscosity(SIM_Object *obj, float dt, float kvisc, float kvisccol, float tol, int maxiter);
53 
54 private:
55  static const SIM_DopDescription *getDopDescription();
56 
60  "Gas Particle Fluid Forces CL",
61  getDopDescription());
62 };
63 
64 #endif
#define DECLARE_STANDARD_GETCASTTOTYPE()
Definition: SIM_DataUtils.h:50
#define SIM_NAME_TOLERANCE
Definition: SIM_Names.h:202
GT_API const UT_StringHolder time
#define GAS_NAME_USETIMESTEP
Definition: GAS_Utils.h:39
#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 GET_DATA_FUNC_I(DataName, FuncName)
#define SIM_NAME_GEOMETRY
Definition: SIM_Names.h:224
#define GET_DATA_FUNC_B(DataName, FuncName)
#define GET_DATA_FUNC_F(DataName, FuncName)
#define GAS_NAME_TIMESCALE
Definition: GAS_Utils.h:40