00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __GAS_MatchField__
00020 #define __GAS_MatchField__
00021
00022 #include "GAS_API.h"
00023
00024 #include <UT/UT_ThreadedAlgorithm.h>
00025 #include <GU/GU_Detail.h>
00026
00027 #include "GAS_SubSolver.h"
00028 #include "GAS_Utils.h"
00029
00030 class GU_Detail;
00031 class SIM_VectorField;
00032 class SIM_IndexField;
00033
00034 class GAS_API GAS_MatchField : public GAS_SubSolver
00035 {
00036 public:
00037 GET_DATA_FUNC_S(GAS_NAME_FIELD, FieldName);
00038 GET_DATA_FUNC_S("reffield", RefFieldName);
00039
00040 GET_DATA_FUNC_I("rank", Rank);
00041 GET_DATA_FUNC_B("matchsamples", MatchSamples);
00042
00043 protected:
00044 explicit GAS_MatchField(const SIM_DataFactory *factory);
00045 virtual ~GAS_MatchField();
00046
00047
00048 virtual bool solveGasSubclass(SIM_Engine &engine,
00049 SIM_Object *obj,
00050 SIM_Time time,
00051 SIM_Time timestep);
00052
00053 private:
00054 static const SIM_DopDescription *getDopDescription();
00055
00056 DECLARE_STANDARD_GETCASTTOTYPE();
00057 DECLARE_DATAFACTORY(GAS_MatchField,
00058 GAS_SubSolver,
00059 "Gas MatchField",
00060 getDopDescription());
00061 };
00062
00063 #endif