00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __GAS_Extrapolate__
00020 #define __GAS_Extrapolate__
00021
00022 #include "GAS_API.h"
00023
00024 #include "GAS_SubSolver.h"
00025 #include "GAS_Utils.h"
00026
00027 class GAS_API GAS_Extrapolate : public GAS_SubSolver
00028 {
00029 public:
00030 GET_DATA_FUNC_S(GAS_NAME_SURFACE, SurfaceName);
00031 GET_DATA_FUNC_S(GAS_NAME_FIELD, FieldName);
00032
00033 GET_DATA_FUNC_F("startiso", StartIso);
00034 GET_DATA_FUNC_B("posdir", PositiveDir);
00035
00036 GET_DATA_FUNC_B("usemaxdist", UseMaxDist);
00037 GET_DATA_FUNC_F("maxdist", MaxDist);
00038 GET_DATA_FUNC_B("usemaxcells", UseMaxCells);
00039 GET_DATA_FUNC_F("maxcells", MaxCells);
00040 GET_DATA_FUNC_B("useclamping", UseClamping);
00041 GET_DATA_FUNC_F("clampvalue", ClampValue);
00042
00043 protected:
00044 explicit GAS_Extrapolate(const SIM_DataFactory *factory);
00045 virtual ~GAS_Extrapolate();
00046
00047
00048
00049
00050
00051 virtual bool solveGasSubclass(SIM_Engine &engine,
00052 SIM_Object *obj,
00053 SIM_Time time,
00054 SIM_Time timestep);
00055
00056 private:
00057 static const SIM_DopDescription *getDopDescription();
00058
00059 DECLARE_STANDARD_GETCASTTOTYPE();
00060 DECLARE_DATAFACTORY(GAS_Extrapolate,
00061 GAS_SubSolver,
00062 "Gas Extrapolate",
00063 getDopDescription());
00064 };
00065
00066 #endif
00067