HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GAS_SynchronizeFields.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_SynchronizeFields.h ( GAS Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __GAS_SynchronizeFields__
12 #define __GAS_SynchronizeFields__
13 
14 #include "GAS_SubSolver.h"
15 #include "GAS_Utils.h"
16 
17 /// This DOP simply sets the centers and sizes of the supplied fields (scalar,
18 /// vector, or matrix) to match the reference field.
20 {
21 public:
22  GET_DATA_FUNC_S("reference", ReferenceField);
23  GET_DATA_FUNC_S("fields", Fields);
24 
25 protected:
26  explicit GAS_SynchronizeFields(const SIM_DataFactory* factory);
27  virtual ~GAS_SynchronizeFields();
28 
29  virtual bool solveGasSubclass(SIM_Engine& engine,
30  SIM_Object* obj,
31  SIM_Time time,
32  SIM_Time timestep);
33 
34 private:
35  static const SIM_DopDescription* getDopDescription();
36 
40  "Gas Synchronize Fields",
41  getDopDescription());
42 };
43 
44 #endif
45 
#define DECLARE_STANDARD_GETCASTTOTYPE()
Definition: SIM_DataUtils.h:45
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
GLhandleARB obj
Definition: glew.h:6236
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
Definition: SIM_DataUtils.h:58
#define GET_DATA_FUNC_S(DataName, FuncName)