00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef __GRIDER_ENVIRONMENT_KEYS
00023 #define __GRIDER_ENVIRONMENT_KEYS
00024
00025 #include "Keys.h"
00026 #include "GrinderTokens.h"
00027
00028
00029
00030 const KeyPair EnvKey(GKeyType("ENV"),Key(EnvT,Key::SCOPE));
00031
00032
00033
00034 const KeyPair TexCKey(GKeyType(TexCTBase),Key(TexCTBase, Key::SCOPE));
00035
00036
00037 const KeyPair TexCKeys[] =
00038 {
00039 KeyPair(GKeyType(TexCT[0]), Key(TexCT[0], Key::VARIABLE)),
00040 KeyPair(GKeyType(TexCT[1]), Key(TexCT[1], Key::VARIABLE)),
00041 KeyPair(GKeyType(TexCT[2]), Key(TexCT[2], Key::VARIABLE)),
00042 KeyPair(GKeyType(TexCT[3]), Key(TexCT[3], Key::VARIABLE)),
00043 KeyPair(GKeyType(TexCT[4]), Key(TexCT[4], Key::VARIABLE)),
00044 KeyPair(GKeyType(TexCT[5]), Key(TexCT[5], Key::VARIABLE)),
00045 KeyPair(GKeyType(TexCT[6]), Key(TexCT[6], Key::VARIABLE)),
00046 KeyPair(GKeyType(TexCT[7]), Key(TexCT[7], Key::VARIABLE)),
00047 KeyPair(GKeyType(TexCT[8]), Key(TexCT[8], Key::VARIABLE)),
00048 KeyPair(GKeyType(TexCT[9]), Key(TexCT[9], Key::VARIABLE)),
00049 KeyPair(GKeyType(TexCT[10]),Key(TexCT[10],Key::VARIABLE)),
00050 KeyPair(GKeyType(TexCT[11]),Key(TexCT[11],Key::VARIABLE)),
00051 KeyPair(GKeyType(TexCT[12]),Key(TexCT[12],Key::VARIABLE)),
00052 KeyPair(GKeyType(TexCT[13]),Key(TexCT[13],Key::VARIABLE)),
00053 KeyPair(GKeyType(TexCT[14]),Key(TexCT[14],Key::VARIABLE)),
00054 };
00055
00056
00057
00058 const KeyPair DataValKey(GKeyType(DataValTBase),Key(DataValTBase, Key::SCOPE));
00059
00060
00061 const KeyPair DataValVarKeys[] =
00062 {
00063 KeyPair(GKeyType(DataValT[0]), Key(DataValT[0], Key::VARIABLE)),
00064 KeyPair(GKeyType(DataValT[1]), Key(DataValT[1], Key::VARIABLE)),
00065 KeyPair(GKeyType(DataValT[2]), Key(DataValT[2], Key::VARIABLE)),
00066 KeyPair(GKeyType(DataValT[3]), Key(DataValT[3], Key::VARIABLE)),
00067 KeyPair(GKeyType(DataValT[4]), Key(DataValT[4], Key::VARIABLE)),
00068 KeyPair(GKeyType(DataValT[5]), Key(DataValT[5], Key::VARIABLE)),
00069 KeyPair(GKeyType(DataValT[6]), Key(DataValT[6], Key::VARIABLE)),
00070 KeyPair(GKeyType(DataValT[7]), Key(DataValT[7], Key::VARIABLE)),
00071 KeyPair(GKeyType(DataValT[8]), Key(DataValT[8], Key::VARIABLE)),
00072 KeyPair(GKeyType(DataValT[9]), Key(DataValT[9], Key::VARIABLE)),
00073 KeyPair(GKeyType(DataValT[10]),Key(DataValT[10],Key::VARIABLE)),
00074 KeyPair(GKeyType(DataValT[11]),Key(DataValT[11],Key::VARIABLE)),
00075 KeyPair(GKeyType(DataValT[12]),Key(DataValT[12],Key::VARIABLE)),
00076 KeyPair(GKeyType(DataValT[13]),Key(DataValT[13],Key::VARIABLE)),
00077 KeyPair(GKeyType(DataValT[14]),Key(DataValT[14],Key::VARIABLE)),
00078 };
00079
00080
00081 const KeyPair DataGradVarKey(GKeyType("DATA_GRAD"), Key("$grad", Key::VARIABLE));
00082
00083
00084
00085 const KeyPair PConstKey(GKeyType("P_CONST"), Key("constants", Key::SCOPE));
00086
00087
00088 #endif
00089
00090