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_I("border", Border);
00042 GET_DATA_FUNC_B("matchsamples", MatchSamples);
00043
00044 protected:
00045 explicit GAS_MatchField(const SIM_DataFactory *factory);
00046 virtual ~GAS_MatchField();
00047
00048
00049 virtual bool solveGasSubclass(SIM_Engine &engine,
00050 SIM_Object *obj,
00051 SIM_Time time,
00052 SIM_Time timestep);
00053
00054 private:
00055 static const SIM_DopDescription *getDopDescription();
00056
00057 DECLARE_STANDARD_GETCASTTOTYPE();
00058 DECLARE_DATAFACTORY(GAS_MatchField,
00059 GAS_SubSolver,
00060 "Gas MatchField",
00061 getDopDescription());
00062 };
00063
00064 #endif