HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GAS_AdvectCL-2.0.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_AdvectCL-2.0.h ( GAS Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __GAS_AdvectCL_2_0__
12 #define __GAS_AdvectCL_2_0__
13 
14 #include "GAS_SubSolver.h"
15 #include "GAS_Utils.h"
16 
18 {
19 public:
20  GET_DATA_FUNC_S(GAS_NAME_FIELDDEST, FieldDstName);
21  GET_DATA_FUNC_S(GAS_NAME_VELOCITY, VelocityName);
22  GET_DATA_FUNC_I("advectscheme", AdvectScheme);
23  GET_DATA_FUNC_I("clampvalues", ClampingMode);
24  GET_DATA_FUNC_F("blendwidth", Blendwidth);
25  GET_DATA_FUNC_I("tracemethod", TraceMethod);
26  GET_DATA_FUNC_B("usecfl", UseCFL);
27  GET_DATA_FUNC_F("cflcond", CFLCond);
28  GET_DATA_FUNC_I("maxbatchsize", MaxBatchSize);
31  GET_DATA_FUNC_V3("wind", Wind);
32 
33 protected:
34  bool solveGasSubclass(SIM_Engine& engine,
35  SIM_Object* obj,
36  SIM_Time time,
37  SIM_Time timestep) override;
38 
39  explicit GAS_AdvectCL2(const SIM_DataFactory* factory);
40  ~GAS_AdvectCL2() override;
41 
42 private:
43  static const SIM_DopDescription* getDopDescription();
44 
48  "Gas Advect CL",
49  getDopDescription());
50 };
51 
52 #endif
53 
#define DECLARE_STANDARD_GETCASTTOTYPE()
Definition: SIM_DataUtils.h:50
#define GET_DATA_FUNC_V3(DataName, FuncName)
GT_API const UT_StringHolder time
#define GAS_NAME_USETIMESTEP
Definition: GAS_Utils.h:39
#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 GAS_NAME_VELOCITY
Definition: GAS_Utils.h:42
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
Definition: SIM_DataUtils.h:63
#define GET_DATA_FUNC_I(DataName, FuncName)
GLhandleARB obj
Definition: glew.h:6266
#define GAS_NAME_FIELDDEST
Definition: GAS_Utils.h:28
#define GET_DATA_FUNC_B(DataName, FuncName)
#define GET_DATA_FUNC_F(DataName, FuncName)
#define GAS_NAME_TIMESCALE
Definition: GAS_Utils.h:40
#define GET_DATA_FUNC_S(DataName, FuncName)